cancel
Showing results for 
Search instead for 
Did you mean: 

RFC -> XI -> Web service

Former Member
0 Kudos

Hi All,

I have a RFC -> XI -> Web service synchronous scenario.

After setting up scenario in XI, I execute RFC. When I check sxmb_moni, it shows me error.

The error is pasted here.

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

- <!-- Call Adapter

-->

- <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1">

<SAP:Category>XIAdapterFramework</SAP:Category>

<SAP:Code area="MESSAGE">GENERAL</SAP:Code>

<SAP:P1 />

<SAP:P2 />

<SAP:P3 />

<SAP:P4 />

<SAP:AdditionalText>com.sap.aii.af.ra.ms.api.DeliveryException: failed to get the input stream from socket: java.lang.NullPointerException</SAP:AdditionalText>

<SAP:ApplicationFaultMessage namespace="" />

<SAP:Stack />

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

</SAP:Error>

Can somebody explain me, why is this or to cross-verify my settings, steps in detail to set up this type of scenario.

Please don't take me to the documentation present here which explains about configuring Web service based scenario.

I have already looked at it and understood that it's not much useful at this stage.

Your help is highly appreciated.

Thanks & Regards,

-smita

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Smita,

How are you doing the communication from FRC ==> XI ??

1. Are you using Outbound(sender)RFC Adapter, if so did you create a registered program for communication from r3 to XI (rfc destination

sm59->tcpip)

2. Are you using an outbound(Sender) Client abap proxy??

3. Are you calling an external webservice(not in XI)if

so make sure the soap action is correct

Naveen

Message was edited by: Naveen Pandrangi

Former Member
0 Kudos

Hi Naveen,

Creating proxy is really necessary to call any web service?

If so, then I am failing at that point.

I have not designed specific outbound message interface for RFC. While designing message mappings or mapping interface I use RFC as one of the source interfaces.

Yes, I have created RFC Destination of TCP/IP type to configure RFC communication channel.

Please correct me for proxy object.

Thanks & Regards,

-Smita

Former Member
0 Kudos

Hi Smita,

You are correct on the outbound interface, you dont have to create a new interface, you could jsut use the rfc.

You dont have to create a proxy for webservice. Find out the soap action of the webservice you are trying to use. Define a message type in Xi with the same structure as in webservice soap action. Define an interface with this message and mapp it to ur rfc interface.

In Directory/Configuratiion, create a reciever soap adapter, specify target url (webservice url) and default saop action (its the method ur are trying to call in webservice)

Naveen

Former Member
0 Kudos

Hi Navin,

Thanks for all ur inputs.

I have created SOAP receiver in Integration Directory and created default soap action for it.

I guess, I don't have to create any data type or message type as in external definitions I have already imported WSDL of my web service and it gives me all required interfaces.

So, I map RFC interfaces directly against interfaces of web service without creating any data type or message type.

Is it ok?

Thanks & Regards,

-Smita

Former Member
0 Kudos

Hi Smita,

You got it right !!!

Naveen

Former Member
0 Kudos

Hi,

But, still it does not work.:(

That is my problem.

-Smita