Hi,

I believe this check is only a constraint in determining if this WSDL
operation qualifies for "wrapped" mapping according to the JAX-WS spec.   If
this does not hold we can still accept this WSDL, but we'll treat it as
"nonwrapped" and when mapping to Java, say, we'll use the nonwrapped style
mapping.

Scott

On Tue, Apr 1, 2008 at 10:14 PM, Wang Feng <[EMAIL PROTECTED]> wrote:

> Hi,all
>
> When Parsing the wsdl file,there is a constraint that the element name of
> the part on the operation input messge must equals the operation's name.
> I don't find the constraint on the wsdl spec,so I think the constraint
> should be removed.
>
> The snippet :
> Part part = (Part)parts.iterator().next();
> QName elementName = part.getElementName();
> if (elementName == null) {
>    return null;
> }
> if (!operation.getName().equals(elementName.getLocalPart())) {
>    return null;
> }
>
> If this is a bug,I will put a jira.
>
> --------------
> Wang Feng
> 2008-04-02
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

Reply via email to