Binding issue with WCF

EDN Admin

Well-known member
Joined
Aug 7, 2010
Messages
12,794
Location
In the Machine
I am getting an issue with WCF and I have searched endlessly without any luck. I have tried and tried to figure this out and unfortunately have been unable to find the answer. I really hope someone here can point me in the right direction as I am on breaking
point of becoming insance. Please help.

The error message
The content type text/html; charset=iso-8859-1 of the response message does not match the content type of the binding (text/xml; charset=utf-8). If using a custom encoder, be sure that the IsContentTypeSupported method is implemented properly. The first
410 bytes of the response were: <soapenv:Envelope xmlns:soapenv=" http://schemas.xmlsoap.org/soap/envelope/ http://schemas.xmlsoap.org/soap/envelope/ <br/>
<soapenv:Body><br/>
<soapenv:Fault><br/>
<faultcode>Server</faultcode><br/>
<faultstring>java.lang.RuntimeException: net.sf.saxon.trans.XPathException: XPath syntax error at char 1 on line 2 in {n}:<br/>
Unexpected token "&lt;eof>" in path expression</faultstring><br/>
</soapenv:Fault><br/>
</soapenv:Body><br/>
</soapenv:Envelope>.

The message I am sending (I obtained through fiddler):
<pre class="prettyprint <s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/
<s:Header>
<Brand xmlns="http://xmldefs.volkswagenag.com/Technical/Addressing/V1 P</Brand>
</s:Header>
<s:Body xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema
<GetEntry xmlns="http://xmldefs.volkswagenag.com/Retail/VehicleLifecycleService/V1
<VehicleRef xmlns="http://xmldefs.volkswagenag.com/DD/Vehicle
<VIN>WP0AA2A91AS706152</VIN>
</VehicleRef>
<LanguageID>en-EN</LanguageID>
</GetEntry>
</s:Body>
</s:Envelope>[/code]

Thank you in advance for your help. Please make me sane again.


View the full article
 

Similar threads

B
Replies
0
Views
93
Bobby Biztalk
B
W
Replies
0
Views
1,615
WRBehning
W
B
Replies
0
Views
102
Born2Achieve
B
F
Replies
0
Views
150
Francesco Leo
F
Back
Top