‎2006 Jan 23 11:15 AM
Hello
I am stuggling with writing a client proxy in ABAP to call a Web Service without any use of XI. The help says it is possible, as per the URL below.
On the expanded tree structure on the left pane of the help, navigate to the heading "Programming with Client and Server Proxies" and then "Sending a message".
I have been able to generate a proxy class by consuming a WSDL file and I have also defined a Logical Port.
I have also copied the ABAP code shown on the same Help page, but have been stumped by the definition of ls_request and ls_response. The next line of help goes on to explain that ls_request should be a structure for the Request Message. In the scenario where XI is used, I can understand the concept of defining a structure that is the same as the Request message.
In the scenario of only using ABAP and no XI, I don't understand what I should define the structures for ls_request and ls_response.
Can anyone shed some light on my confusion? Any suggestions gratefully received.
Thanks in advance
tony<a href="http://help.sap.com/saphelp_nw04/helpdata/en/d1/802cfc454211d189710000e8322d00/frameset.htm">SAP Help on ABAP Client Proxies</a>
‎2006 Jan 23 11:29 AM
Welcome to SDN.
check out this weblog.
<a href="/people/thomas.jung3/blog/2004/11/17/bsp-a-developers-journal-part-xiv--consuming-webservices-with-abap">Consuming WebServices with ABAP</a>
input and output structure are automatically generated when creating the client proxy.
click on the structure tab (se80 client proxy definition) and expand the webservice method againt input in the type column you should see a structure name use this for ls_request
ls_request TYPE zxxx_soap_in,
against exporting in types column you can see the type for ls_response.
Hope this is clear.
Regards
Raja
‎2006 Jan 23 11:29 AM
Welcome to SDN.
check out this weblog.
<a href="/people/thomas.jung3/blog/2004/11/17/bsp-a-developers-journal-part-xiv--consuming-webservices-with-abap">Consuming WebServices with ABAP</a>
input and output structure are automatically generated when creating the client proxy.
click on the structure tab (se80 client proxy definition) and expand the webservice method againt input in the type column you should see a structure name use this for ls_request
ls_request TYPE zxxx_soap_in,
against exporting in types column you can see the type for ls_response.
Hope this is clear.
Regards
Raja
‎2006 Jan 23 11:32 AM
the pattern for the types are
<prefix>_<method name>_soap_in
<prefix>_<method name>_soap_out
<prefix> is the one which you gave when generating the client proxy.
Regards
Raja
‎2006 Feb 13 11:54 AM