cancel
Showing results for 
Search instead for 
Did you mean: 

XIAdapter/HTTP/ADAPTER.HTTP_EXCEPTION - HTTP 404 Not Found

Former Member
0 Kudos

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

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi Vishal,

Did you tried with http://<hostname>:<port>/bpm/com/xyzprocess/SomeIntermediateEvent?wsdl=binding

Ws policy is not supported i belive.

Former Member
0 Kudos

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.

Shabarish_Nair
Active Contributor
0 Kudos

if you didn't get the response via soapUI it could mean that the target URL is not correct.

Are you able to successfully open the URL from a browser?

you might want to confirm from the WS team on the correct URL.

Former Member
0 Kudos

I agree with Shabarish, if the url doesn't work, contact WS owner team and check endpoint Url that you're calling.

Former Member
0 Kudos

Hi Shabarish and spantaleoni,

Please confirm if the testing steps that I performed(my previous reply) are correct. And when i submitted request to specified endpoint URL I didnt get any error/response. It was just blank.

Regards,

Vishal

Former Member
0 Kudos

Yes, exactly.

In SoapUI, if there're errors in response, you can see at the right side Header tab the HTTP Exception (and response message is blank).

Former Member
0 Kudos

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

markangelo_dihiansan
Active Contributor
0 Kudos

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

Former Member
0 Kudos

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

markangelo_dihiansan
Active Contributor
0 Kudos

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

Former Member
0 Kudos

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

Former Member
0 Kudos

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

markangelo_dihiansan
Active Contributor
0 Kudos

Hello,

Is this correct?

<xir:responseInput>

<Id>007</Id>

<Flag>10</Flag>

</xir:responseInput>

What happens when you use this?


<xir:responseInput>
<xir:Id>007</xir:Id>
<xir:Flag>10</xir:Flag>
</xir:responseInput>

Regards,

Mark

Former Member
0 Kudos

Hi,

The first structure is correct. I am using the same structure to send the message from SOAPUI.

Regards,

Vishal

Former Member
0 Kudos

Any solution for the problem??

Regards,

Vishal

Former Member
0 Kudos

Hi Vishal,

have u received any response in this issue. I am getting similar error.

Please suggest.

Regards,

Sudeep

Shabarish_Nair
Active Contributor
0 Kudos

please test the WS independently using a tool like SOAP UI

Also in PI use this link to help you troubleshoot -

Former Member
0 Kudos

Thanks for the reply.I tested using SOAPUI, wherein I imported the WSDL(generated using inbound MI and propose URL), edited the URL with Target URL mentioned in the channel(which is available in WSDL). I did not get any response/error in SOAP UI.

Regards,

Vishal