Sending objects with SOAP, need serialization?

Hi,I'm building a web aplication. A JSP document call to a server class using SOAP. Can the server class return a Object? Have I use Serialization? I don't know if the server class can only send String params using SOAP.Thanks!
[250 byte] By [jperojoa] at [2007-11-26 18:17:12]
# 1
what is SOAP?
Sq2000a at 2007-7-9 5:50:47 > top of Java-index,Java Essentials,Java Programming...
# 2
> what is SOAP?What is Google?
manuel.leiriaa at 2007-7-9 5:50:47 > top of Java-index,Java Essentials,Java Programming...
# 3
> > what is SOAP?> > What is Google?thanks just answered my own question no big deal. Simple Oject Access Protocol. Just that i havent used it beforeSq2000
Sq2000a at 2007-7-9 5:50:47 > top of Java-index,Java Essentials,Java Programming...
# 4

> Hi,

>

> I'm building a web aplication. A JSP document call to

> a server class using SOAP. Can the server class

> return a Object? Have I use Serialization? I don't

> know if the server class can only send String params

> using SOAP.

>

> Thanks!

The server can send anything basically, but you do need to specify a mapping for it in the WSDL document so it will know how to do that (and the client how to reconstruct it).

jwentinga at 2007-7-9 5:50:47 > top of Java-index,Java Essentials,Java Programming...
# 5
Example :class Sample implements java.io.Serializable {}simply you can java.io.Serializable. pass By Reference : While the value is passed by reference then orginal value can not be attected.
sun.selvama at 2007-7-9 5:50:47 > top of Java-index,Java Essentials,Java Programming...