cancel
Showing results for 
Search instead for 
Did you mean: 

Issue when I test my web services

Former Member
0 Kudos

Hello,

I have made a web service, but when I call it from SAP to test it, I get the error below:

<soap-env:Envelope xmlns:soap-env="http://schemas.xmlsoap.org/soap/envelope/">

<soap-env:Header/>

<soap-env:Body>

<soap-env:Fault>

<faultcode>soap-env:Server</faultcode>

<faultstring xml:lang="en">

SRT: Wrong Content-Type and empty HTTP-Body received: ("HTTP Code 200 : OK")

</faultstring>

<detail>

<ns:SystemFault xmlns:ns="http://www.sap.com/webas/710/soap/runtime/abap/fault/system/">

<Host>undefined</Host>

<Component>COREMSG</Component>

<ChainedException>

<Exception_Name>CX_SOAP_CORE</Exception_Name>

<Exception_Text>

SRT: Wrong Content-Type and empty HTTP-Body received: ("HTTP Code 200 : OK")

</Exception_Text>

</ChainedException>

</ns:SystemFault>

<ns:SystemFault xmlns:ns="http://www.sap.com/webas/711/soap/runtime/abap/fault/system/">

<Host>undefined</Host>

<Component>COREMSG</Component>

<ChainedException xmlns:asx="http://www.sap.com/abapxml" asx:root="asx:abap" version="1.0">

<asx:values>

<EXCEPTION href="#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">

<cls:CX_SOAP_CORE id="o176">

<CX_ROOT>

<TEXTID>0018FE864EEE1DECA69CF9C71ACB337F</TEXTID>

<PREVIOUS/>

<KERNEL_ERRID/>

<INTERNAL_SOURCE_POS>

<PROGID>106</PROGID>

<CONTID>1157</CONTID>

</INTERNAL_SOURCE_POS>

</CX_ROOT>

<CX_NO_CHECK/>

<CX_SOAP_CORE>

<E_LOCATION>

<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>

<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>

Anyone can help me?

Regards,

Luis.

Accepted Solutions (0)

Answers (1)

Answers (1)

shuai_liang
Participant
0 Kudos

Hi Luis,

did you test the web service in SOAPUI and is it working well?

Best regards,
Shuai