axis-c-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Roland Kosovsky <>
Subject Arrays
Date Thu, 15 Jan 2004 15:46:33 GMT
Does anyone know why WSDL2Ws generates a string* instead of a 
vector<string>? Is there any reason for that?

    <xsd:complexType name="StrArray">
        <xsd:restriction base="soapenc:Array">
          <xsd:attribute ref="soapenc:arrayType" arrayType="xsd:string[]"/>

WSDL2Ws will generate the following:
    typedef struct StrArrayTag
        string* m_Array;
        int m_Size;
    } StrArray;

I would prefere this form:
    struct StrArray
        vector<string> values;

Sanjiva Weerawarana wrote:

>Can you please submit a bug report with a patch for this? That'll
>make sure it gets fixed for everyone ..
Ok, I will do that.


View raw message