I have to call a web service published in another web server from a BSP (SAP WAS 620). I know how to use the WAS as client and I also know how to create the XML. The problem is that I dont know if there is some technique or function module or something like this to create the SOAP message to send to the webservice publisher (something to automate the process).
Also If someone has some code to share it will be welcome...
Message was edited by: Ariel Ferreiro
You might be out of luck as far as code supplied by SAP to help with the SOAP message. We saw at TechEd how WebAS 640 has the functionality you are looking for. You can generate proxies for WebServices much like other tools do (Visual Studio for instance). This new functionality takes care of the SOAP message for you.
In 620 there is a SOAP package. There are examples in this package, but they only call RFCs as SOAP. According to the service marketplace (http://service.sap.com/connectors), SOAP processing is released in 620 but will be incompatiable with future releases (640).
The following is what it says about the SOAP Client possiblities:
SOAP Client API
This API enables Web services that can be represented on function modules to be called synchronously using SOAP 1.1. This is realized as an ABAP Class Library.
Now on the other hand I have used external WebServices using a REST approach with the SOAP overhead. You simply work with the external webservice using HTTP Client requests and responses. There have been a few discussions on SDN about the topic and I can share a small code sample if you are interested.