>From my understanding creating web service in Coldfusion it is not so much the CFC that you are calling from PHP but the wsdl link that is created using that CFC. Once the link is created it can be called from any number languages. I am including a sample PHP call to a web service http://webservices.xml.com/pub/a/ws/2004/03/24/phpws.html. Because of the nature of a web service the wsdl link and the information that can be called from the link are going to be the same no matter what language you call it from. It is the way that you make the call to link in PHP to get the information you want which is different and I hope the link above will be a starting point I know it isn't the best example but I can't find the link that I used to figure this out. Hope it helps.
From: [email protected] [mailto:[email protected]] On Behalf Of Dusty Hale Sent: Thursday, April 30, 2009 9:14 PM To: [email protected] Subject: [ACFUG Discuss] Re: calling a CFC with PHP Hi thanks again to those who responded off list. I've been researching and trying different things with PHP to try and do this but I'm stumped and giving up for now. The concept of CFCs are very clear to me and I know how to use them in CF and do so often. However, the whole remote web service call thing is really foreign to me and I just don't know enough about it to be able to accomplish this. I understand completely what web services do and what they can accomlish I just don't know any thing about SOAP, WDSL, ect to be able to understand what I need to do and my PHP experience is bare minimum. So I have talked myself into moving the entire app over to CF where I can code it fully understanding everything. Thanks again, Dusty On Wed, Apr 29, 2009 at 3:53 PM, Dusty Hale <[email protected]> wrote: Hi I'm now researching how to call a web service (a cfc) with PHP. If anyone has a link with good info or a PHP code snippet for this, please let me know. The return variable in the CFC is just an HTML formatted message so I'm hoping for simplicity. Thanks, Dusty ------------------------------------------------------------- To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by http://www.fusionlink.com -------------------------------------------------------------
