Eclipse (3.6)로 android app에 ksoap2를 구현하려고합니다.KSOAP2 오류에 HttpTransport.class 파일의 소스가 없습니다.
:이 오류 로그에서The source attachment does not contain source for the file HttpTransport.class
:
SoapObject request = new SoapObject(NAMESPACE, METHOD_NAME);
SoapSerializationEnvelope envelope = new SoapSerializationEnvelope(SoapEnvelope.VER11);
envelope.dotNet=true;
envelope.setOutputSoapObject(request);
HttpTransport androidHttpTransport = new HttpTransport(URL);
androidHttpTransport.call(SOAP_ACTION, envelope);
androidHttpTransport.call(SOAP_ACTION, envelope);
라인을 타격, 내가 말하는 오류가 발생합니다 :
이
는 소스 코드의 일부이다VFY: dead code 0x0005-0005 in Lorg/ksoap2/transport/ServiceConnectionMidp; .setRequestProperty (Ljava/lang/String;Ljava/lang/String;)V
도대체 무슨 문제입니까?
cheak 당신의 ksoap lib 디렉토리. 그것은 httptransport 클래스가 있습니까? –
아마'HttpTransportSE' – bigstones