Dynamic wsdl generated by axis incorrect when returning an array
----------------------------------------------------------------

                 Key: AXIS-2750
                 URL: https://issues.apache.org/jira/browse/AXIS-2750
             Project: Axis
          Issue Type: Bug
          Components: WSDL processing
    Affects Versions: 1.4
         Environment: AXIS Version 1.4
Java version 1.6.0_01

            Reporter: Sashi C


I queried the mailing lists and JIRA but did not find this issue.
Apologies if this is a duplicate (if it is a duplicate, would appreciate
if you point me to the case #).

I have an operation, ProtectFormattedDataListV2, that returns two OUT
parameters:
(1) dataOut - an array of strings
(2) fullApplicationIdentityOut - a string

I defined the response in my wsdl as follows:

<xsd:element name="ProtectFormattedDataListV2Response">
   <xsd:complexType>
     <xsd:sequence>
       <xsd:element name="dataOut" type="xsd:string" maxOccurs="unbounded"/>
       <xsd:element name="fullApplicationIdentityOut" type="xsd:string"/>
     </xsd:sequence>
   </xsd:complexType>
</xsd:element>

For "dataOut", axis generates a StringArrayHolder.

Now, I look at the wsdl after hosting the web service via axis in tomcat
at the following url (my webapp is called vibesimple)


https://soafun.int/vibesimple/services/VibeSimpleSOAP?wsdl

The same element is dynamically determined by axis as follows:

<element name="ProtectFormattedDataListV2Response">
        <complexType>
        <sequence>
<element name="dataOut" type="xsd:string"/>
<element name="fullApplicationIdentityOut" type="xsd:string"/>
</sequence>
</complexType>
</element>

Note that it has not included the maxOccurs="unbounded" in the
dynamically generated wsdl.

Note also that I am able to use this call, provided I compile my client
stubs using the static wsdl file instead of the dynamically generated wsdl.


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


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to