You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Davanum Srinivas (JIRA)" <ax...@ws.apache.org> on 2005/07/27 22:50:20 UTC

[jira] Resolved: (AXIS-1989) WSDL2Java new array wrapping fails if schema has namspace prefix

     [ http://issues.apache.org/jira/browse/AXIS-1989?page=all ]
     
Davanum Srinivas resolved AXIS-1989:
------------------------------------

    Resolution: Fixed

Applied Patch.

thanks,
dims

> WSDL2Java new array wrapping fails if schema has namspace prefix
> ----------------------------------------------------------------
>
>          Key: AXIS-1989
>          URL: http://issues.apache.org/jira/browse/AXIS-1989
>      Project: Apache Axis
>         Type: Bug
>   Components: WSDL processing
>     Versions: 1.2
>  Environment: All (java problem)
>     Reporter: Clive Brettingham-Moore
>  Attachments: SchemaUtilsPatch.txt
>
> The new array wrapping code fails if the schema is under a namespace prefix due to locating the sequence child usign a simple comparison of nodeName (so will fail for <xsd:sequence>). The method used SchemaUtils.getChildByName is private and is only used by this and by a getTextByPath so fixing the method to accept local name matches as well should not break any working code. (will put up patch). NS and parsing in general is a little sloppy in getCollectionComponentQName (eg a sequence containing an annotation will break it as it will only accept sequence with one child of type element.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira