0% found this document useful (0 votes)
145 views21 pages

Steps To Publish The Webservice: 1) Create A Function Module and Make It As Remote Enable

1) Create a remote-enabled function module and publish it as a web service. 2) Call a BAPI to retrieve user details based on the user ID. 3) Generate a WSDL file for the web service using transaction code SOAMANAGER. 4) Test the web service response in the Enterprise Portal by passing a user ID and viewing the output.

Uploaded by

venkatesh56
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
145 views21 pages

Steps To Publish The Webservice: 1) Create A Function Module and Make It As Remote Enable

1) Create a remote-enabled function module and publish it as a web service. 2) Call a BAPI to retrieve user details based on the user ID. 3) Generate a WSDL file for the web service using transaction code SOAMANAGER. 4) Test the web service response in the Enterprise Portal by passing a user ID and viewing the output.

Uploaded by

venkatesh56
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 21

Steps to Publish the WebService

1) Create a custom Remote enable function Module


2) Call a BAPI to get User Details and based on the User id
3) Publish the Function Module as a Web Service
4) Go to Transaction Code SOAMANAGER and generate the WSDL File
5) Then Go to the Mapped Enterprise Portal and Test the Response

1) Create a function Module and make it as Remote Enable

2) Call a BAPI to get User Details and based on the User id


Execute the Function Module
3) Publish the Function Module as a Web Service

Make the RFC as Web Service as mentioned below.


Once Created the below message will appear.
4) Go to Transaction Code SOAMANAGER and generate the WSDL File
Then a Browser Window will appear as below. Then Click "Single Service Administration" as highlighted.
Enter the Service Name.

Then the Respective Web Service object will appear here. Then Select it and Click "Apply
Selection".
Then the below window will appear.

Then Click "Open WSDL document for selected binding" as highlighted.


Then a new window will WSDL will appear as shown below.
Save the WSDL as XML File and Note the URL.

http://HostName:8000/sap/bc/srt/wsdl/bndg_B58A644C1265FA0FE1000000C0A8648B/wsdl11/
allinone/ws_policy/document?sap-client=800
Then go to EP URL http://PortalHost:50100/index.html
Then Click "Web Services Navigator"Then the following Window Will Appear.
5) Then Go to the Mapped Enterprise Portal and Test the Response

Then Give the WSDL url


Then Click "Next" button.
Then the Same Screen will Appear.

Then Give the User id & Password for the web service provider system and Press Submit.
Then Click as highlighted below.
Click on Web service name for entering the parameter to be passed to web service

Now you will find the input boxes for the parameters of the webservice

Give the User id (i.e. input) and click on "Send" button


You can find the response from the web service here.* *

You might also like