cancel
Showing results for 
Search instead for 
Did you mean: 

Invalid Content Type Error for Web Service

Former Member
0 Kudos

Hi Experts,

We have a XI / PI Web Service, and have created an Adaptive Web Service Model for the same. For using this web service model, we have created a HTTP destination of type WSDL.

This configuration works great in our development and consolidation server.

While working with our production server, with all the settings same as consolidation server, the following error is generated for Web Service call. using the AWS model

java.io.IOException: Invalid content type while requesting http://<host>:<port>/webdynpro/resources/<application_package>/guicall.wsdl. Expected Content-type: text/xml, received Content-type: content/unknown, used user to connect: null

The HTTP destination address is the one specified in bold above.

Also, in later part of the stack trace we are bale to see this error:

com.sap.tc.webdynpro.model.webservice.exception.WSModelRuntimeException: Exception on creation of service metadata for WS metadata destination

Please guide us on this issue.

Best Regards,

Alka.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Solved by myself.

Regards,

Alka.

Former Member
0 Kudos

Hi Alka,

How did you configure the Webservice Destinations in Visual Admin for a webservice explosed by XI system.

I mean what was the URL specified, did you specify XI SYSTEM userid password ???

How was the webservice published to inspection.wsil in XI system ??

Thanks,

Regards,

Aditya Metukul