users@jax-rpc.java.net

Re: javax.xml.rpc.holders.*

From: Wei Chen <wchen_at_VITRIA.COM>
Date: Fri, 06 Sep 2002 14:03:01 -0700

What happens if the interface is generated from WSDL that I have no control? Basically I am obligated to implement this WSDL w/o modification.

Another question why not making them serializable? Is there any drawbacks?

Thanks.

- Wei Chen

-----Original Message-----
From: Rasmussen, Bjarne [mailto:brasmussen_at_SILVERSTREAM.COM]
Sent: Friday, September 06, 2002 1:05 PM
To: JAXRPC-INTEREST_at_JAVA.SUN.COM
Subject: Re: javax.xml.rpc.holders.*


You shouldn't use the holders when defining your remote interfaces since you
can't specify whether the holder refers to an out or an in/out parameter.
Return a struct instead if your method has multiple output parameters.

 - Bjarne.

> -----Original Message-----
> From: Wei Chen [mailto:wchen_at_VITRIA.COM]
> Sent: Friday, September 06, 2002 1:02 PM
> To: JAXRPC-INTEREST_at_JAVA.SUN.COM
> Subject: javax.xml.rpc.holders.*
>
>
> Hi,
>
> I noticed that none of the Holder class are implementing
> java.io.Serializable. Was that a mistake or intentional? It
> seems preventing me from using Holders to define a SEI that
> compliant with JAX-PRC 5.4.2, e.g. defining a WS view
> according to EJB 2.1 spec.
>
> Thanks.
>
> - Wei Chen