python zsi xml error help

  • Michael Angelo Calimlim

    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:

    Server: Microsoft-IIS/5.0
    Date: Tue, 11 Mar 2008 06:02:16 GMT
    Connection: close
    Content-Length: 655
    Content-Type: text/xml; charset=utf-8
    SOAPServer: SOAP::Lite/Perl/0.65_5

    <?xml version="1.0" encoding="UTF-8"?>
    soap:encodingStyle="" xmlns:soapenc="" xmlns:xsi="" xmlns:xsd="" xmlns:soap="">
    <namesp1:loginResponse xmlns:namesp1="/NS">
    <loginResultCode xsi:type="xsd:int">1234</loginResultCode>
    <session xsi:type="xsd:string">234234234234234234</session>
    <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.

    • Shay Halsband

      Shay Halsband - 2008-03-11

      so this happen with java when then the call was passes through an http proxy.
      are you behind a proxy?

    • Michael Angelo Calimlim

      im not behind a proxy... hmmmmm...

    • Michael Angelo Calimlim

      well anyway thanks for your time...


Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.

No, thanks