Following definition of complex type is correctly handled by the tool.

 

<element name="intItem" type="int" />

<complexType name="intArrayType">

<sequence>

                        <element ref="s:intItem" minOccurs="0" maxOccurs="unbounded" />

            </sequence>

</complexType>

 

 

Here, intItem is an array of integers. The generated code for this type is attached with this mail.

 

Regards,

Dushshantha


From: Samisa Abeysinghe [mailto:[EMAIL PROTECTED]
Sent: Tuesday, May 31, 2005 11:27 AM
To: Apache AXIS C Developers List
Subject: RE: Does Axis C++ handle wsdl:arrayType attributes???

 

Hi Dushshantha,

            What is the difference with this array type and the other array types that we are capable of handling?

 

Thanks,

Samisa…

 

-----Original Message-----
From: Dushshantha Chandradasa [mailto:[EMAIL PROTECTED]
Sent: Tuesday, May 31, 2005 11:22 AM
To: axis-c-dev@ws.apache.org
Subject: Does Axis C++ handle wsdl:arrayType attributes???

 

Hi All,

 

Wsdl2ws tool for Axis C++ is failing to generate classes for complex types defined as follows in the wsdl file.

 

<xs:complexType name="cTypeArray">

        <xs:complexContent>

              <xs:restriction base="soapenc:Array">

                <xs:attribute ref="soapenc:arrayType" wsdl:arrayType="test:cType[]"/>

          </xs:restriction>

        </xs:complexContent>

      </xs:complexType>

 

I found two jira issues ( AXISCPP-333 and AXISCPP-661 ) related to this. Do we handle this ??

 

Regards,

 

Marcus Dushshantha Chandradasa

Associate  Software Engineer

Virtusa (Pvt) Ltd.

[EMAIL PROTECTED]

Mob:  0714867441

 

 

 

Attachment: intArrayType.cpp
Description: intArrayType.cpp

Attachment: intArrayType.hpp
Description: intArrayType.hpp

Reply via email to