soapenv vs SOAP-ENV

troup1998

New Member
the web service we are trying to consume seems to only allow <soapenv and not what the Openedge 11.7 client creates <SOAP-ENV.

how can we resolve this?

Using SOAPUI we can successfully send the following:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:tem="http://tempuri.org/">
<soapenv:Header/>
<soapenv:Body>
<tem:GetCaseDetailsByUCNCaseNumber>
<tem:CaseNumber>482015TR033894000AOX</tem:CaseNumber>
<tem:SiteKey>SAttorn001</tem:SiteKey>
</tem:GetCaseDetailsByUCNCaseNumber>
</soapenv:Body>
</soapenv:Envelope>

Using Fiddler, we can see the SOAP envelope when we use the Openedge Client:
POST https://myeclerkeservicetest.myorangeclerk.com/EClerkService.svc/EClerkService/ HTTP/1.1
Accept: */*
TE: trailers
Host: myeclerkeservicetest.myorangeclerk.com
Cache-Control: no-cache
Connection: TE,Keep-Alive
Pragma: no-cache
SOAPAction: "http://tempuri.org/IEClerkService/GetCaseDetailsByUCNCaseNumber"
User-Agent: Progress 4GL Client
Content-Length: 522
Content-Type: text/xml; charset=UTF-8
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"><SOAP-ENV:Body xmlns:s0="http://tempuri.org/" xmlns:s1="XML Schema" xmlns:s2="http://schemas.microsoft.com/2003/10/Serialization/"><s0:GetCaseDetailsByUCNCaseNumber><CaseNumber>482015TR033894000AOX</CaseNumber><SiteKey>SAttorn001</SiteKey></s0:GetCaseDetailsByUCNCaseNumber></SOAP-ENV:Body></SOAP-ENV:Envelope>

Via Fiddler, we can see what the service returns:
--uuid:c83ff52c-34ca-4ef1-8ad0-3e7dd13842bb+id=15
Content-ID: <http://tempuri.org/0>
Content-Transfer-Encoding: 8bit
Content-Type: application/xop+xml;charset=utf-8;type="text/xml"
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/"><s:Body><s:Fault><faultcode xmlns:a="http://schemas.microsoft.com/net/2005/12/windowscommunicationfoundation/dispatcher">a:InternalServiceFault</faultcode><faultstring xml:lang="en-US">Object reference not set to an instance of an object.</faultstring><detail><ExceptionDetail xmlns="http://schemas.datacontract.org/2004/07/System.ServiceModel" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><HelpLink i:nil="true"/><InnerException i:nil="true"/><Message>Object reference not set to an instance of an object.</Message><StackTrace> at EClerkService.EClerkService.GetCaseDetailsByUCNCaseNumber(String UcnCaseNumber, String SiteKey) in C:\EClerkService\EClerkService\EClerkService.cs:line 104&#xD;
at SyncInvokeGetCaseDetailsByUCNCaseNumber(Object , Object[] , Object[] )&#xD;
at System.ServiceModel.Dispatcher.SyncMethodInvoker.Invoke(Object instance, Object[] inputs, Object[]&amp; outputs)&#xD;
at System.ServiceModel.Dispatcher.DispatchOperationRuntime.InvokeBegin(MessageRpc&amp; rpc)&#xD;
at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage5(MessageRpc&amp; rpc)&#xD;
at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage31(MessageRpc&amp; rpc)&#xD;
at System.ServiceModel.Dispatcher.MessageRpc.Process(Boolean isOperationContextSet)</StackTrace><Type>System.NullReferenceException</Type></ExceptionDetail></detail></s:Fault></s:Body></s:Envelope>
--uuid:c83ff52c-34ca-4ef1-8ad0-3e7dd13842bb+id=15--
 
Top