I also submitted this as Bug 2836554 on the gSOAP SourceForge site -- but have
seen no response there.
Using wsdl2h in 2.7.13:
I have a complexType in my WSDL that looks like this:
<xs:complexType name="projectSpecDataObj">
<xs:sequence>
<xs:element name="streams" type="tns:streamSpecDataObj" nillable="true"
minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
The result in the header generated header file is:
class cov__projectDataObj
{ public:
/// Vector of cov__streamDataObj* with length 0..unbounded
std::vector<cov__streamDataObj* > streams;
....
}
I would have expected this to be:
std::vector<cov__streamDataObj > *streams ;
instead. In other words, I expected the vector itself to be nillable -- not
each of the individual elements it contains.