dev@jax-ws.java.net

Question: localName of RequestWrapper annotation

From: James Mao <james.mao_at_iona.com>
Date: Mon, 05 Mar 2007 17:35:01 +0800

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.