You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cxf.apache.org by hr...@elaxy.de on 2009/06/18 10:31:39 UTC

Own Aegis-Type Classes with java2ws

Hallo,

I use CXF with Aegis DataBinding. For some technical classes I wrote my own
org.apache.cxf.aegis.type.Type subclasses. It woks fine with my service.
But I have a Problem on the WSDL-generation. I'm using java2ws to generate
wsdl from my java busines objects. It works, but my Type subclasses are not
used, so my wsdl-file is wrong.

How can I use my own Type subclasses for the wsdl-generation? I can't not
find way to register a org.apache.cxf.aegis.type.Type subclass in java2ws.

Please help.

Hristo Teliatinov




--
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.


Re: Own Aegis-Type Classes with java2ws

Posted by Benson Margulies <bi...@gmail.com>.
You have to supply an application context file that configures the data
binding to include your type.

On Thu, Jun 18, 2009 at 4:31 AM, <hr...@elaxy.de> wrote:

>
> Hallo,
>
> I use CXF with Aegis DataBinding. For some technical classes I wrote my own
> org.apache.cxf.aegis.type.Type subclasses. It woks fine with my service.
> But I have a Problem on the WSDL-generation. I'm using java2ws to generate
> wsdl from my java busines objects. It works, but my Type subclasses are not
> used, so my wsdl-file is wrong.
>
> How can I use my own Type subclasses for the wsdl-generation? I can't not
> find way to register a org.apache.cxf.aegis.type.Type subclass in java2ws.
>
> Please help.
>
> Hristo Teliatinov
>
>
>
>
> --
> 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.
>
>