cancel
Showing results for 
Search instead for 
Did you mean: 

WebService from XI

Former Member
0 Kudos

Hi Expert,

I have a RFC in R/3 system and I need to expose the RFC in XI as web service. Could anyone guide me how to create this scenario.

Note: my customer do not want to expose webservice from RFC in R/3 system. That can be done only from XI, if possible. So the communication from the client to XI will be through SOAP adapter and from XI to R/3 will be through RFC adapter.

Thanks,

Sri.

Accepted Solutions (0)

Answers (2)

Answers (2)

agasthuri_doss
Active Contributor
0 Kudos

Hi Sri,

This might help you

/people/community.user/blog/2006/09/19/xi-webservice-studio--a-plain-jane-soap-tool

/people/shabarish.vijayakumar/blog/2006/03/23/rfc--xi--webservice--a-complete-walkthrough-part-1

/people/siva.maranani/blog/2005/09/03/invoke-webservices-using-sapxi

/people/siva.maranani/blog/2005/09/03/invoke-webservices-using-sapxi

Regards

Agasthuri Doss

former_member91687
Active Contributor
0 Kudos

Hi,

You can expose an RFC as a web service using the Web Service Creation Wizard in SE37, <b>Utilities->More

Utilities->Create Web Service->From the Function Module</b> and you can use this.

To configure the sender SOAP adapter follow this guide : <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/d23cbe11-0d01-0010-5287-873a22024f79">How to use the SOAP Adapter</a>

Regards,

Chandra

Former Member
0 Kudos

Hi Chandra,

Thanks for your answer.

My requirement is: web service should not be created from RFC. XI to R/3 communication should be through RFC adapter. If possible, webservice will be created in XI, so the sender can use SOAP for asyncronous commnucation.

Thanks,

Sri.

bhavesh_kantilal
Active Contributor
0 Kudos

Hi,

Take a look at the document How to use the SOAP adapter given by Chandravadhana. It has a section that escribes the Sender SOAP adapter and also shows how to create a WSDL for your Message Intrerface in XI.

Use your RFC as the outbound Message Interface to get the request from your Sender and pass it to the R3 system.

Regards,

Bhavesh

former_member91687
Active Contributor
0 Kudos

Hi,

In that case create a message interface using the RFC for the sender side because you can create a WSDL for your interface using this interface definition. To create the WSDL in the Integration directory go to <b>Tools->define webservice</b>, the URL to be is in this format:

http://host:port/XISOAPAdapter/MessageServlet?channel=:<service>:<channel>; ,where service is the sender business service and channel is the sender communication channel.

Then you can use altova or any other soap client tool to test the scenario using the generated WSDL.

You can take a look at Stefan's <a href="/people/stefan.grube/blog/2006/09/21/using-the-soap-inbound-channel-of-the-integration-engine where you can send the soap request directly to the integration engine and hence would not require a SOAP sender channel. Just for some additional information.

Regards,

Chandra

Former Member
0 Kudos

Hi Sri,

Please go through this blog on <a href="/people/siva.maranani/blog/2005/09/03/invoke-webservices-using-sapxi Webservices using SAPXI</a> and see if it helps you......The blog explains the same Scenario that you are planning to try.

Also i suggest you to go through these threads and see my replies in those posts....

I hope it helps you...

Regards,

Abhy