Are you sure your getters are working.

Suggest outputting the values prior to passing data to soap.

I'm hesitant since I'm aware that some issues cause soap failure rather than 
objects failure such as this!

1. Try returing know objects such as Strings and Vectors instead  - do they 
return values.

Cant remember if these is an issue or not
1. Does your object extends Object
2. Does your object implements java.io.Serializable (cant remember if this 
is an issue)

3. Is your object serialisable - does it have a default constructor - it 
needs one if i recall!

Hope these help and not hinder

Jonathan


>
> > Hi all,
> >
> > Sorry to bother u all, but I cant help it. Thanks to the mailing list
> > creator.
> > I searched some of the archive, but coouldn't find my problem .
> >
> > I am able to get user defined object as return value . But though this
> > object is having all its member variables with values,
> > response.getReturnValue() method gives me the right type of object
>withh all
> > member variables having initialization values.
> >
> > I mean "if int, value is 0...if String value is null".
> >
> > The response SOAP message is like this
> >
> > <SOAP-ENV:Envelope
> > xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/";
> > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
> > xmlns:xsd="http://www.w3.org/2001/XMLSchema";>
> > <SOAP-ENV:Body>
> > <ns1:testMethod1Response xmlns:ns1="urn:tantest"
> > SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/";>
> > <return xmlns:ns2="urn:xml-test-demo" xsi:type="ns2:newbean">
> > <num xsi:type="xsd:int">100</num>
> > <name xsi:type="xsd:string">Tans</name>
> > </return>
> > </ns1:testMethod1Response>
> >
> > Though proper value is there in SOAP message in int and String types,
>these
> > are not being reflected in the object obtained from response object.
> >
> > Please let me know where exactly I am committing the mistake.
> >
> > Thanks
> > Tans
> >
> >
> >
> >
> > --
> > To unsubscribe, e-mail:
><mailto:[EMAIL PROTECTED]>
> > For additional commands, e-mail:
><mailto:[EMAIL PROTECTED]>
> >
> >
>
>
>--
>To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
>For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>




_________________________________________________________________
Join the world’s largest e-mail service with MSN Hotmail. 
http://www.hotmail.com


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to