# No Content Type Consuming WebServices

**URL:** <https://techcommunity.softwareag.com/t/no-content-type-consuming-webservices/59568>\
**Category:** Forum\
**Tags:** Former-Crossvision-Products, Service-Orchestrator\
**Created:** [January 16, 2006, 9:09pm UTC](https://techcommunity.softwareag.com/t/no-content-type-consuming-webservices/59568 "2006-01-16T21:09:00Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Claudio\_Delgado](https://avatars.discourse-cdn.com/v4/letter/c/d6d6ee/32.png) [@Claudio\_Delgado](https://techcommunity.softwareag.com/u/Claudio_Delgado)\
**Post date:** [January 16, 2006, 9:09pm UTC](https://techcommunity.softwareag.com/t/no-content-type-consuming-webservices/59568/1 "2006-01-16T21:09:00Z")

</div>

All,

I’ve declared a Webservice through a WSDL and performing some test over this WSDL I have some problems using Mediator as comsumer.

The error message is:

```auto

Error Setting WSDL Document

The following error was encountered while attempting to set the WSDL document:
com.softwareag.xbridge.webservices.WSException: embedded exception: WSDLException (at /definitions/types/xs:schema): faultCode=OTHER_ERROR: An error occurred trying to resolve schema referenced at 'http://sagfactoria10:8080/XtendDev/cms/schemas/TaminoResponseForXtend.xsd', relative to 'http://Sagfactoria10:8080/taminowebdavserver/TestMV/WebServiceTutorial/ContentCategoryList.wsdl'.: no content-type
Switching to text view.
```

I do not understand the “Content-Type” error, attached you will find the WSDL and its referenced schema.

Thanks in advance,

Mediator version: 7.4.2  
[WSDLMEDIATORCONSUMER.zip](https://techcommunity.softwareag.com/uploads/short-url/kFfmmf5ZC8odkxr7n7jtKY0uZVV.zip) (1.87 KB)

---

<div class="post-metadata">

**Author:** ![Barry](https://avatars.discourse-cdn.com/v4/letter/b/958977/32.png) [@Barry](https://techcommunity.softwareag.com/u/Barry)\
**Post date:** [January 18, 2006, 8:09pm UTC](https://techcommunity.softwareag.com/t/no-content-type-consuming-webservices/59568/2 "2006-01-18T20:09:05Z")

</div>

Hi Claudio,

from what you say it may be more to do with the webserver you are using, and the content-type associated within the definitions held in there. In Tomcat you can add the mappings for wsdl by adding something like :-

wsdl application/xml

this will then allow the webserver to load wsdl as the content type will be specified by the mime-type, in this case application/xml

Regards  
Barry

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/techcommunity/original/3X/c/d/cd19967bb605d28a72d77eb83a1cae22f3df2eb8.svg) [@system](https://techcommunity.softwareag.com/u/system)\
**Post date:** [April 2, 2021, 2:39pm UTC](https://techcommunity.softwareag.com/t/no-content-type-consuming-webservices/59568/3 "2021-04-02T14:39:55Z")

</div>


