On Mar 1, 2004, at 4:04 PM, Scott Barnes wrote:
As for BUG? not sure smells like one though. *Cough* If only there was someone on here from Macromedia.com who also uses CFMX could comment *Cough*

Invocation of a CFC as a web service uses a different method of access than local invocation. A web service must be web accessible via a URL so a ColdFusion mapping is not sufficient. Local invocation can use mappings, custom tag paths etc.


Suppose you have /cfmapping pointing to some directory. If your webroot index.cfm file has this in it, it will work:

<cfinclude template="/cfmapping/somefile.cfm">

but you wouldn't expect this to:

http://server/cfmapping/somefile.cfm

In order to make the latter work, you'd need to add a virtual mapping to the web server itself, to map /cfmapping to the appropriate directory.

That's why web service invocation behaves differently to local invocation.

Hope that helps?

Regards,
Sean


--- You are currently subscribed to cfaussie as: [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED]

MXDU2004 + Macromedia DevCon AsiaPac + Sydney, Australia
http://www.mxdu.com/ + 24-25 February, 2004

Reply via email to