cancel
Showing results for 
Search instead for 
Did you mean: 

Providing webservice thru XI?

Former Member
0 Kudos

Hi.

I have a question to serve a third party application with data from SAP.

They would like to consume a webservice for this and I think the data they want can be received using a bapi.

I know the BAPI, and we use XI for communication. Is there a way to create this webservice and provide it?

How will I do this?

I'm a complete newbi with webservices, and havent been working much with XI either, so please help me...

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

I suppose this blog will be of some assistance.

/people/riyaz.sayyad/blog/2006/05/07/consuming-xi-web-services-using-web-dynpro-150-part-i

How To… Set Up a Web-Service Related Scenario with SAP XI

https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/befdeb90-0201-0010-059b-f22...

How to Develop a Webservice Using NWDS and SAP XI.30

https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/5f3ee9d7-0901-0010-1096-f5b...

<b>Cheers,

*RAJ*</b>

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Magnus,

Just go through below mentioned blogs & links to know about webservice.

First of all few facts about Webservice:

1. Webservice is a remote application which is available in the Web.

2. XI communicates with Webservice by using SOAP adapter.

3. XI can sends data to Webservice and can receive data from it.

<b>Exposing BAPI as Web Services through SAP XI</b>

/people/community.user/blog/2006/10/24/exposing-bapi-as-web-services-through-sap-xi

How to use webservices in XI

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

/people/arpit.seth/blog/2005/06/27/rfc-scenario-using-bpm--starter-kit - refer that blog and use the SOAP adapter and the WS instead of the RFC part.

See this blog from Robert Chu, but it might give you a good start to creating web services:

/people/sap.user72/blog/2005/12/29/service-enable-your-sap-application-component

Step by Step approach

/people/kumar.prashant4/blog/2006/07/14/using-rfc-as-webservice-in-webdynpro

/people/renald.wittwer/blog/2005/01/05/develop-a-web-service-that-sends-an-email

How To Use the XI 3.0 SOAP Adapter

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/d23cbe11-0d01-0010-5287-873a2202...

Please follow stefan's weblog

/people/stefan.grube/blog/2006/09/21/using-the-soap-inbound-channel-of-the-integration-engine

Alos see the below examples

http://help.sap.com/saphelp_nw04/helpdata/en/9b/dad1ae3908ee44a5caf57e10918be9/frameset.htm

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

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

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

/people/siva.maranani/blog/2005/03/01/testing-xi-exposed-web-services

/people/michal.krawczyk2/blog/2005/03/29/configuring-the-sender-rfc-adapter--step-by-step

https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/2131 [original link is broken] [original link is broken] [original link is broken]

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/336365d3-0401-0010-9884-a651295a...

How to Develop a Webservice Using NWDS and SAP XI.30

https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/5f3ee9d7-0901-0010-1096-f5b...

Testing XI exposed Web-Services

/people/siva.maranani/blog/2005/03/01/testing-xi-exposed-web-services

Regards,

Sarvesh

****Reward Points if found helpful.

Former Member
0 Kudos

Hello

Yes you can create web service with the help of XI. Web service is similar to calling a function module only in the XML over HTTP format.

Just create the inbound interface as ur BAPI and outbound interface with the web service request parameters. Then through Tools->Generate Web service you can generate web service for your outbound interface. This will generate WSDL which you can give to third party application so that they can generate client for web service.

If you are using SAP ECC then you can generate web service around BAPI as well.

Hope that is helpful.

Regards

rajeev