J
joey.edelstein
Hi,
I created a .Net web service by compiling a WSDL file with "WSDL
/server" then implementing the resulting abstract class.
Relevant sections of the WSDL are a the bottom of this message.
When I call the web service using SOAP Scope or by code, no matter what
values I give for for optional parameters it receives a 0 length array
for the AppType parameter instead of the expected data.
The same web service implemented using gSOAP works fine.
Any advice would be appreciated.
Thanks
Joey
(snip)
<xs:element name="CbPolicyDisable">
<xs:complexType>
<xs:sequence>
<xs:element name="HardwareID" type="xs:unsignedInt"
minOccurs="0"/>
<xs:element name="AppType" type="cb:CircuitBreakerApplicationType"
minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
</xs:element>
(snip)
<xs:simpleType name="CircuitBreakerApplicationType">
<xs:restriction base="xs:unsignedByte">
<xs:enumeration value="0">
<xs:annotation>
<xs:documentation>"thing"</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="1">
<xs:annotation>
<xs:documentation>"other thing"</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="2">
<xs:annotation>
<xs:documentation>"one last thing"</xs:documentation>
</xs:annotation>
</xs:enumeration>
</xs:restriction>
</xs:simpleType>
I created a .Net web service by compiling a WSDL file with "WSDL
/server" then implementing the resulting abstract class.
Relevant sections of the WSDL are a the bottom of this message.
When I call the web service using SOAP Scope or by code, no matter what
values I give for for optional parameters it receives a 0 length array
for the AppType parameter instead of the expected data.
The same web service implemented using gSOAP works fine.
Any advice would be appreciated.
Thanks
Joey
(snip)
<xs:element name="CbPolicyDisable">
<xs:complexType>
<xs:sequence>
<xs:element name="HardwareID" type="xs:unsignedInt"
minOccurs="0"/>
<xs:element name="AppType" type="cb:CircuitBreakerApplicationType"
minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
</xs:element>
(snip)
<xs:simpleType name="CircuitBreakerApplicationType">
<xs:restriction base="xs:unsignedByte">
<xs:enumeration value="0">
<xs:annotation>
<xs:documentation>"thing"</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="1">
<xs:annotation>
<xs:documentation>"other thing"</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="2">
<xs:annotation>
<xs:documentation>"one last thing"</xs:documentation>
</xs:annotation>
</xs:enumeration>
</xs:restriction>
</xs:simpleType>