I'm calling an Axis web service (from a .Net client) that returns an array
of a complex type. The complex type wrapper appears to have been generated
with all members intact from the wsdl using "add web reference", but the
response classes never contain any data, whereas I know the response XML
does have data.
I have called a similar service which works fine, but the way the return
type is declared it the WSDL is different. The one that doesn't work uses a
declaration like this for the complex type "Creative":
- <schema elementFormDefa ult="qualified" targetNamespace ="urn:X.Y.Z.com "
xmlns="http://www.w3.org/2001/XMLSchema">
- <complexType name="Creative" >
- <sequence>
<element name="id" type="xsd:int" />
<element name="adGroupId " type="xsd:int" />
<element name="headline" nillable="true" type="xsd:strin g" />
<element name="descripti on1" nillable="true" type="xsd:strin g" />
<element name="descripti on2" nillable="true" type="xsd:strin g" />
<element name="destinati onURL" nillable="true" type="xsd:strin g" />
<element name="displayUR L" nillable="true" type="xsd:strin g" />
<element name="deleted" type="xsd:boole an" />
<element name="disapprov ed" type="xsd:boole an" />
</sequence>
</complexType>
</schema>
thanks for any help on this.
of a complex type. The complex type wrapper appears to have been generated
with all members intact from the wsdl using "add web reference", but the
response classes never contain any data, whereas I know the response XML
does have data.
I have called a similar service which works fine, but the way the return
type is declared it the WSDL is different. The one that doesn't work uses a
declaration like this for the complex type "Creative":
- <schema elementFormDefa ult="qualified" targetNamespace ="urn:X.Y.Z.com "
xmlns="http://www.w3.org/2001/XMLSchema">
- <complexType name="Creative" >
- <sequence>
<element name="id" type="xsd:int" />
<element name="adGroupId " type="xsd:int" />
<element name="headline" nillable="true" type="xsd:strin g" />
<element name="descripti on1" nillable="true" type="xsd:strin g" />
<element name="descripti on2" nillable="true" type="xsd:strin g" />
<element name="destinati onURL" nillable="true" type="xsd:strin g" />
<element name="displayUR L" nillable="true" type="xsd:strin g" />
<element name="deleted" type="xsd:boole an" />
<element name="disapprov ed" type="xsd:boole an" />
</sequence>
</complexType>
</schema>
thanks for any help on this.
Comment