Thanks Alan!  You rock! 

-----Original Message-----
From: Alan Rother [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, May 24, 2006 3:33 PM
To: CF-Talk
Subject: Re: aba number lookup web service

Try this.

<cfinvoke webservice="http://www.webservicex.net/FedACH.asmx?wsdl";
method="getACHByRoutingNumber">
 <cfinvokeargument name="routingNumber" value="122101706"/>
<cfinvokeargument name="getACHByRoutingNumberResult" value="false"/>
<cfinvokeargument name="fedACHLists" value="variables.foo"/> </cfinvoke>

The last argument is the return var for the object that is this
webservice.
Don't decalre the returnVariable in the cfinvoke tag.

This method returns an object so you'll need to navigate through it to
make it work. If you are just looking for the bank name, here is how
you'd reach it.

<cfset foobar = variables.foo.getFedACHs().getFedACHData()>
<cfset bankName = foobar[1].getAddress()>


HTH

=]

--
Alan Rother
Macromedia Certified Advanced ColdFusion MX 7 Developer




~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:241382
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