dev@jax-ws.java.net

Re: Question: Default wrapper bean package

From: Doug Kohlert <Doug.Kohlert_at_Sun.COM>
Date: Mon, 05 Mar 2007 08:24:58 -0800

James,
The customizations being spoken of are the Request/ResponseWrapper
annotations.
If you look at the generated wrapper beans, they declare the same
namespace as the SEI.

Thank you for using JAX-WS.

James Mao wrote:
> Hi,
>
> In jsr-224 3.6.2.1 said "In the absence of customizations, the wrapper
> beans package MUST be a generated jaxws subpackage of the SEI package"
>
> I don't know how to understand "In the absence of customizations", is
> that mean the method has no RequestWrapper annotation?
> or it can also mean there is a RequestWrapper annotation, but it does
> not have a className attribute?
>
> anyway, if the wrapper bean class is generated into jaxws subpackage,
> how does this map to wsdl?
> the targetNamespace of the element will reflect the jaxws subpackage,
> or not?
> if it does, then it conflict with the annotation definition in section
> 7.3, it said the targetNamespace by default is the targetNamespace of
> SEI.
> The SEI targetNamespace definitely will not include jaxws
>
> So, I guess there will have a conflict in java class and the generated
> wsdl, when the wrapper annotation is in absence.
>
> Thanks in advance for any help
>
> James
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_jax-ws.dev.java.net
> For additional commands, e-mail: dev-help_at_jax-ws.dev.java.net
>