Re: Re: Ksoap: Ksoap,problem of deserialization
"dovle" <[email protected]>
| Newsgroups | gmane.comp.java.enhydra.ksoap |
|---|---|
| Message-ID | <[email protected]> |
Another guess: You might be using a classmap with the XML schema 1999 and the SOAP server you are using respond with a different XML schema (like 2000 or 2001). If so, then ksoap does not find the mapping for xsd:int (or something like this) and returns an SoapObject. And then crashes ... dunno where... dovle ----- Original Message ----- From: "Shilpa Apte" <[email protected]> To: <[email protected]> Sent: Monday, October 14, 2002 7:10 PM Subject: Ksoap: Re: Ksoap: Ksoap,problem of deserialization > 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 > > _______________________________________________ > Ksoap mailing list > [email protected] > http://www.enhydra.org/mailman/listinfo.cgi/ksoap >