Question
webservices and cfc
I have the following wsdl:
<xs:simpleType name="moneyType">
<xs:restriction base="decimal">
<xs:fractionDigits value="2"/>
<xs:totalDigits value="15"/>
</xs:restriction>
</xs:simpleType>
which in turned is used by another type:
<xs:element name="myElement">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="0" name="requestedAmount" type="st:moneyType"/>
</xs:sequence>
</xs:complexType>
</xs:element>
My question is how do I represent in structures or cfc's? The webservice expects the moneyType, so how do I represent the moneyType in structures so the web service I consume will receive it properly? Can I just send it as a numeric type, or will the web service choke on it?
Thanks,
Jim
<xs:simpleType name="moneyType">
<xs:restriction base="decimal">
<xs:fractionDigits value="2"/>
<xs:totalDigits value="15"/>
</xs:restriction>
</xs:simpleType>
which in turned is used by another type:
<xs:element name="myElement">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="0" name="requestedAmount" type="st:moneyType"/>
</xs:sequence>
</xs:complexType>
</xs:element>
My question is how do I represent in structures or cfc's? The webservice expects the moneyType, so how do I represent the moneyType in structures so the web service I consume will receive it properly? Can I just send it as a numeric type, or will the web service choke on it?
Thanks,
Jim
