cancel
Showing results for 
Search instead for 
Did you mean: 

receiver soap error

Former Member
0 Kudos

Hi,

i have abap proxy 2 soap (sync). and i imported wsdl into IR, which created by target web server(tomcat).

here is target soap adapter info.

target url : http://58.232.198.104:8080/axis/ApprovalService.jws?wsdl

action : Approval

actually, you can access above url now. please check

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

<SAP:Stack />

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

</SAP:Error>

thanks

venjamin

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

The error says that there is something wrong in the message mapping.

Please test the mapping in the repository, by using the payload from sxmb_moni.

Regards,

Smitha.

Former Member
0 Kudos

Hi everybody,

The error message indicates only, that there is ANYthing wrong in the connection, I guess. In my case it was a wrong element in my outgoing message. I found out by setting all logging levels on J2EE to debug level and after that, the error messages got more detailed. Here is an example:


<?xml version="1.0" encoding="UTF-8" standalone="yes" ?> 
<!--  Eingangs-Message --> 
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<soapenv:Body>
<soapenv:Fault>
<faultcode>soapenv:Server.userException</faultcode> 
<faultstring>org.xml.sax.SAXException: Bad envelope tag: GetVnDurchRang</faultstring> 
<detail>
<ns1:hostname xmlns:ns1="http://xml.apache.org/axis/">xxxxxx</ns1:hostname> 
</detail>
</soapenv:Fault>
</soapenv:Body>
</soapenv:Envelope>

Answers (1)

Answers (1)

bhavesh_kantilal
Active Contributor
0 Kudos

Venjamin,

This is an eror because the Application / Web service is not able to process the request message.

Make sure that this request message you are sending to the applicaton is valid .

Regards

Bhavesh

Former Member
0 Kudos

Hi Bhavesh,,

long time no talk.

http://58.232.198.104:8080/axis/ApprovalService.jws?method=Approval&args1=1&args2=2

you can access above url.. directly access is ok.

what is wrong?

thanks

venjamin

bhavesh_kantilal
Active Contributor
0 Kudos

Venjamin,

Data looks good..!! Just make sure that the webservice can accept this data and has a response for this data.

Also, make sure SOAP action and SOAP url are correct in the SOAP adapter.

Regards,

Bhavesh

Former Member
0 Kudos

Hi,

i checked this web service can accept and response with this url http://58.232.198.104:8080/axis/ApprovalService.jws?method=Approval&args1=1&args2=2. response value was returned as well. but on sxmb_moni. i got error as above my first contents

on receiver soap adapter;

target url : http://58.232.198.104:8080/axis/ApprovalService.jws

Soap Action : Approval

mapping, i used message type from wsdl impoted into external definition for requets and response.

you can test above url.. little slow.... please check what was my fault

and also why appplication fault is saying hostname?

please help me. is there a special things i have to do for target webservice?

thanks

venjamin

Former Member
0 Kudos

Hi

we added some coding in ApprovalService, that insert data into MSSQL db,

i realized that xi did not call target webservice which is ApprovalService.jws,,

network environment has no proxy no blocking port.

please help me what was my missing

thanks

venjamin