on 05-14-2008 3:24 PM
Hello all,
My interface is i want to convert a BAPI as Webservice. This webservice i need to send from sap xi to SAP systems. what are the steps need to be do. what are the adapters will i use in sap xi.
one more question. Can we deploy this webservice in UDDI and can i send request from sapxi. if it possible plz what are the steps need to be do.
Please suggest me what to do.
Thanks&Regards,
VenkatK
Hi,
Steps to Create the Webservice From BAPI
the main requirement for creting the web service using the function module is the function should be RFC enabled.
1. To create web service of this Function Module
Go to Utilities ->More utilities->create a web service->from function module
2. A new wizard will be open to create the web service and click on continue.
3. Enter the web service name (any name that you want to give) and give the short description, select the Endpoint type as Fuinction Module and click on continue.
4. Select the Function Module name that you are using.
5. select the profile as Basic Authentication: SOAP Pro.
6. Press continue to release the web service. The web service is now created
To check the web service Go to the transaction WSADMIN and select the node
SOAP Application for RFC-Complaint FMs and expand the node and select your web service that you have created and expand the web service node up to the last .
Now to test the web service select the last node and click on the web service home page button and it will open the home page.
from this page u will get the wsdl file as well as you can testthe web service.
Regards
Seshagiri
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Seshagiri,
In transaction WSADMIN, Goto----> Administration settings we need to give J2ee server name. How can i find J2ee server name.
How can i send webservice request from sap xi to sap.
Please suggest me.
Thanks&Regards,
VenkatK
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Venkat,
For your scenario you can use SOAP adapter.
check out the details of SOAP adapter.......
SOAP Adapter: SOAP Adapter converts the SOAP messages into SAP XI message format that is SOAP with header attachments. This in an area many needs to really concentrate as it is heart of the ESA literature going forward.
Refer Testing XI exposed Web-Services:
/people/siva.maranani/blog/2005/03/01/testing-xi-exposed-web-services
and Invoking XI Webservices:
/people/siva.maranani/blog/2005/09/03/invoke-webservices-using-sapxi
RFC to WebService - A Complete Walkthrough - Part 1
/people/shabarish.vijayakumar/blog/2006/03/23/rfc--xi--webservice--a-complete-walkthrough-part-1
and RFC -> XI -> WebService - A Complete Walkthrough -Part 2.
/people/shabarish.vijayakumar/blog/2006/03/28/rfc--xi--webservice--a-complete-walkthrough-part-2
You can down load a sample SOAP Client tool from SAP SOAP Client Tool.
https://www.sdn.sap.com/irj/sdn/downloads
Please refer How to Set Up a Web Service-Related Scenario with SAP XI for delving more deep.
Hope this was helpful.
Reward points if this helps
Regards
Vani.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
82 | |
10 | |
10 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.