Question
Two different web services component types, same name, different contents
I am writing two different web services, "ClientOneOrderIn.cfc?WSDL" and "ClientTwoOrders.cfc?WSDL", for accepting orders based on client requirements. Both require an array of OrderLines called "Line", so the normal approach is:
<cfargument name="OrderLines" type="Line[]" required="yes">
and provide the properties of "Line" in file "Line.cfc".
The problem is that the properties (nodes) in "Line" is different for the two web services.
How do I create two files, such as "ClientOneLine.cfc" and "ClientTwoLine.cfc" that contain the distinct sets of properties that will show
up in the WSDL and require XML of the format:
...
<OrderLines>
<Line>
...
</Line>
<Line>
...
</Line>
</OrderLines>
...
I need the URL for both web services to be the same except for the web service name, so using different folders isn't an option.
Thanks for any help on this!!!
