I was assuming you could build the service "around" the existing 
wsdl. In the babelfish examples in the documentation cfinvoke calls a 
wsdl file.

<cfinvoke
   webservice='http://www.xmethods.net/sd/2001/BabelFishService.wsdl'
   method='BabelFish'
   translationmode="en_es"
   sourcedata="Hello world, friend"
   returnVariable='foo'>
<cfoutput>#foo#</cfoutput>

Now, I only assume that on the altavista side, the wsdl file itself 
does not do the translation, but is passed to a cgi. And I assumed 
the cgi would be the one specified in soap:address location.

And on a somewhat related note. I'm still don't understand how I 
place the XML that is sent to the service into a variable for 
reading. The service is requested initially from the end user's 
computer and sends text/xml, not form variables, so I can't grab the 
xml with form.xml or whatnot.

><soap:address location="http://services.xmethods.net:80/perl/soaplite.cgi"/>
>
>What I'm asking is, in my CF scenario, would this value be to my cfc
>file, or to a cfm that included the cfc, or what?
>
>:)
>
>
>None of the above, the beauty of a CF web service is that you don't 
>need to work this hard.  You create a CFC that is going to be a web 
>service.  You do this by taking the incredible hard task of putting 
>access="remote" as a parameter into one or more of the functions 
>{aka methods} of the CFC.  Then the ever so nice CF engine creates 
>the WSDL of this newly minted web service for you. 
>
>You could consume this web service with some other piece of 
>ColdFusion with a <cfinvoke> tag something like this.
>
><cfinvoke webservice=http://my.webservice.com/doThisStuff.cfc?wsdl ... >
>
>But from what I understand, is that you would not be writing this 
>part, since the QuickBooks application is going to consume the web 
>service.  I would presume somewhere in the configuration that allows 
>QuickBooks to consume a web service, you would provide an URI to 
>your CFC web service to be consumed.
>
>What you showed as an example wsdl file is what I presume the 
>QuickBooks application is expecting to see from a web service.  So 
>you just need to write your web service CFC to provide a wsdl that 
>meets these expectations.
>
>--------------
>Ian Skinner
>Web Programmer
>BloodSource
>www.BloodSource.org
>Sacramento, CA
>
>"C code. C code run. Run code run. Please!"
>- Cynthia Dunning
>
>Confidentiality Notice:  This message including any
>attachments is for the sole use of the intended
>recipient(s) and may contain confidential and privileged
>information. Any unauthorized review, use, disclosure or
>distribution is prohibited. If you are not the
>intended recipient, please contact the sender and
>delete any copies of this message.
>
>
>
>
>

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