cancel
Showing results for 
Search instead for 
Did you mean: 

RFC- XI -SOAP and response back to RFC

Former Member
0 Kudos

Hi,

I am doing RFC-XI-SOAP and get response back from SOAP to RFC.

if I am not check the "Do Not Use SOAP Envelop" then it gives error in SXMB_MONI says - NO SOAP envelop.

"No SOAP Envelope but 1 {}RESPONSES; HTTP 200 OK"

if I check thet check bos ""Do Not Use SOAP Envelop" then it gives no error in SXMB_MONI , but message is not giving response back from webservice in SXMB_MONI it shows only

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

<ns1:MYRFC.Response xmlns:ns1="urn:sap-com:document:sap:rfc:functions" />

gurus ...Pl. reply asap

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

I thing Response mapping you are Not mapped the parent structure.

Get the Response message In SXMB_MONI and check your response mapping.

Regards,

Prakasu

Edited by: prakasu on Aug 13, 2008 1:57 PM

Former Member
0 Kudos

I got the response msg structure from webservice and mapped some fields with RFC response parameter. what else can I do?

Former Member
0 Kudos

Hi,

In your RFC response Structure have 0-unbounded or 0-... then that time your need to map with constant.

Otherwise the response message do not create for RFC response.

If you check the Webservice Response messge in the IR also the Response structure do not create.

Go to SXMB_MONI.Select the WS response message.Right click view source.

Get the details and Select the Message Mapping .Select Test Tab.Put the response message.Execute

the test.

Regards,

Prakasu

Former Member
0 Kudos

in SXMB_MONI.Select the WS response message.Right click view source I am getting following

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

- <!-- Inbound Message

-->

- <RESPONSES>

<RESPONSE Status="Error" Description="** null" />

</RESPONSES>

and it is giving error in MM-testing.

Pl. suggest what to do .....

hemant_chahal
Contributor
0 Kudos

Hello

I think the error is in response message mapping. Please check again. what is your response message structure for RFC and Webservice.? Also check in the Trace in SXMB_MONI.

regards

hemant

Edited by: Manas on Aug 14, 2008 12:22 PM

Former Member
0 Kudos

Hi,

Have you created two message mappings?

1.> Request MM(to convert RFC structure to Web Service Request)

2.> Response MM(to convert Web service Response to RFC Response)

Then do check with that.

Regards,

Nutan

Former Member
0 Kudos

sure it is related to your Response MM ,

Pl. check with tcp gateway or XML spy and prepare the same structure for response.

regards,

Former Member
0 Kudos

hi, all

you are right the XML sp/tcpgateway response structure is different than what I used earlier,

now I build the same structure,but then also some problem occures it is giving only one element from structure in response.

it is giving

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

- <ns1:MYRFC.Response xmlns:ns1="urn:sap-com:document:sap:rfc:functions">

<STATUS>Success</STATUS>

</ns1:MYRFC.Response>

while actual inbound from WS is ...

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

- <!-- Inbound Message -->

- <ns0:testrequestResponse xmlns:ns0="conversion" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" Status="Success" DbgCmd_="testrequest" DbgTag_="REQUEST">

- <ns0:SAP_OUTPUT>

<ns0:E1 Value="3000194" />

<ns0:E2 Value="300"/>

<ns0:E3 Value="3"/>

</ns0:E4 Value="94">

</ns0:testrequestResponse>

Former Member
0 Kudos

Hi,

Check these

RFC -> XI -> WebService - A Complete Walkthrough (Part 1)

RFC -> XI -> WebService - A Complete Walkthrough (Part 2)

Regards

Seshagiri