java.lang.NoSuchFieldError:No instance field headerOut of type [Lorg/kxml2/kdom/Element;inclassLorg/ksoap2/serialization/SoapSerializationEnvelope;or its superclasses (declaration of 'org.ksoap2.serialization.SoapSerializationEnvelope' appears in/system/framework/wifi-service.jar)
at com.-----.---------.-----.----.services.AuthenticateUser.createHeader(AuthenticateUser.java:77)
at com.-----.---------.-----.----.services.AuthenticateUser.authenticateUser(AuthenticateUser.java:49)
at com.-----.---------.-----.----.services.---------GenericServiceThread.callWS(GenericServiceThread.java:219)
at com.-----.---------.-----.----.services.---------GenericServiceThread.invokeWebServiceApi(GenericServiceThread.java:106)
at com.-----.---------.-----.----.services.---------GenericServiceThread.run(GenericServiceThread.java:89)

Android 5.0 버전의 Nexus 4 에뮬레이터에서 동일한 앱을 테스트했으며 정상적으로 작동합니다.

아래 코드를 사용하여 webservice를 호출합니다.

mHttpTransportSE =newAndroidHttpTransport(url);
mHttpTransportSE.debug =true;// this is optional, use it if you don't
mHttpTransportSE.call(Configuration.COM_SOAP_ACTION_AUTHENTICATEUSER, envelope);
result = envelope.getResponse();