‎2007 Feb 27 4:31 PM
One of my colleague has written <u>search help exit</u> function and in that i need to <u>call webservice</u> to get data.
Do i need to write <b>client proxy</b> which could be called by that function to send and get data from webservice?
Can i directly establish connection to webservice <b>directly from search help exit</b> function module?
I would appreciate for any kind of help in this.
thanks,
Pranav
‎2007 Feb 27 5:40 PM
Hi Pranav,
You can create a proxy object in ABAP. For this go to SE80 right click on your package and from the context menu go to Create->Enterprise Services->Proxy object. You can specify a URL or a local WSDL file there. The wizard will create a class in the SAP system with the operations of the webservice as methods in the class. You can then configure a port using LPCONFIG and then construct the class by passing the port definition and then call the respective method.
For more information look at this:
http://help.sap.com/saphelp_nw2004s/helpdata/en/c9/74246d8ad2447799063d39013e9a11/content.htm
Best regards,
Sudhi