Hello,
i'm facing a Problem calling a Webservice.
The webservice should make a goods Output.
Till now, I have created a Service Definition, a Consumer Proxy, a Transformation (XML-to-ABAP), Logical Ports via T SOAMANAGER, HTTP Request handler Class and a Webservice Calling Report as ABAP.
When I call the Webservice via http, i get the following XML-Output:
<soap-env:Header/>
<soap-env:Body>
<faultcode>soap-env:Server</faultcode>
<faultstring
xml:lang="en">SRT: Wrong Content-Type
and empty HTTP-Body received: ("HTTP Code 200 : OK")</faultstring>
xml:lang="en">SRT: Wrong Content-Type
and empty HTTP-Body received: ("HTTP Code 200 : OK")</faultstring>
<Component>COREMSG</Component>
<Exception_Name>CX_SOAP_CORE</Exception_Name>
<Exception_Text>SRT: Wrong Content-Type and empty HTTP-Body
received: ("HTTP Code 200 : OK")</Exception_Text>
received: ("HTTP Code 200 : OK")</Exception_Text>
</ChainedException>
</ns:SystemFault>
<Host>undefined</Host>
<Component>COREMSG</Component>
<EXCEPTIONhref="#o176" />
</asx:values>
-<asx:heap
xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:abap="http://www.sap.com/abapxml/types/built-in" xmlns:cls="http://www.sap.com/abapxml/classes/global" xmlns:dic="http://www.sap.com/abapxml/types/dictionary">
xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:abap="http://www.sap.com/abapxml/types/built-in" xmlns:cls="http://www.sap.com/abapxml/classes/global" xmlns:dic="http://www.sap.com/abapxml/types/dictionary">
<TEXTID>0018FE864EEE1DECA69CF9C71ACB337F</TEXTID>
<PREVIOUS/>
<KERNEL_ERRID/>
<PROGID>81</PROGID>
<CONTID>1193</CONTID>
</INTERNAL_SOURCE_POS>
</CX_ROOT>
<CX_NO_CHECK/>
<CLASS>CL_SOAP_HTTP_TPBND_ROOT</CLASS>
<METHOD>get_http_headers</METHOD>
<ID>3</ID>
</E_LOCATION>
<E_TEXT>SRT: Wrong Content-Type and empty HTTP-Body received: ("HTTP Code 200 :
OK")</E_TEXT>
OK")</E_TEXT>
<E_ID>1032</E_ID>
<E_FAULT_LOCATION>1</E_FAULT_LOCATION>
<E_AREA>COREMSG</E_AREA>
<E_HOST>0</E_HOST>
<E_PROCESS_CONTROL/>
</CX_SOAP_CORE>
</cls:CX_SOAP_CORE>
</asx:heap>
</ChainedException>
</ns:SystemFault>
</detail>
</soap-env:Fault>
</soap-env:Body>
</soap-env:Envelope>
With this link, I try to call the webservice http://host:port/sap/bc/srt/rfc/sap/z_etiscan_warenausgang/300/zservice_etiscan/z_binding_etiscan?aufnr=10351?matnr=1234567?lgort=1000?werks=1001?menge=1
I activeded the debug mode for this webservice in SICF and while Debugging I see that there is no call of my handler Class because there are some missing variables in if_http_extension~handle_request, which is the standart calling Routine from CL_SOAP_HTTP_EXTENSION
Do you maybe have a solution for my Problem?
Regards,
Dennis