cancel
Showing results for 
Search instead for 
Did you mean: 

Problem with Webservice-RFC Scenario

Former Member
0 Kudos

Hi Experts

I am trying to implement the SOAP-RFC Scenario. I have completed all the design and configuration settings. Then I generated the wsdl as well. Now I tested my scenario using the XML SPY. My soap request is

<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">

<SOAP-ENV:Body>

<m:MT_GMS_OpenOrderSearch_Req xmlns:m="http://abc.com/GMS/OpenOrderSearch">

<Customer_No>0000001</Customer_No>

<OpenOrders>

<Item>

<VBELN></VBELN>

<POSNR></POSNR>

<BSTKD></BSTKD>

<POSEX></POSEX>

<MATNR></MATNR>

<KDMAT></KDMAT>

<NETPR></NETPR>

<KWMENG></KWMENG>

<LFIMG></LFIMG>

<ERDAT></ERDAT>

<REQ_DATE></REQ_DATE>

<TARGET_DATE></TARGET_DATE>

<WAERK></WAERK>

<VRKME></VRKME>

</Item>

</OpenOrders>

</m:MT_GMS_OpenOrderSearch_Req>

</SOAP-ENV:Body>

</SOAP-ENV:Envelope>

I have made server request using the above as soap request message. I am able to see success message in SXMB_MONI but the response message is

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

<SOAP:Header/>

<SOAP:Body/>

</SOAP:Envelope>

Any one can tell what this response indicates? Is it means that the RFC returning null value?

Thanks

- Siva

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

Are you trying a Asynchornous SOAP Scenario. if yes ,This is an Empty SOAP response. This is equivalent to HTTP 200.

In any case if you have a synch scenario and your RFC does not return a response, you would get an exception.

It could be like function template is null;

Also check whether your mapping is correct.

Reward points if helpful

Regards

Abhishek

Former Member
0 Kudos

Thanks Abhishek.

It is Synch scenario. When i am executing RFC directly with same value it return the result. Mapping is correct.So any other suggestion?

Former Member
0 Kudos

Hi ,

There is a small test which you may conduct.

Put a Debugger ( possibily a External session ) breakpoint, in the RFC.

Send the SOAP request via, the XML Spy.

The debugger should open up.

Check whether the return paramter is filled, as check whether the correct values are comming in.

regards

Abhishek

Answers (2)

Answers (2)

rodrigoalejandro_pertierr
Active Contributor
0 Kudos

hi,

you are getting an empty response by XML-Spy that OK because you are not waiting for any response.

The RFC doesnt return any response or null value, this is and standard response of Altova when no response is sending back to WS

but in case the RFC send back a response, change the QoS in you communication channel to BE(Best Efford) and you will be able to see the response.

hope it help

Former Member
0 Kudos

Hi,

Thanks Rodrigo Pertierra.

Actually i am expecting some response message from the R3 system. i tried with BE as well but still it is returning same response.

-Siva

rodrigoalejandro_pertierr
Active Contributor
0 Kudos

in IR-->Message interface, did you check that Sync is selected for boths MI?

could you see the response of RFC in SXI_MONITORING?

Thanks

Former Member
0 Kudos

Hi,

I am not able to see the response message in SXMB_MONI. Only the Request Message i am able to see.

-Siva

rodrigoalejandro_pertierr
Active Contributor
0 Kudos

check those 3 possibilities. please

1)RFC send back a response

2)QoS is BE in boths

3)Interface Mapping has define a Message Mapping in response TAB

Thanks

Former Member
0 Kudos

You are able to see the response message in SXMB_MONI? with correct response?

thanks

Farooq.

Former Member
0 Kudos

Farooq,

Thanks, Yes i am able to see sucess status in SXMB_MONI.

-Siva

rodrigoalejandro_pertierr
Active Contributor
0 Kudos

hi

you are waiting or not a response from RFC??

if not, please close the thread and mark it as anwered if your doubt is solved.

Thanks

Former Member
0 Kudos

Hi,

The RFC should return some value. As per my knowledge the SOAP response will have the RFC return values. Basically the RFC is for open order search.So the soap response will be details of open orders.

-Siva