If returning a structure isn't working I would suggest returning a CFC
instead. For example, suppose you had the following structure.

<cfscript>
foo = StructNew();
foo.bar = "something";
foo.foobar = "something else";
</cfscript>

You could replace the above with the following CFC.

<cfcomponent>
<cfproperty name="bar" type="string">
<cfproperty name="foobar" type="string">
<cfscript>
bar = "something";
foobar = "something else";
</cfscript>
</cfcomponent>

By returning the above CFC instead of a structure, CFMX will create
WSDL that defines a complex type with keys of a type defined by the
CFProperty tags.

Matt Liotta
President & CEO
Montara Software, Inc.
http://www.MontaraSoftware.com
(888) 408-0900 x901

[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Reply via email to