The Response from webservice when converted from BLOB to Char string is :
Code:
<?xml version="1.0" encoding="utf-8"?>..<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<soap:Body>
<soap:Fault>
<faultcode>soap:Client</faultcode>
<faultstring>System.Web.Services.Protocols.SoapException: Server did not recognize the value of HTTP Header SOAPAction: ... at System.Web.Services.Protocols.Soap11ServerProtocolHelper.RouteRequest()
at System.Web.Services.Protocols.SoapServerProtocol.Initialize()
at System.Web.Services.Protocols.ServerProtocolFactory.Create(Type type, HttpContext context, HttpRequest request, HttpResponse response, Boolean& abortProcessing)</faultstring>
<detail />
</soap:Fault>
</soap:Body>
</soap:Envelope>
My question is why is it expecting a SOAPAction when i am requesting for a HTTP-POST request? Is this something related to the web server and not an issue with my code?
Are you aware of any public webservice where i can test my flow using HTTP-POST instead of soap message?
Posted: Sun May 04, 2008 11:23 am Post subject: SOAPAction
Master
Joined: 26 Oct 2004 Posts: 235
Not sure why you think the SOAPAction HTTP header is not needed... try using SOAPUI/tcpmon against that service and you will see the full input/output requirements including the HTTP Headers... _________________ IBM Certified - SOA Solution Designer & WebSphere Datapower SOA Appliances
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum