Sunday, April 29, 2012

Generate a WSDL from a RFC Function Module


 Step by Step process to generate WSDL from RFC Function module

1.     Select the Function module for which you wish to create the WSDL, either from transaction SE80or SE37.
2.     Check in the Attributes of the FM that the FM has a processing type of “Remote-Enabled Module”.
3.     From within the FM use the following menu path: Utilities–>More Utilities–>Create Web Service –>From the Function Module.
4.     Then follow the Create Web service Wizard.
5.     You will need to create a workbench transport request.
6.     Then go to transaction WSCONFIG to see the web service for SOAP runtime. Double click on the web service.
7.     Go to transaction WSADMIN and select the web service.
8.     Then use the menu path: Web Service–>WSDL to generate the WSDL.
9.     You are now able to use the WSDL and URL. Use a user interface like SOAPUI to send values and check the response.

2 comments: