on 10-14-2011 10:56 AM
Hi,
The scenario is ECC-XI-SOAP(Asynchronous). We are getting the below mentioned error in SOAP reciver channel:
Message processing failed. Cause: com.sap.aii.af.ra.ms.api.RecoverableException: SOAP: response message contains an error XIAdapter/HTTP/ADAPTER.HTTP_EXCEPTION - HTTP 404 Not Found
Channel Configuration:
Target URL:
http://<hostname>:<port>/bpm/com/xyzprocess/SomeIntermediateEvent?wsdl=binding&mode=ws_policy
Tried with
http://<hostname>:<port>/bpm/com/xyzprocess/SomeIntermediateEvent as well
Conversion parameters:
Checked Do Not Use Soap Envelope
Appreciate any help in this regards.
Regards,
Vishal
Hi Vishal,
Did you tried with http://<hostname>:<port>/bpm/com/xyzprocess/SomeIntermediateEvent?wsdl=binding
Ws policy is not supported i belive.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
The WS that you're trying to call is a WebMethod (Microsoft)?
If yes, you need to put in Target Url parameter the WebService URL without WebMethod, and in SOAP Action parameter the MethodName
Otherwise, if not, try to call directly the WS with SoapUI or with your browser, and check if is reachable from your local system and from Sap PI system.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Confirmed from the WS team that they are recieving data when sent from SOAPUI. Could you please tell me if I need to use any modules?
The structure expected is
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xir="http://www.dummy.org/response/">
<soapenv:Header/>
<soapenv:Body>
<xir:responseInput>
<Id>007</Id>
<Flag>10</Flag>
</xir:responseInput>
</soapenv:Body>
</soapenv:Envelope>
Conversion parameters:
Checked "Do Not Use SOAP envelope"
When i dont check Do Not Use SOAP envelope I get invalid content type for SOAP: TEXT/HTML; HTTP 404 Not Found
Regards,
Vishal
Edited by: Vishal.P.Kulkarni on Oct 14, 2011 4:08 PM
Hello,
Not getting any response in SOAP UI should be the correct behavior since you are sending your request asynchronously.
Conversion parameters:
Checked "Do Not Use SOAP envelope"
Since this is checked, are you manually building the SOAP envelope using XSLT/Java Mapping? Can you compare the request you are sending to the one SOAP UI is sending?
Hope this helps,
Mark
Hi Mark,
are you manually building the SOAP envelope using XSLT/Java Mapping?
Yes. Taking care of SOAP envelope in Java mapping.
Can you compare the request you are sending to the one SOAP UI is sending?
Both are similar.
But still the same issue :
Message processing failed. Cause: com.sap.aii.af.ra.ms.api.RecoverableException: SOAP: response message contains an error XIAdapter/HTTP/ADAPTER.HTTP_EXCEPTION - HTTP 404 Not Found
Regards,
Vishal
Hello,
Whenever you execute a Webservice via SOAP UI, you can view the HTTP Header by clicking the Raw tab. Can you share with us the HTTP Headers for the Request?
It is probable that you are posting the incorrect content type for your request since checking the Do Not Use SOAP Envelope changes the content type from text/xml to application/xml. You can use the MessageTransformBean to correct the content type.
Regards,
Mark
Can you share with us the HTTP Headers for the Request?
POST http://server/sap/xi/engine?type=entry&version=3.0&Sender.Service=BusService&Interface=http://compan... HTTP/1.1
Accept-Encoding: gzip,deflate
Content-Type: text/xml;charset=UTF-8
SOAPAction: "http://sap.com/xi/WebService/soap1.1"
User-Agent: Jakarta Commons-HttpClient/3.1
Host: server
Content-Length: 560
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xir="http://www.dummy.org/response/">
<soapenv:Header/>
<soapenv:Body>
<xir:responseInput>
<Id>007</Id>
<Flag>10</Flag>
</xir:responseInput>
</soapenv:Body>
</soapenv:Envelope>
You can use the MessageTransformBean to correct the content type.
Thanks for the suggestion Mark.I am using MessageTransformBean but still the same issue.
Parameter Name:Transform.ContentType
Parameter Value:text/xml;charset=utf-8
Edited by: Vishal.P.Kulkarni on Oct 17, 2011 6:27 AM
Edited by: Vishal.P.Kulkarni on Oct 17, 2011 6:29 AM
Mentioned below is what I see in channel:
Message processing started
request entering
call completed
error in response
Message processing failed. Cause: com.sap.aii.af.ra.ms.api.RecoverableException: SOAP: response message contains an error XIAdapter/HTTP/ADAPTER.HTTP_EXCEPTION - HTTP 404 Not Found
Regards,
Vishal
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.