2013-06-18 56 views
0

我正在創建一個android web服務,如下所示:但是當我執行我的應用程序時,我在我的logcat中得到了這個。Android JAX-WS應用程序

06-18 15:11:23.980: E/AndroidRuntime(26893): FATAL EXCEPTION: main 
06-18 15:11:23.980: E/AndroidRuntime(26893): java.lang.NoClassDefFoundError: org.ksoap2.serialization.SoapObject 
06-18 15:11:23.980: E/AndroidRuntime(26893): at com.example.androidwsclient.MainActivity.onCreate(MainActivity.java:28) 
06-18 15:11:23.980: E/AndroidRuntime(26893): at android.app.Activity.performCreate(Activity.java:4470) 
06-18 15:11:23.980: E/AndroidRuntime(26893): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1049) 
06-18 15:11:23.980: E/AndroidRuntime(26893): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1920) 
06-18 15:11:23.980: E/AndroidRuntime(26893): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:1981) 
06-18 15:11:23.980: E/AndroidRuntime(26893): at android.app.ActivityThread.access$600(ActivityThread.java:123) 
06-18 15:11:23.980: E/AndroidRuntime(26893): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1147) 
06-18 15:11:23.980: E/AndroidRuntime(26893): at android.os.Handler.dispatchMessage(Handler.java:99) 
06-18 15:11:23.980: E/AndroidRuntime(26893): at android.os.Looper.loop(Looper.java:137) 
06-18 15:11:23.980: E/AndroidRuntime(26893): at android.app.ActivityThread.main(ActivityThread.java:4424) 
06-18 15:11:23.980: E/AndroidRuntime(26893): at java.lang.reflect.Method.invokeNative(Native Method) 
06-18 15:11:23.980: E/AndroidRuntime(26893): at java.lang.reflect.Method.invoke(Method.java:511) 
06-18 15:11:23.980: E/AndroidRuntime(26893): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:817) 
06-18 15:11:23.980: E/AndroidRuntime(26893): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:584) 
06-18 15:11:23.980: E/AndroidRuntime(26893): at dalvik.system.NativeStart.main(Native Method) 

任何幫助?請給我這麼新的。我正在創建一個使用JAX-WS顯示數據的Android應用程序。也在我的源代碼:

private static String URL="http://my ipconfig:3333/HelloWebService/HelloWSService?WSDL"; 
private static final String METHOD_NAME = "hello"; 

我發現我的ip從cmd。請問這是否正確?

回答