> Wondering if someone can shed a little light on the method of 
> communication that is employed when you use <cfinvoke 
> component="">?  ie, let's say you have a CFC connecting to 
> another CFC in the local system -- what is the transmission 
> protocol for this operation?

I don't think there's any "transmission protocol" at work in this case - the
CF server reads the request in one file, then reads the other file from the
filesystem and runs it appropriately. I'm not absolutely sure about this,
but I'd be really surprised if things worked differently.

> Also, along these lines, what communication methodology/transmission 
> protocol is employed when cfinvoking a remote web service?  I know 
> that the data is transformed into SOAP, but how is it actually 
> transmitted?

First, CF sends an HTTP GET request to fetch the WSDL from the given
WEBSERVICE attribute. The response it receives should contain an XML
document, which CF then parses to learn about the remote interface. Next, CF
uses Axis to create Java classes to correspond to various things within the
WSDL. Finally, it invokes one of those classes, which sends an HTTP POST
request to the remote interface. This request contains a SOAP request
envelope, which again is an XML document. The response should contain a SOAP
response, which is also an XML document.

On subsequent CFINVOKEs of the same web service, I'm pretty sure that CF
skips fetching the WSDL document and just uses the existing cached
information.

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!


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Logware: 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:191142
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=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to