Need more flexibility in interpreting jaxrpc mappings of ArrayOfFoo elements
----------------------------------------------------------------------------

         Key: GERONIMO-822
         URL: http://issues.apache.org/jira/browse/GERONIMO-822
     Project: Geronimo
        Type: Bug
  Components: webservices  
    Versions: 1.0-M4, 1.0-M5    
    Reporter: David Jencks
 Assigned to: David Jencks 
     Fix For: 1.0-M5


The IBM jaxrpc-mapping file generator likes to produce things like this:

    <java-xml-type-mapping>
        <java-type>com.ibm.websphere.samples.trade.OrderDataBean[]</java-type>
        <root-type-qname 
xmlns:rtq="http://trade.samples.websphere.ibm.com";>rtq:ArrayOfOrderDataBean</root-type-qname>
        <qname-scope>complexType</qname-scope>
        <variable-mapping>
            <java-variable-name>orderDataBean</java-variable-name>
            <xml-element-name>OrderDataBean</xml-element-name>
        </variable-mapping>
    </java-xml-type-mapping>  

which we currently don't accept.  The spec is silent on whether such a mapping 
should exist or its contents.  It is certainly questionable what the 
variable-mapping element is supposed to mean, since the java-type is not a 
javabean.  However, in the interests of portability we should endevour to 
accept such constructs and extract as much information as possible from them, 
ignoring the meaningless parts.


-- 
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

Reply via email to