M
Mike
I have created a web service for a client to consume. The element I am
having trouble with is, as described in their WSDL:
<xsd:element minOccurs="0" ref="LocalData" maxOccurs="1" />
<xsd:element name="LocalData">
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:enumeration value="Y" />
<xsd:enumeration value="N" />
</xsd:restriction base="xsd:string">
</xsd:simpleType>
</xsd:element>
When I created a class around this it created a LocalDataSpecified bool.
This bool needs to be set in order for my web service to properly handle the
object.
The problem is, is that the client isn't so much "consuming" the web service
in a developement environment like VS.NET 2003, but rather just throwing
SOAP messages at it. So when I get the message LocalData might specified
but the "LocalDataSpecified" flag is not getting set so I can't tell how to
handle it. The value defaults to "Y" because it is declared at the top of
the enumeration.
Is there any attributes I need to set or any thing else in general that I am
missing?
Thanks a lot for your help.
Mike R
having trouble with is, as described in their WSDL:
<xsd:element minOccurs="0" ref="LocalData" maxOccurs="1" />
<xsd:element name="LocalData">
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:enumeration value="Y" />
<xsd:enumeration value="N" />
</xsd:restriction base="xsd:string">
</xsd:simpleType>
</xsd:element>
When I created a class around this it created a LocalDataSpecified bool.
This bool needs to be set in order for my web service to properly handle the
object.
The problem is, is that the client isn't so much "consuming" the web service
in a developement environment like VS.NET 2003, but rather just throwing
SOAP messages at it. So when I get the message LocalData might specified
but the "LocalDataSpecified" flag is not getting set so I can't tell how to
handle it. The value defaults to "Y" because it is declared at the top of
the enumeration.
Is there any attributes I need to set or any thing else in general that I am
missing?
Thanks a lot for your help.
Mike R