> For one, if you have structured types that you send around 
> (most likely
> bean-like), then you have
> to register particular de/serializers for them in the 
> web-service.xml (see
> the jboss.net testsuite which should contain an 
> xdoclet-enabled "HelloData"
> JavaBean in the hello chapter that is passed around by the 
> "Hello" EJB).

I didn't think that you had to register a de/serializer for java
beans, doesn't the Axis code check for this and uses the bean one
one if the class is a bean?  I can't remember if you have to call
setDoAutoTypes in the type mapping before using this (we have our
own type mapping that uses the BeanDe/serializers.)

> Call-by-reference emulation through returning changed 
> argument values can be
> implemented using custom serializers, but is IMHO not 
> supported by Jboss.net
> or Axis or even WSDL per default.

Axis does support the notion of IN/OUT and OUT parameters, which
is where these holders are used.  There is code in RPCProvider's
processMessage which appears to handle the creation of these
holders, for IN/OUT and OUT parameters.

Having said all that I do not allow the specification of these
parameters so I have never exercised that code.  My emitter
automatically generates the OperationDesc structures and forces
the parameters to IN.

The generated WSDL should contain a response message containing
more than one part.  I believe the name of the IN/OUT parts should
match the parts in the request message.  I'm not sure how this
is handled in the generated java, presumably the client also has
a Holder that has its valud modified.

BTW Christoph, did you get a chance to look at the exception ideas
I sent a few weeks ago?

Thanks,
        Kev

Kevin Conner
This is a personal e-mail. Any views or opinions presented are 
solely those of the author and do not necessarily represent those 
of Orchard Information Systems Ltd.


-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to