users@jax-rpc.java.net

Re: Plugging JAXB into JAXRPC via the Extensible Type Mapping / Serialization Framework ?

From: Doug Kohlert <doug.kohlert_at_sun.com>
Date: Fri, 11 Jul 2003 11:16:18 -0700

Thomas,
I have not actually tried it myself, but in theory, if you use JWSDP 1.2 and
the -f:nodatabinding option on wscompile, wscompile will bind everything to
SOAPElememt. Your application could then pass these elements onto JAXB classes
for deserialization.

I hope this helps.

Thomas Portmann wrote:
> Hi,
>
>
> I have an application with a JAXB-based XML binding, and I would like to use this binding in a JAXRPC-based client-server communication.
>
> Could you please give me the following information:
>
> Is this possible?
> If this is possible: How can I convince the wscompile script to use my serialization classes, e.g. JAXRPC API based Serializer- and DeserializerFactories? (It ignores the <typeMappingRegistry> in my config.xml.)
> Can I use the wscompile at all? - Or have I to write the ties and stubs by myself?
> If I have to do so, where is the API to use / how can I deploy this? (It seems, this doesn't make any sense...)
> If the Extensible Type Mapping is not the right way to convince the JAXRPC RI to use JAXB, is there any way at all?
>
>
> Thank you in advance for your help
>
> Thomas
>
>
>
>
> --
>
> Diese E-Mail enth?lt vertrauliche und/oder rechtlich gesch?tzte Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrt?mlich erhalten haben, informieren Sie bitte sofort den Absender und vernichten Sie diese Mail. Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail ist nicht gestattet.
>
> This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden.


-- 
Doug Kohlert
Java Software Division
Sun Microsystems, Inc.
phone: 503 345-9806