ankit rawat
ankit rawat

Reputation: 401

"AndroidHttpTransport cannot be resolved to a type" error in ksoap2

This is in eclipse for an android app. I am using ksoap2 to access a function in an online wsdl. While making a soapobject() to do that, I am coming across this error. I have added the ksoap2 jar file in build path and all the rest of the code related to ksoap2 is working perfectly. I tried a google search, but found nothing. So how to prevent this error?

Upvotes: 7

Views: 6362

Answers (1)

Bhavesh Patadiya
Bhavesh Patadiya

Reputation: 25830

AndroidHttpTransport is Replaced By HttpTransportSE Now.

you can Use HttpTransportSE as Below Way :

HttpTransportSE HttpTransport = new HttpTransportSE(YOUR_URL);

Hope it will Work for you.

Upvotes: 28

Related Questions