You are on page 1of 11

Web Services Consume

Web services is used for connectivity of SAP and ASP.NET using RFC Function module and BAPI .

In consumer point of view . web services given by .NET side and SAP side has consume this services.

Steps for consuming web services.

1. Go to t-code SE80 (object navigator): Right click on Enterprise Services Folder and create
services.

2. For services consumer we have to select services consumer radio button. click on continue
3 We have to create proxy class for that we have to select External WSDL radio button &
cont.

4. Select URL radio button


5. For Testing of .NET url used online website here we can check all methods of related url.
http://www.validwsdl.com/

6. Provide URL given by .NET side. Generally .NET people has given like this
http:// IP addr 4.153.117.59/webreferences/ALPL_WS_SAP_Masters.asmx
we have to add ?WSDL end of url. Than click on cont. button
7. Provide Package name and prefix ( proxy name started with that prefix like ZPMWS) &
continue.

8. Proxy name has created after click on complete button.


9. We have to Activate the services in t-code SE80.

10. We have to check all method and parameters.


11. check all field with methods.

12. Configer PROXY name in T-code SOAMANAGER .its called in web browser.

13. Click on web service configuration for configuration of PROXY name.


14. Select from drop box consumer Proxy and give the proxy name
ZPMWS_CO_ALPL_WS_SAP_TRANSACTI in Search Pattern text field than click on GO
button.

15. Select proxy name and click on Apply Selection button.


16. Select Create button in Configuration tab .
17. Input 1. logica port name as per ur requirment.
2 .description
3 .URL given by .NET and add at end of url ?wsdl
4 .click on APPLY SETTING button.

18. Click on Apply Setting button.


19. Select proxy name and check SOAP Action must be genrated . if its not genrated than we
are gotting error at time of consuming web servicess.its must be genrated for every
methods.
And click on SAVE button.

20. Port is created after saving ::


21. Logic for consuming webservices in SE38

We got value in OUT parameter that mins web services has consume success fully.

Note :--T-code----- SRT_UTIL (Log for web services error in SAP)

You might also like