cancel
Showing results for 
Search instead for 
Did you mean: 

Web service problem

Former Member
0 Kudos

Hello,

I've made a synchrone message interface in my PI repository, generate the proxy from it in my ECC6 SP14, made also a WS 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

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hope this helps..

This error if definitely because of the data type mismatch..

The data which is passed back was incompatible..

just check if the field(value) for data format or conversion exits.

Then make the corresponding change in the receiving data element, so that it can accept the values.

Thanks,

Hetal

Former Member
0 Kudos

I don't really understand, can you be more specific please ?

Former Member
0 Kudos

peter, i have sort of, the same problem. we use a .net app to send info from emails to our sap 4.6c system. the .net app calls a fm which is setup as rfc. we have upgraded to ecc 6.0 and the process does not work now. it gives errors like authorization is wrong, the userid is sap_all, and the other error is the content type is text/http and it is expecting test/xml.

i have another note out here, but no one is answering.

did you figure this issue out? in sicf, is ther a place to put in the paramter content type?

any info is appreciated.

thanks.