Re: Ksoap: Ksoap,problem of deserialization
"Shilpa Apte" <[email protected]>
| Newsgroups | gmane.comp.java.enhydra.ksoap |
|---|---|
| Message-ID | <[email protected]> |
This is just a guess... Looks like your transport .call might be returning an int an you are trying to cast it to a SoapObject. May be you can check what type of object is transport.call() returning. result = (SoapObject) transport.call (Vxlogin); -Shilpa >From: delisle <[email protected]> >Reply-To: [email protected] >To: [email protected] >Subject: Ksoap: Ksoap,problem of deserialization >Date: Mon, 14 Oct 2002 15:18:41 +0100 > >Hi, > >I have got a problem of deserialization with Ksoap : >I receive this response from my server but I can't treat the parameter >"2" of the response : > >request: >......... >result = (SoapObject) transport.call (Vxlogin); > >response ><SOAP-ENV:Body><namesp10:nOfElementsResponse xmlns:namesp10="Vx/Proxy"> ><s-gensym19 xsi:type="xsd:int">2</s-gensym19> ></namesp10:nOfElementsResponse> ></SOAP-ENV:Body> > > >When I use the method getPropertyCount(), getProperty(int), >getProperty(String) there is no result > >the exception is a classcastexception > >What's the problem?, >please help me !!! > >Ed > > _________________________________________________________________ MSN Photos is the easiest way to share and print your photos: http://photos.msn.com/support/worldwide.aspx