James,
The Request/ResponseWrapper javadocs state:
"When starting from Java this annotation is used resolve overloading
conflicts in document literal mode. Only the |className| is required in
this case."
So no, you do not need to specify the localName.
James Mao wrote:
> Hi,
>
> If i start with java, and in the sei i have a method
>
> @RequestWrapper(... localName="xxx")
> @ResponseWrapper(... localName="SayHiResponse")
> @webMethod(operationName="sayHi")
> void sayHi()
>
> Is it a valid java class to generate the wsdl?
>
> Should we ignore the localName="xxx" in the RequestWrapper annotation?
> If we ignore the localName attribute, then seems there is no need to
> define this localName.
>
> If we use the localName to generate the wsdl, the parameter style of
> the method will not be a wrapper style.
>
> 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
>