Hi, all! I had many experiences. I am calling the WS on JBoss SoapObject request = new SoapObject(NAMESPACE, METHOD_NAME); SoapSerializationEnvelope envelope = new SoapSerializationEnvelope(SoapEnvelope.VER11); envelope.setOutputSoapObject(request); HttpTransportSE androidHttpTransport = new HttpTransportSE (urlS); try { androidHttpTransport.call(SOAP_ACTION, envelope); Object result = envelope.getResponse(); it was successful!!! Next step. I call the Drupal service from soapUI. it was successful!!! Next step. the Drupal service called from application (the cod see above ) In the netbeans debugger i see error for envelope.getResponse(): >Exception occurred in target VM: java.lang.NullPointerException: at org.ksoap2.serialization.SoapSerializationEnvelope.getResponse (SoapSerializationEnvelope.java:384) at ru.drupal.DrupalActivity.onCreate(DrupalActivity.java:72) at android.app.Instrumentation.callActivityOnCreate (Instrumentation.java:1122) at android.app.ActivityThread.performLaunchActivity (ActivityThread.java:2104) at android.app.ActivityThread.handleLaunchActivity (ActivityThread.java:2157) at android.app.ActivityThread.access$1800(ActivityThread.java:112) at android.app.ActivityThread$H.handleMessage(ActivityThread.java: 1581) at android.os.Handler.dispatchMessage(Handler.java:88) at android.os.Looper.loop(Looper.java:123) at android.app.ActivityThread.main(ActivityThread.java:3739) at java.lang.reflect.Method.invokeNative(Native Method) at java.lang.reflect.Method.invoke(Method.java:515) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run (ZygoteInit.java:739) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:497) at dalvik.system.NativeStart.main(Native Method) Next step.In the wireshark i did compare the requests from the soapUI and the application. Differences: The request from soapUI have in the body of request: POST /mt/services/soap/index.php/ HTTP/1.1\r\n with eXtensible Markup Language with encapsulate xml. In the request from application i cannot see it. How i can solved this problem? Thanks!
--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---