-Matt
On Jan 23, 2004, at 2:52 PM, Houk, Gary wrote:
All,
We have a web service that is written in VB.NET
The web service accepts a complex type as a parameter.
This type is called “WebOrder”.
In .NET, this WebOrder class inherits from a base class called Order.
When exposed via a web service, the WSDL for the WebOrder looks like this:
<s:complexType name="WebOrder">
- <s:complexContent mixed="false">
- <s:extension base="s0:Order">
- <s:sequence>
<s:element minOccurs="0"maxOccurs="1"name="WebOrderNumber"type="s:string"/>
</s:sequence>
</s:extension>
</s:complexContent>
</s:complexType>
(please note the extension base bit)
The problem is, when CF automatically generates the structs for the web service, it seems that it doesn’t recognize that WebOrder is derived from Order.
If I use <cfset> to explicitly add all of the members or Order I get an error that says that CF can’t find a method that accepts those parameters.
If I only use the unique property of WebOrder, the .NET web service will not accept the order, because it doesn’t contain any of the required data for the Order base class.
Thanks,
- Gary
---------------------------------------------------------- You are subscribed to cfcdev. To unsubscribe, send an email to [EMAIL PROTECTED] with the words 'unsubscribe cfcdev' in the message of the email.
CFCDev is run by CFCZone (www.cfczone.org) and supported by Mindtool, Corporation (www.mindtool.com).
An archive of the CFCDev list is available at www.mail-archive.com/[EMAIL PROTECTED]
