Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Web service problem

Former Member
0 Kudos

Hello,

I've made a WS on a ECC6 SP14 via SOAMANAGER and generated a WSDL.

With this WSDL, i've made 4 test with it :

1. I've picked the soap address within the WSDL, put it in my IE and i've got this message :

<soap-env:fault>

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

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

</...>

2. Thru a .NET application but it gives the same error message than above.

3. Thru SOAPUI and XMLSPY and it seems "fine" but my response content is the same than my request so i think something is weird...

4. I've tried also with WSNavigator but i've got an error message which says :

"Cannot download WSLD from http://<server>:<port>/sap/bc/srt. its not allowed to access this service.If you believe you should be able to, please contact your administrator"

I have SAP_ALL and SAP_NEW so how can i have an authorization problem ??

Like you see, i've tried many things but i've lost now...is somebody got an idea ?

Is someone have an idea plz ?

PS : By the way, hhen i look in t-code SICF(on ECC), i don't see my WS in sap/bc/srt/rfc/sap/z**/client/z*/z* , is it normal in SP14 now ? Even if there are "obsolete", i don't see either my WS in WSCONFIG..

Thanks by advance

5 REPLIES 5

GrahamRobbo
Active Contributor
0 Kudos

Hi Peter,

I suggest you set an external breakpoint in the function module that the web service calls.

Then call the web service using the XMLSpy SOAP client.

If your call is successful the break point will trigger.

Cheers

Graham Robbo

0 Kudos

Hi,

I am not using a RFC module.

I've built my WS from an abap proxy. Does it change something ?

Thanks

0 Kudos

No

0 Kudos

Hi Jean,

Is your problem resolved. I am also getting the same error message for one of my web services.

Please let me know how you have resolved this.

Regards

Former Member
0 Kudos

goto WSADMIN and select the webservice and execute it.It will open WS navigator and u can execute the webservice from there.

Also in WSADMIN go to admin settings and enter ur host and port.

also check the SMICM parameter and confirm whether it is added in ur host file.

In SOA management check the http proxy settings..