cancel
Showing results for 
Search instead for 
Did you mean: 

Invalid Content Type Error

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.

hamsa_shree
Participant
0 Kudos

Hi Pandey,

Can u please tell how u solved the problem as we are facing the same issue

Thanks & Regards,

Hamsa Shree