cancel
Showing results for 
Search instead for 
Did you mean: 

Handling SOAP fault message

Former Member
0 Kudos

Hi,

My scenario is Client sync proxy to webservice.

I have done the mapping from zreuest ->Webservice Request and webservice Resp -> zresponse.

Now, when i am calling the webservice getting the following Error message on XI

*Inbound Message:*

<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>

- <!-- Inbound Message

-->

- <INVALID_INPUT>

<description>java.lang.NullPointerException</description>

</INVALID_INPUT>

*Error message*:

<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>

- <!-- Request Message Mapping

-->

- <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1">

<SAP:Category>Application</SAP:Category>

<SAP:Code area="UNKNOWN">APPLICATION_ERROR</SAP:Code>

<SAP:P1 />

<SAP:P2 />

<SAP:P3 />

<SAP:P4 />

<SAP:AdditionalText>application fault</SAP:AdditionalText>

<SAP:ApplicationFaultMessage namespace="">INVALID_INPUT</SAP:ApplicationFaultMessage>

<SAP:Stack />

<SAP:Retry>M</SAP:Retry>

</SAP:Error>

And on client proxy side, getting the error message as Mapping program not found.

Let me know how to handle this type of errors.

Regards,

Sreenivas.

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

1. Log on to the Integration Directory.

2. Use the navigation tree on the Objects tab or the query to get the interface determination used for the message

Open the interface determination (with a double-click) and check whether an interface mapping is defined

Kindly check this for detail troubleshooting

[http://help.sap.com/saphelp_nw04/helpdata/en/29/e0194120ddf223e10000000a155106/content.htm]

Former Member
0 Kudos

Hello,

Thanks for the reply...

The problem is...there is no mapping defined for fault messages. Mapping is only defined for request and response messge. But,when webservice is getting called, in responses XI is getting fault messages as inbound message because of that getting mapping program not found.

Regards,

Sreenivas.

Former Member
0 Kudos

Hello,

If webservice is down, what is expected when it is called from XI soap receiver adapter.

Regards,

Sreenivas.

Former Member
0 Kudos

Hi,

If webservice is down, XI will wait for some time to get the response. If there is no response then it will result in time out error.

Regards,

Prakash

Former Member
0 Kudos

Check also the values that u r passing to zreuest

prateek
Active Contributor
0 Kudos

There seems to be some problem with source structure for which proxy is generated. Could you try regenerating it? Or it could be some cache related issue which should disappera with sxi_cache refresh.

Regards,

Prateek

Former Member
0 Kudos

Hi Pratik,

i forgot to mention that currently webservice is down, still am getting error response as i mentioned.

When i tested the same using XMLSPY, getting pop up with 'Webservice has send empty response'.

And when i am calling client proxy method, am getting error as 'Mapping program not found'

<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>

- <!-- Request Message Mapping

-->

- <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1">

<SAP:Category>XIServer</SAP:Category>

<SAP:Code area="MAPPING">NO_MAPPINGPROGRAM_FOUND</SAP:Code>

<SAP:P1>Object ID 90CAAB770D493EA8B7C07DD83B595DE4 Software Component AE7169A03E4411DE88C0D0F38D770551</SAP:P1>

<SAP:P2 />

<SAP:P3 />

<SAP:P4 />

<SAP:AdditionalText />

<SAP:ApplicationFaultMessage namespace="" />

<SAP:Stack>Interface mapping Object ID 90CAAB770D493EA8B7C07DD83B595DE4 Software Component AE7169A03E4411DE88C0D0F38D770551 does not exist in runtime cache</SAP:Stack>

<SAP:Retry>N</SAP:Retry>

</SAP:Error>

Regards,

Sreenivas.

Former Member
0 Kudos

Hi,

Can any one help me out.

Regards,

Sreenivas.