First create one remote enabled function module like below :
Now create the web service from the RFC by following the below path :
When you will click on from function module one Wizard will be opened as below
You have to complete the wizard and this you get a web service name which you can decide at the time of creation. In my case web service name is YRG_WEBSERVICE_RAHUL.
Now goto transaction code SOAMANAGER.
Give search pattern and field for easy search and you will be able to see the web service which you have created from RFC. Select the service name and click the apply selection. then you find the below screen . Now you will have click on " Open WSDL document for selected binding "
and you get a XML file but to get the XML file , we need to create the endpoint from overview tab.
Below is the screen which we can see while creating the endpoint.
Below is the file which you will get on clicking as mentioned above, now you have to save this file on your destop with extension" .WSDL ".
Now goto t-code SFP and create one empty interface and activate it after this you create the form and generate a new data connection , in the same process we have to upload the .WSDL file which we have saved on our desktop.
No comments:
Post a Comment