I want to use an extern Webservice, provided by a webserver in the intranet. First of all: i tried this in to different systems. One of them did it. The other did not.
I create a proxy for the webservice and create a lshort abap programm like this:
DATA sys_exception TYPE REF TO cx_ai_system_fault.
DATA client_proxy TYPE REF TO ZWS4_CO_WS_ZWMHISTORIE_SOAP.
DATA request TYPE zws4_ws_zwmhistorie_soap_in.
DATA response TYPE zws4_ws_zwmhistorie_soap_out.
request-I_FACTOR1 = 2.
request-i_FACTOR2 = 3.
CREATE OBJECT client_proxy.
CALL METHOD client_proxy->WS_ZWMHISTORIE
input = request
output = response.
By the way. The response is 6. (3*2)
So, when i build this on the first system, it works. On the second i get a short dump with:
"Server did not recognize the value of HTTP Header SOAPAction."
Can anybody help?