"AndroidHttpTransport cannot be resolved to a type" error in ksoap2
Asked Answered
S

1

7

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?

Saloon answered 9/2, 2013 at 10:35 Comment(1)
Prefer URL. Here is good example in question of your answer... [Nice Example of Ksoap2 request in android][1] [1]: #14196887Tomsk
N
28

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.

Numerical answered 9/2, 2013 at 10:40 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.