You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by Demetris <de...@ece.neu.edu> on 2009/09/24 06:57:29 UTC

kSOAP2

Hi all,

I tried this on the ksoap2 mailing list but no responses  - it seems 
that list is not active. Since I have
been using Axis and SOAP for a while the list here has helped me in the 
past so I am wondering
if anyone else has seen this exception - this occurs on the client side 
once the SOAP call has returned.
I can see the call working fine on the server side and the service is 
called correctly - so something
does not seem right on the return.

Thanks


Sending request to =[http://192.168.1.47:8080/soap/services/remoteBooks]
Sending method =[getBooks{}]
Sending name =[getBooks]
Sending namespace =[http://www.w3.org/2001/12/soap-envelope]
Sending =[org.ksoap2.serialization.SoapSerializationEnvelope@2212cc1d]
Sending =[getBooks{}]
request: <v:Envelope xmlns:i="http://www.w3.org/1999/XMLSchema-instance" 
xmlns:d="http://www.w3.org/1999/XMLSchema" 
xmlns:c="http://schemas.xmlsoap.org/soap/encoding/" 
xmlns:v="http://www.w3.org/2001/12/soap-envelope"><v:Header 
/><v:Body><v:getBooks id="o0" c:root="1" /></v:Body></v:Envelope>

response:
org.xmlpull.v1.XmlPullParserException: unexpected type 
(position:END_DOCUMENT null@1:0 in java.io.InputStreamReader@478dc957)
        at org.kxml2.io.KXmlParser.exception(KXmlParser.java:239)
        at org.kxml2.io.KXmlParser.nextTag(KXmlParser.java:1354)
        at org.ksoap2.SoapEnvelope.parse(SoapEnvelope.java:183)
        at org.ksoap2.transport.HttpTransport.call(HttpTransport.java:220)
        at Utils.TestAxis.sendkSOAPOSGiPost(TestAxis.java:299)
        at Utils.TestAxis.main(TestAxis.java:471)
        at com.sun.cdc.odt.CdcAppManager.runMain(CdcAppManager.java:173)
        at com.sun.cdc.odt.CdcAppManager.access$100(CdcAppManager.java:44)
        at com.sun.cdc.odt.CdcAppManager$1.run(CdcAppManager.java:90)
        at java.lang.Thread.startup(Thread.java:782)
C:\dgg\erevna\demetris\NetBeans\Projects\p2pSOA_CDC_CLDC_server\src>