axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Demetris <>
Subject kSOAP2 to Axis
Date Thu, 10 Sep 2009 20:34:10 GMT

Has anyone used the kSOAP API to access an Axis WS? If you have I am 
wondering if you ever
ran into this exception - I think I have the client setup correctly and 
yet the XmlPullParser is complaining.
Any ideas on this would be greatly appreciated. Thanks

request: <?xml version="1.0" encoding="UTF-8" 
/><v:Body><n0:getBooks id="o0" c:root="1" xmlns:n0="http://myBooks" 

response: <html>
<title>400 Bad Request</title>
<h1>400 Bad Request</h1>

org.xmlpull.v1.XmlPullParserException: expected: START_TAG 
{}Envelope (position:START_TAG 
<html>@1:6 in
        at Source)
        at Source)
        at org.ksoap2.SoapEnvelope.parse(Unknown Source)
        at org.ksoap2.transport.Transport.parseResponse(Unknown Source)
        at Source)
        at Utils.TestAxis.sendkSOAPOSGiPost(Unknown Source)
        at Utils.TestAxis.main(Unknown Source)
        at java.lang.reflect.Method.invoke(Compiled Method)(Unknown Source)
        at sun.misc.CVM.runMain(Unknown Source)

View raw message