cancel
Showing results for 
Search instead for 
Did you mean: 

Error attempting to read from file at a webservice call

Former Member
0 Kudos

Hi Experts,

We hav designed a Webservice form a Function Module in ECC 6.0, In the soamanager transaction the webservice works fine. But at the time of call from the Adobe form, it gives an error stating that "Error attempting to read from file and then the URL of the Webservice to be excuted.

and if i attempt to open that file, it gives me this error:


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

any clues..

any help would be appreciated, Please help..

Thanks,

Amita

Accepted Solutions (0)

Answers (6)

Answers (6)

Former Member
0 Kudos

Hello Amita,

Can you please share the solution to solve this issue.

Thanks,

Vishwanath

Former Member
0 Kudos

amita,

please share your solution for this issue. Me a couple of other users are having the same issue.

thanks

chintan_virani
Active Contributor
0 Kudos

I have not set any authentication for my Web Service & I too get the similar error.

Can you please let me know the solution?

Chintan

vadim_pavluk
Member
0 Kudos

Hello Amita,

Could you please let me know which roles have to be added to the user, in order to be able to use the Adobe form properly through VPN connection?

Thanks,

Vadim

Former Member
0 Kudos

Hi Amita/Vadim,

Can tell me what specific authorizations are assigned for this issue to get resolved

Thanks

Vamsi

Former Member
0 Kudos

Thanks,

My problem is resolved

Former Member
0 Kudos

can you tell me your solution?

beacause i had a same question.

TKS.

Former Member
0 Kudos

Hi,

I was getting this error because of insufficient authorizations to my user id.

Thanks,

Amita

former_member206604
Active Contributor
0 Kudos

Hi,

It looks like the content-type is not passed as text/xml instead . Please check if XML is passed to the the webservice and not HTML or text.

Thanks,

Prakash