Re: Wsdeploy , wscompile generated files

From: Anne Thomas Manes <anne_at_MANES.NET>
Date: Thu, 26 Sep 2002 10:18:19 -0400


The wsdeploy, wscompile, xrpcc, etc. tools are unique to the JWSDP. Each
SOAP implementation has its own set of tools. For example, the comparable
tools in Systinet WASP are Java2WSDL, Java2Schema, WSDL Compiler,
DeployTool, WaspPackager, and HolderGenerator. The comparable tools in
Apache Axis are Java2WSDL, WSDL2Java, and AdminClient. (Both of these SOAP
implementations support the JAX-RPC API.)

JAX-RPC defines a number of collection classes, including vectors. You can
have a vector of user defined types. As long as you follow the bean pattern,
most implementations should have no problem serializing/deserializing it.

If you use a user defined type which doesn't follow the bean pattern, then
most implementations will allow you to define your own
serializer/deserializer. (WASP can usually generate it for you. With other
implementations you generally need to build it yourself.) The method by
which you specify the serializer is different in each implementation. (It's
part of the deployment configuration.)

Best regards,

> -----Original Message-----
> From: Public discussion on JAX-RPC
> [mailto:JAXRPC-INTEREST_at_JAVA.SUN.COM]On Behalf Of vibhor sharma
> Sent: Thursday, September 26, 2002 8:40 AM
> Subject: Wsdeploy , wscompile generated files
> Hi,
> The tools that have been provided by WSDP to create the web services
> like wsdeploy,wscompile are standard tools or they just support the web
> services pack. The reason i ask this is that if we create some skeletons
> using the wsdeploy tool and deploy the service and then later use some
> other tool to create the stubs(not using wscompile) would it work?
> b) If i have a vector and in the vector i would like to add user defined
> datatypes then would there be any issues related to
> serialization/deserialization? If i create a serializer for this user
> defined type and register it with the type mapping registry would this
> scenario work?? In this case i'm using a datatype which follows a bean
> pattern.
> c)I have observed that if i use user defined type which does not confirm
> to the bean pattern i get an error when i try to dispatch the request.
> Is it always mandatory to have a bean pattern for the user defined
> types?
> with best regards
> Vibhor