cancel
Showing results for 
Search instead for 
Did you mean: 

Wrong contebt-type and empty http-body received

0 Kudos

Hello Gurus,

I've created and activated am enterprise service from a FM in ECC 6.0. The service has been activated and when do a test service from SICF transaction I get the following error page. I really dont know what could be wrong with my WS and how to solve this issue. Any idea?


- <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</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</Exception_Text> 
</ChainedException> 
</ns:SystemFault> 
</detail> 
</soap-env:Fault> 
</soap-env:Body> 
</soap-env:Envelope>

Please help me!!!

Regards,

MC

Accepted Solutions (1)

Accepted Solutions (1)

Former Member

just call the service a few more times until it works for the first time. from then on it will work just fine.

I guess there are a few compilations on some not yet compiled development objects in the SOAP runtime and subsequent functions to be performed until the whole thing runs through.

at least this was the issue for me and running it several times solved it.

regards, anton

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

>when do a test service from SICF transaction I get the following error page

Your webservice is fine and you must test the given url from WSNavigator or any other Webservice testing tool (SOAP UI). You see this page because while testing this service from SICF it doesn't ask for input and neither you provide one. So you are calling service with empty input that's why you can see following error:

>SRT: Wrong Content-Type and empty HTTP-Body received

Regards,

Gourav

0 Kudos

Hi Gourav,

Well the thing it's more complicated than that. Because when i tested the WS with the WSnavigator, it shows me the following message error: "Connection Refused", and nothing appears in the request/response boxes. With soamanager i looked the good wsdl (with no error)... and my WS is succesfully activated thru se80... did i miss any step? because in lower SP with only the activation of the service works....

Regards,

MC

Former Member
0 Kudos

Hi,

Did you created endpoint in SOAMANAGER?

>Connection Refused

It is something to do with network issue, either incorrect user/password or proxy is not setup. Please post error message here.

Regards,

Gourav

0 Kudos

Hi Gourav,

Yeap i've already created the endpoint in SOAMANAGER....

the error message is the following

CONNETION REFUSED: CONNECT

Proxy where?, the thing is that before the upgrade the service works and know it does not work... Any idea?

Regards,

MC

Former Member
0 Kudos

Hi,

Is WSNavigator is on same system or any other system, try to test this service using SOAP UI as well. to me it seems network connectivity issue.

Proxy here is referred to http proxy which is used to connect to internet, this should be configured on system where WSNavigator is used (only relevant if WSNavigator is on another system).

Regards,

Gourav