<xsd:complexType name="data-errors">
<xsd:sequence minOccurs="0" maxOccurs="unbounded" >
<xsd:element name="error-field" type="common:error-field-type" minOccurs="0"/>
</xsd:sequence>
</xsd:complexType>
<xsd:element name="data-errors" type="commontypes:data-errors" />
I am able to generate the DataErrors class(WSDL-->JAva) but without arrayType as below:
public DataErrors(ErrorFieldType errorField) {
this.errorField = errorField;
}
public ErrorFieldType getErrorField() {
return errorField;
}
Required to achive:
----------------------
public DataErrors(ErrorField[] errorField) {
this.errorField = errorField;
}
public ErrorField[] getErrorField() {
return errorField;
}
Tried
1) maxOccurs="unbound" but was not able to.
Please suggest me
<xsd:sequence minOccurs="0" maxOccurs="unbounded" >
<xsd:element name="error-field" type="common:error-field-type" minOccurs="0"/>
</xsd:sequence>
</xsd:complexType>
<xsd:element name="data-errors" type="commontypes:data-errors" />
I am able to generate the DataErrors class(WSDL-->JAva) but without arrayType as below:
public DataErrors(ErrorFieldType errorField) {
this.errorField = errorField;
}
public ErrorFieldType getErrorField() {
return errorField;
}
Required to achive:
----------------------
public DataErrors(ErrorField[] errorField) {
this.errorField = errorField;
}
public ErrorField[] getErrorField() {
return errorField;
}
Tried
1) maxOccurs="unbound" but was not able to.
Please suggest me