>You just use the returned variable mydoc in your code after the cfinvoke tag.

But the returned variable mydoc has to be created. I need to parse 
the XML (username and password) and return a result. That's where I'm 
stuck. I am building the service from an existing WSDL file provided 
by Intuit. Inside the file is the element "soap:address location". 
Should I point that directly to my CFC or to a CFM files which then 
invokes the CFC?

And one other question if anyone is listening. :)

I've submitted plenty of forms and xml documents using cfhttp, then 
use xmlparse() on the filecontent to create a XML document. But the 
service is initiated remotely and I am being passed an XML document. 
What scope/variable would that document be in so I can access it? It 
doesn't seem to be in the form scope.

Thanks.

>On 1/3/06, Bud <[EMAIL PROTECTED]> wrote:
>>  Hi all. Long time no post. Been very busy, but as usual, making no money. :)
>>
>>  I'm beginning thusly.
>>
>>  <cfinvoke webservice
>>  ="http://192.168.0.50:8500/ezcart_mx/webservice/QBWebConnectorSvc.wsdl";
>>     method ="authenticate"
>>     returnVariable="mydoc">
>>      <cfinvokeargument name="strUserName" value="cfezcart">
>>      <cfinvokeargument name="strPassword" value="test">
>>  </cfinvoke>
>>
>>  Inside the wsdl file is the soap:address location element. Am I
>>  supposed to point that to my cfc with my methods or should I point
>>  that to a cfm file which in turns invokes those methods?
>>
>>  My main point of confusion is, I'm specifying the wsdl file with the
>>  web service definitions, but how and where do I access the CFC to
>>  return my returnVariable?
>>
>>  TIA for any help I can get here. If someone can just show me a sample
>>  of a web service that specifies a wsdl file and returns output based
>>  on the user input, I think I can figure this out. All of the example
>>  I've seen point to a cfc with the wsdl being generated dynamically.
>
>CFAJAX docs and other useful articles:
>http://jr-holmes.coldfusionjournal.com/
>
>

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

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