1. Download our Official Android App: Forums for Android!

Apps KSOAP2 to WebService

Discussion in 'Android Development' started by eddyrick, Jun 10, 2011.

  1. eddyrick

    eddyrick Lurker
    Thread Starter
    Rank:
    None
    Points:
    5
    Posts:
    1
    Joined:
    Dec 17, 2010

    Dec 17, 2010
    1
    0
    5
    Evening Guys,

    I'm a beginner with Android Development and coming up short with an error when trying to connect to a WebService.

    When debugging, it seems to find the service and return "True" for a successful connection but when trying to return that value is errors

    I have narrowed it down to the following code:

    Code (Text):
    1. boolean IsValid=(Boolean)envelope.getResponse();
    to which I receive the following error:

    Code (Text):
    1. java.lang.ClassCastException: org.ksoap2.serialization.SoapPrimitive
    I've been looking over the web for hours and can't seem to find anyone hitting the same error...

    Any suggestions?

    Thanks
     

    Advertisement

Share This Page

Loading...