> OK So this is rediculously simple or imposible or requires 
> vast knowledge of Web Services? I just need to send back 
> three pieces of data to an existing .net Web Service. 
> This is the code I can gleen out of the service that is relevant.
> 
> <s:element name="VendorOrderConfirmation">
> - <s:complexType>
> - <s:sequence>
>   <s:element minOccurs="0" maxOccurs="1" name="OrderNumber" 
> type="s:string" /> 
>   <s:element minOccurs="1" maxOccurs="1" name="DateProcessed" 
> type="s:dateTime" /> 
>   <s:element minOccurs="0" maxOccurs="1" 
> name="TrackingNumber" type="s:string" /> 
>   </s:sequence>
>   </s:complexType>

Depending on the specific web service, it can be ridiculously simple, or it
can be very difficult. The little snippet of WSDL you posted is pretty
straightforward, and CFMX should be able to consume a web service that
requires a single complex type containing one to three simple values.

<cfinvoke ...>
        <!--- if you're using CFMX 7, you can use the OMIT attribute for
CFINVOKEARGUMENT instead of the conditional logic below --->
        <cfif youhaveanordernumber>
                <cfinvokeargument name="OrderNumber" value="...">
        </cfif>
        <cfinvokeargument name="DateProcessed" value="somevaliddatetime">
        <cfif youhaveatrackingnumber>
                <cfinvokeargument name="TrackingNumber" value="...">
        </cfif>
</cfinvoke>

If you're using Dreamweaver, and you register the remote web service within
the Components panel, you should be able to drag and drop from that panel
into your code, and it'll build the appropriate CFINVOKE and
CFINVOKEARGUMENT tags for you.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/

Fig Leaf Software provides the highest caliber vendor-authorized 
instruction at our training centers in Washington DC, Atlanta, 
Chicago, Baltimore, Northern Virginia, or on-site at your location. 
Visit http://training.figleaf.com/ for more information!


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:211037
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to