kSOAP & IIS & .NET (once again)

"Kappy" <[email protected]> Wed, 7 May 2003 20:38:21 +0100
Newsgroups gmane.comp.java.enhydra.ksoap
Message-ID <000f01c314d0$37f2d4c0$4401a8c0@desktop>
Hi.

I've found a strange error:
In the simplest .NET Framework exemple of a webservice (retrurning a "Hello
World" string with no params), being comsumed by kSOAP 1.2 running with
nokia 6310 SDK.
The strange is that I've managed to do the correct calling, to the WS but
when it begins to parse the responce it throws an ParseException :
unexpected: ParseEvent type=128 text='HTTP/1.1 200 OK Server:
Microsoft-IIS/5.1 Date: Wed, 07 May 2003 19:30:00 GMT Cache-Control:
private, max-age=0 Content-Type: text/xml; charset=utf-8 Content-Length: 371
' @-1:-1

It is normal that it try to parse the HTML headers?
and what about that strange char in the end? "' @-1:-1"
I've used a packed snifer and the server is returning the right thing:
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: 371

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope 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/">
  <soap:Body>
    <HelloWorldResponse xmlns="http://desktop/WebService3/">
      <HelloWorldResult>Hello World</HelloWorldResult>
    </HelloWorldResponse>
  </soap:Body>
</soap:Envelope>

Sorry my bad english...
João Matos Silva
Portugal