cancel
Showing results for 
Search instead for 
Did you mean: 

Web Service on ABAP

Former Member
0 Kudos

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

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

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

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

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

Former Member
0 Kudos

Hi Olivier,

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

its functionality?

Btw, how do I define a Services Registry?

Will the Web Service Navigator assist me with this task? I still lack appropriate authorization

to access the navigator on the java stack.

Thanks.

Former Member
0 Kudos

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

Answers (0)