Web Service Adapter - unable to connect with https


​I have an ETL job where I send IDs extracted from source DB directly to the web service that is exposed by the target SOA application.

​I was able to test this successfully end to end using http version of the web service link.

​However we are required to add security and use https. When I connect to the web service using https link and provide web service credentials (credentials are correct), I am unable to successfully send info. I get the following error -

​"A TargetInvocationException was thrown by the web service.

Exception: System.NullReferenceException: Object reference not set to an instance of an object.

  at System.Web.Services.Protocols.SoapHeaderHandling.ReadHeaders(XmlReader reader, XmlSerializer serializer, SoapHeaderCollection headers, SoapHeaderMapping[] mappings, SoapHeaderDirection direction, String envelopeNS, String encodingStyle, Boolean checkRequiredHeaders)

  at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)

  at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)

  at receiveCaseIdsForOpaBatch.ReadCaseIds(BatchTriggerRecord[] BatchTrigerList)"

​Do you have any suggestions on what the root cause for this may be?

​I am connecting using "Web Service Credentials" and not the "Windows Authentication".

​I was able to connect successfully to the web service using soap UI with the credentials I pass from scribe, so it is not an issue on the web service or application end. This seems to be scribe related.

​I am fairly new to scribe, and this is my first time working with a web service, so any help in this case would be highly appreciated.