I'm testing serialization mechanism (JAX-RPC as far as I know) in JBoss 4.0.4 CR2 used when a web service is invoked (a class annotated with @WebService and @WebMethod).
I'd like to know if it is possible to set up JBossWS so a web method can return a graph of objects, i.e., an object tree with possible cycles between them.
For example, the web method M returns an object from class A, the object from class A has a reference to an object from class B, and B references A.
I have tried it with a sample test but got a stack trace in server log.
Thanks in advance
XML schema does not support graphs, so a WS abstract contract as defined in wsdl + schema cannot define graphs either.
rpc/encoded supported graphs but that is no longer allowed by the basic profile.