cancel
Showing results for 
Search instead for 
Did you mean: 

abap proxy 2 soap

Former Member
0 Kudos

Hi,

this scenario is abap proxy 2 soap ,, , source system send some data to target webservice and target webservice return approval number.

I checked target url and soap action in receiver soap adapter, and those value is correct.

on sxmb_moni

i got NO_MAPPINGPROGRAM_FOUND

http://test.test.com/pt/ses001/approvalprocess SES001_IM does not exist in runtime cache</SAP:Stack>

and Applicatoin Error

<?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>

here is Sent message log on MDT.

-


2006-08-29 13:25:37 Error SOAP: response message contains an error Application/UNKNOWN/APPLICATION_ERROR - application fault

2006-08-29 13:25:37 Success SOAP: response message leaving the adapter

2006-08-29 13:25:37 Success Application attempting to send an XI message asynchronously using connection AFW.

2006-08-29 13:25:37 Success Trying to put the message into the send queue.

2006-08-29 13:25:37 Success The response message for message 44f23177-e6ed-0270-0000-000046028211(INBOUND) was successfully transmitted to the calling application.

2006-08-29 13:25:37 Success The message status set to DLVD.

2006-08-29 13:25:37 Success The application sent the message asynchronously using connection AFW. Returning to application.

here is Receive message log on MDT.

-


2006-08-29 13:25:37 Success The message was successfully received by the messaging system. Profile: XI URL: http://xi0034:50000/MessagingSystem/receive/AFW/XI

2006-08-29 13:25:37 Success Using connection AFW. Trying to put the message into the request queue.

2006-08-29 13:25:37 Success Message successfully put into the queue.

2006-08-29 13:25:37 Success The message was successfully retrieved from the request queue.

2006-08-29 13:25:37 Success The message status set to DLNG.

2006-08-29 13:25:37 Success Delivering to channel: R_TEST_SOAP_SSS001

2006-08-29 13:25:37 Success SOAP: request message entering the adapter

2006-08-29 13:25:37 Success SOAP: completed the processing

2006-08-29 13:25:37 Success SOAP: response message received 6bc3e4d0-3716-11db-a265-00145e483080

2006-08-29 13:25:37 Error SOAP: response message contains an error Application/UNKNOWN/APPLICATION_ERROR - application fault

i can see source data on sxmb_moni.

<?xml version="1.0" encoding="utf-8" ?>

- <nr1:APPROVALREQ_SES_MT xmlns:nr1="http://test.test.com/pt/ses001/approvalprocess">

<TITLE>46</TITLE>

<GUBUN />

<REQUESTOR>46</REQUESTOR>

<TEXTLINE>SAFSAFSAFDSAF</TEXTLINE>

</nr1:APPROVALREQ_SES_MT>

request message mapping of request

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

- <ns1:ApprovalRequest xmlns:ns1="http://70.2.207.241:8080/axis/ApprovalService.jws">

<args1>46</args1>

<args2>46</args2>

</ns1:ApprovalRequest>

I can not see any return value comming from target webservice on sxmb_moni.

request message mapping error on response

<?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>

payload of request message mapping of response

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

- <!-- Request Message Mapping

-->

<ns2:hostname xmlns:ns2="http://xml.apache.org/axis/">ibmr52</ns2:hostname>

please check what was my fault.

thanks

venjamin

Accepted Solutions (1)

Accepted Solutions (1)

bhavesh_kantilal
Active Contributor
0 Kudos

Venjamin,

You have configured the Response Message Mapping to deal with the actual response , but, what is being returned from the SOAP is a fault message and so, you are getting a NO MAPPING FOUND error.

Check the reason for the FAULT message from your Webservice. Find out from the webservice why a FAULT message is being returned.

Regards,

Bhavesh

Former Member
0 Kudos

Hi bhavesh!!

when i tested to run target webservice as GET directly, NOT via XI, this webservise is being returned a FAULT message, and they are saying no problem with this webservice because of testing directly.

How can i find this webservice having something wrong like FAULT message?

just tested http://webservicehost.test.com/axis/ApprovalService.jws?method=Approval&args1=99&args2=test

it returned right return value. like 9999-11, that is return approval value.

thanks

venjamin

bhavesh_kantilal
Active Contributor
0 Kudos

Venjamin,

This is what you can do,

1. Use the MDT to get the final SOAP message sent out from XI,

2. Check from your Webservice team if this is the SOAP message that they want and what will the processing for this SOAP message be.

I am quite sure it is not an issue from your configuration and it is jus that maybe the SOAP mesage expected by the webservice does not match with what XI is sending.

Use the MDT SOAP message with the webservice team and fins out why it is returning FAULT message.

Regards,

Bhavesh

Former Member
0 Kudos

Hi Bhavesh.

thanks for the note.,,

please look at the bottom of this content.

i can not see "Method=Approval" between jws and args1 even though i set SOAP Action = Approval on Receiver SOAP Adapter.

is this happening something wrong? or is it normal log?

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

<ns1:ApprovalRequest xmlns:ns1="http://70.2.207.241:8080/axis/ApprovalService.jws"><args1>333</args1><args2>333</args2></ns1:ApprovalRequest>

SAP_512dbe91-372d-11db-b291-00145e483080_END

here is detail message log on MDT.

-


--SAP_512dbe91-372d-11db-b291-00145e483080_END

Content-ID: <soap-512dbe90372d11db98fb00145e483080@sap.com>

Content-Disposition: attachment;filename="soap-512dbe90372d11db98fb00145e483080@sap.com.xml"

Content-Type: text/xml; charset=utf-8

Content-Description: SOAP

<SOAP:Envelope xmlns:SOAP='http://schemas.xmlsoap.org/soap/envelope/'><SOAP:Header>

<sap:Main xmlns:sap='http://sap.com/xi/XI/Message/30' versionMajor='3' versionMinor='0' SOAP:mustUnderstand='1' xmlns:wsu='http://www.docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd' wsu:Id='wsuid-main-92ABE13F5C59AB7FE10000000A1551F7'>

<sap:MessageClass>ApplicationMessage</sap:MessageClass>

<sap:ProcessingMode>synchronous</sap:ProcessingMode>

<sap:MessageId>44f23fa9-e6ed-0270-0000-000046028211</sap:MessageId>

<sap:TimeSent>2006-08-29T07:10:08Z</sap:TimeSent><sap:Sender><sap:Party agency='' scheme=''></sap:Party>

<sap:Service>BS_SAPR3_SSS0017</sap:Service></sap:Sender><sap:Receiver>

<sap:Party agency='' scheme=''></sap:Party><sap:Service>BS_MMM_D</sap:Service></sap:Receiver>

<sap:Interface namespace='http://sds.samsung.co.kr/pt/sessingle001/approvalprocess'>APPROVALREQ_MMM_IB</sap:Interface>

</sap:Main><sap:ReliableMessaging xmlns:sap='http://sap.com/xi/XI/Message/30' SOAP:mustUnderstand='1'>

<sap:QualityOfService>BestEffort</sap:QualityOfService></sap:ReliableMessaging>

<sap:Diagnostic xmlns:sap='http://sap.com/xi/XI/Message/30' SOAP:mustUnderstand='1'>

<sap:TraceLevel>Information</sap:TraceLevel><sap:Logging>Off</sap:Logging></sap:Diagnostic><sap:HopList xmlns:sap='http://sap.com/xi/XI/Message/30' SOAP:mustUnderstand='1'>

<sap:Hop timeStamp='2006-08-29T07:10:08Z' wasRead='false'><sap:Engine type='BS'>BS_SAPR3_SSS0017</sap:Engine>

<sap:Adapter namespace='http://sap.com/xi/XI/System'>XI</sap:Adapter><sap:MessageId>44f23fa9-e6ed-0270-0000-000046028211</sap:MessageId><sap:Info>3.0</sap:Info></sap:Hop>

<sap:Hop timeStamp='2006-08-29T07:09:06Z' wasRead='false'>

<sap:Engine type='IS'>is.00.xi0034</sap:Engine>

<sap:Adapter namespace='http://sap.com/xi/XI/System'>XI</sap:Adapter>

<sap:MessageId>44f23fa9-e6ed-0270-0000-000046028211</sap:MessageId><sap:Info>3.0</sap:Info></sap:Hop><sap:Hop timeStamp='2006-08-29T07:09:08Z' wasRead='false'>

<sap:Engine type='AE'>af.sxd.xi0034</sap:Engine><sap:Adapter namespace='http://sap.com/xi/XI/System'>XIRA</sap:Adapter>

<sap:MessageId>44f23fa9-e6ed-0270-0000-000046028211</sap:MessageId></sap:Hop></sap:HopList></SOAP:Header><SOAP:Body>

<sap:Manifest xmlns:sap='http://sap.com/xi/XI/Message/30' xmlns:xlink='http://www.w3.org/1999/xlink' xmlns:wsu='http://www.docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd' wsu:Id='wsuid-manifest-5CABE13F5C59AB7FE10000000A1551F7'/></SOAP:Body></SOAP:Envelope>

--SAP_512dbe91-372d-11db-b291-00145e483080_END

content-id: payload-44F23FAAE6ED02700000000046028211@sap.com

content-type: application/xml

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

<ns1:ApprovalRequest xmlns:ns1="http://70.2.207.241:8080/axis/ApprovalService.jws"><args1>333</args1><args2>333</args2></ns1:ApprovalRequest>

SAP_512dbe91-372d-11db-b291-00145e483080_END

thanks

venjamin

Message was edited by: venjamin

Answers (0)