I have a script that would call a web service thru the Binding class, but when the response xml is recieved the ZSI library outputs/throws this error "text/plain", not "text/xml", but the Content-type in the header is text/xml. (See below)
Sample response xml:
Date: Tue, 11 Mar 2008 06:02:16 GMT
Content-Type: text/xml; charset=utf-8
<?xml version="1.0" encoding="UTF-8"?>
soap:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<timeSessionCreated xsi:type="xsd:string">3/11/2008 14:02:17</timeSessionCreated>
Am I missing something? (configurations or settings in the library or whatsoever...). Thanks for your help.
so this happen with java when then the call was passes through an http proxy.
are you behind a proxy?
im not behind a proxy... hmmmmm...
well anyway thanks for your time...
Log in to post a comment.
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.