Question

3
Replies
710
Views
Raghunatha_Incessant Member since 2012 7 posts
Incessant Technologies
Posted: December 8, 2016
Last activity: December 20, 2016
Closed

SOAP action header under http not under SOAP envelope

We created SOAP service and MW team is consuming our SOAP service.

When they trying to hit our service with skipSOAP action request parameter to false the below request parameter would be generated

POST http://rcolnx88831:7131/prweb/PRSOAPServlet/SOAP/ABCTAFTIPegaNATaskInfo/FTI-TA-FTIPegaPRO-Case-NewAccoun HTTP/1.1
Accept-Encoding: gzip,deflate
Content-Type: text/xml;charset=UTF-8
SOAPAction: "urn:PegaRULES:SOAP:ABCTAABCPegatNATaskInfo:ABC-TA-ABCPega-Case-Account#GetTaskInfo"
User-Agent: Jakarta Commons-HttpClient/3.1
Host: rcolnx88831:7131
Content-Length: 973

With the above request we are able to get response.

When skip SOAP Action parameter under SOAP is set to true then the request would be like below

POST http://rcolnx88831:7131/prweb/PRSOAPServlet/SOAP/ABCTAFTIPegaNATaskInfo/FTI-TA-FTIPegaPRO-Case-NewAccoun HTTP/1.1
Accept-Encoding: gzip,deflate
Content-Type: text/xml;charset=UTF-8
User-Agent: Jakarta Commons-HttpClient/3.1
Host: rcolnx88831:7131
Content-Length: 973

 

below error is returned

<SOAP-ENV:Envelope
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<SOAP-ENV:Body>
<SOAP-ENV:Fault>
<faultcode>SOAP-ENV:Server</faultcode><faultstring>SOAPAction HTTP header is missing</faultstring></SOAP-ENV:Fault>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>

***Updated by moderator: Lochan to add Categories***

Data Integration System Administration
Moderation Team has archived post
Share this page LinkedIn