Skip to Content
avatar image
Former Member

Web Service on ABAP

Hi all,

we face slight problems getting a web service run on WAS ABAP.

The underlying FM as endpoint of the webservice has input and output parameter, is RFC-enabled

I created the Web Service with the in SE80 integrated wizard, ABAP inside-out on an existing

RFC-enabled FM as endpoint. Security level was set to NONE and l8r to LOW.

The web service definition was created succesfully, I tried to open the wsdl via SOAMANAGER, worked

perfectly fine. Just when I try to test the transaction in SICF it gives me the following error:

====STARTMESSAGE====

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

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

====ENDMESSAGE====

I'm glueless whats the problem - I tried using different kinds of handler methods/classes in SICF (SOAP_HTTP_EXTENSION, no change.

Can anyone help me out please?

Thanks alot! - Norbert

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    avatar image
    Former Member
    Oct 20, 2008 at 11:22 AM

    Hi,

    It has no meaning to test a web service from SICF because it calls the web browser with the web service URL.

    As a web service is NOT a web service client, it fails.

    Conclusion, use a web service client to test web services.

    If you have the java stack activated on your system, you can use SAP own tool which can be called from SOAMANAGER.

    Regards,

    Olivier

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hi,

      > configured the WS via SOAMANAGER, however, what do I need to be able to test

      >its functionality?

      You need a web service client. Then you feed it with the WSDL to generate a client proxy and you can test your web service.

      To find a web service test tool Google is your friend...

      You have freeware, shareware, payware etc...

      Regards,

      Olivier