cancel
Showing results for 
Search instead for 
Did you mean: 

Question: Application error when using SOAP sender

Former Member
0 Kudos

Hi,

I got the following error when calling SOAP sender:

- <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="http://xml.apache.org/axis/">hostname</SAP:ApplicationFaultMessage>

<SAP:Stack />

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

</SAP:Error>

The return message is:

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

- <!-- Call Adapter

-->

<ns2:hostname xmlns:ns2="http://xml.apache.org/axis/">gdcn-admin</ns2:hostname>

From the runtime monitor, it shows:

SOAP: response message contains an error Application/UNKNOWN/APPLICATION_ERROR - application fault

Actually I maintained the host name in file hosts. And with XMLSpy, I can directly connect the Webservice successfully, but with XI, it stops me at this point. It seems the connection has been established, because if the WebService is stopped, I will get error HTTP 0 Null, If it's started, I get the above problem.

Could you please provide the hints.

Thanks a lot!

Best Regards

Yuedong

Accepted Solutions (1)

Accepted Solutions (1)

STALANKI
Active Contributor
0 Kudos

Guess some thing to do with SOAP headers.

Go through this blogs and it will surely help to correct ur errors.

/people/siva.maranani/blog/2005/09/03/invoke-webservices-using-sapxi

/people/siva.maranani/blog/2005/03/01/testing-xi-exposed-web-services

Former Member
0 Kudos

Hi,

I found the problem:

It's because of the wrong format of message. the message is created with a WSDL file generated by external development system, but it's not correctly explained by XI. I manually created the messge (request & response), then it worked.

Actually the error has nothing to do with hostname. it means the host returns application error (but unfortunately there is no detailed information).

Thanks a lot for your kindly help!

Best Regards

Yuedong

By the way, how can I reward the point?

Message was edited by: Yuedong Chen

Former Member
0 Kudos

Hello I am facing the same problem with the same error message being thrown...

SOAP: response message contains an error Application/UNKNOWN/APPLICATION_ERROR - application fault

When I fire the web service call (B1 Web service logon procedure) from XI (7.0), I can succesfully logon and am returned one session ID. The same call fails when I using XI mapping for req and response interfaces.

Not being able to solve the problem, I created one web service using the same calling interface and return an integer. Using the same kind of mapping the call succeeded.

Since you have talked about manually creating the interfaces, can you please provide some detailed info about what you did?

Thanks and regards,

Partha

Answers (2)

Answers (2)

STALANKI
Active Contributor
0 Kudos

worth looking at it..

/people/sap.user72/blog/2006/01/16/xi-propagation-of-meaningful-error-information-to-soap-client

Former Member
0 Kudos

Hi,

As of now i donot have a specific answer to your problem but i think you need to see your configuration again at adapter, and refer to the FAQ on SOAP adapter.

856597 in https://websmp206.sap-ag.de/notes

See if it helps you,

Aniban.