Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Aug 16, 2012 09:08 PM by kushalrdalal
Aug 16, 2012 06:28 PM|LINK
There is an application that will consume my wcf service but trying to consume the same, the error happens:
HTTP/1.1 415 Can not process the message because the content type 'text / xml;
charset = utf-8 'was not the expected type' application / soap + xml; charset = utf-8 '.
What can I do?
Aug 16, 2012 06:34 PM|LINK
Enable help on that enpoint and browse to it (e.g. Http://localhost:port/service1.svc/help). On that page you will see how your request and response should be formated. I think that you are posting in a REST XML format and you should post in SOAP
XML format. Maybe the client is also missing some headers. Hard to say. You will need to post your WCF configuration, request/response examples from help page and raw request from your client for me to give you a straight answer.
Aug 16, 2012 06:47 PM|LINK
Is an XHarbour Application that will consume my wcf service. I think that only soap is avaialble in this case.
Aug 16, 2012 09:08 PM|LINK
Is your wcf service is normal service or REST?