geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lin Sun (JIRA)" <>
Subject [jira] Created: (GERONIMO-3097) Axis2: ParameterDescriptionComposite still isn't built correctly
Date Fri, 13 Apr 2007 03:43:15 GMT
Axis2: ParameterDescriptionComposite still isn't built correctly

                 Key: GERONIMO-3097
             Project: Geronimo
          Issue Type: Bug
      Security Level: public (Regular issues)
          Components: webservices
    Affects Versions: 2.0-M5
            Reporter: Lin Sun
             Fix For: 2.0-M5

Dims, the fact that java.lang.ArrayIndexOutOfBoundsException happened (the one you fixed tonite)
indicated we aren't building the ParameterDescriptionComposite correctly.  I think we are
building fine for simple cases where the complexType tag is inside of the element tag, like
our calculator example or greetme example.

             <xsd:element name="add">
                      <xsd:element name="value1" type="xsd:int"/>
                      <xsd:element name="value2" type="xsd:int"/>

However, we aren't handling these ComplexType that don't sit inside of element tag correctly.
 For example:

         <xsd:complexType name="product">
               <xsd:element name="name" type="xsd:string"/>
               <xsd:element name="description" type="xsd:string"/>
               <xsd:element name="price" type="xsd:double"/>
               <xsd:element name="SKU" type="xsd:string"/>

I tried to step through such a wsdl file and the java method has only 1 parameter, but we
are building 4 ParameterDescriptionComposites for it.  I don't understand the above ComplextType
well so if anyone has such an example with java source that would be great (the one I have
doesnt have source).

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message