Note that there are some explanatory texts on larger screens.

plurals
  1. POorg.xmlpull.v1.XmlPullParserException: unexpected type (position:END_DOCUMENT null@1:0 in java.io.InputStreamReader@c599f9fd)
    primarykey
    data
    text
    <p>I am new to blackberry , iam just trying to call a Web service that do some operations on SAP CRM , ,but iam getting this exception: org.xmlpull.v1.XmlPullParserException: unexpected type (position:END_DOCUMENT null@1:0 in java.io.InputStreamReader@c599f9fd) </p> <p>Here is the code...</p> <pre><code> SoapObject rpc = new SoapObject(serviceNamespace,"zws_incoming_email"); rpc.addProperty("username","sreenu"); rpc.addProperty("Password","ravi"); SoapSerializationEnvelope envelope = new SoapSerializationEnvelope(SoapEnvelope.VER11); envelope.bodyOut = rpc; envelope.dotNet = true; envelope.encodingStyle = SoapSerializationEnvelope.ENC; envelope.env = "http://schemas.xmlsoap.org/soap/envelope/"; HttpTransport ht = new HttpTransport(serviceUrl); //s ht.requestDump=msg; ht.debug = true; String request=""; ht.setXmlVersionTag("&lt;?xml version=\"1.0\" encoding=\"UTF-8\"?&gt;" ); String response=ht.responseDump; try { System.out.print("2222222"); ht.call(soapAction,envelope); String result = (envelope.getResponse()).toString(); System.out.println("in try block"+result); System.out.println("Request"+request); System.out.println("Response"+response); System.out.println("Result......"+result); } catch(org.xmlpull.v1.XmlPullParserException ex2){ String msg2 = ex2.toString(); request=ht.requestDump; response=ht.responseDump; System.out.println("Exception...... "+msg2); System.out.println("request...... "+request); System.out.println("response...... "+response); } catch(Exception ex) { String msg1 = ex.toString(); System.out.println(".......... catch block"+msg1); } } </code></pre> <p>Exception raises after ht.call() method,Please help me..............</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload