{"id":152,"date":"2002-11-11T16:35:02","date_gmt":"2002-11-11T20:35:02","guid":{"rendered":"http:\/\/wordpress.cephas.net\/?p=152"},"modified":"2002-11-11T16:35:02","modified_gmt":"2002-11-11T20:35:02","slug":"coldfusion-cfcs","status":"publish","type":"post","link":"https:\/\/cephas.net\/blog\/2002\/11\/11\/coldfusion-cfcs\/","title":{"rendered":"ColdFusion CFC&#8217;s"},"content":{"rendered":"<p>Working with ColdFusion CFC&#8217;s today, ran into a couple problems and I&#8217;m wondering if I&#8217;m alone or just inexperienced (or both):<\/p>\n<p>a) when invoking a <a href=\"http:\/\/livedocs.macromedia.com\/cfmxdocs\/Developing_ColdFusion_MX_Applications_with_CFML\/buildingComponents.jsp\">CFC<\/a> as a webservice, do you have to have a CFIDE virtual directory in IIS in order for the CFC to function? (ie: I&#8217;m using multiple virtual hosts in IIS, if I don&#8217;t have a CFIDE virtual directory defined in IIS, calls to my webservice located in folder of the virtual host aren&#8217;t picked up)<\/p>\n<p>b) can you use custom tags via cfmodule in a CFC? I&#8217;m getting an error (specifically &#8220;coldfusion.tagext.lang.IncludeTag$NoSuchIncludeTemplateException : Could not find the included template..&#8221; ) when using CFMODULE to call a custom tag. I&#8217;m absolutely positive that the custom tag path is correct&#8230; exact same page in the same directory (just not a CFC) uses it fine&#8230; Seems almost like CFC&#8217;s lose track of where they live. I saw a <a href=\"http:\/\/webforums.macromedia.com\/coldfusion\/messageview.cfm?catid=8&amp;threadid=464025&amp;highlight_key=y&amp;keyword1=CFMODULE\">thread<\/a> on forums, but no answer other than check your mapping&#8230; which I&#8217;ve done.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Working with ColdFusion CFC&#8217;s today, ran into a couple problems and I&#8217;m wondering if I&#8217;m alone or just inexperienced (or both): a) when invoking a CFC as a webservice, do you have to have a CFIDE virtual directory in IIS in order for the CFC to function? (ie: I&#8217;m using multiple virtual hosts in IIS, &hellip; <a href=\"https:\/\/cephas.net\/blog\/2002\/11\/11\/coldfusion-cfcs\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">ColdFusion CFC&#8217;s<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[7],"tags":[],"_links":{"self":[{"href":"https:\/\/cephas.net\/blog\/wp-json\/wp\/v2\/posts\/152"}],"collection":[{"href":"https:\/\/cephas.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/cephas.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/cephas.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/cephas.net\/blog\/wp-json\/wp\/v2\/comments?post=152"}],"version-history":[{"count":0,"href":"https:\/\/cephas.net\/blog\/wp-json\/wp\/v2\/posts\/152\/revisions"}],"wp:attachment":[{"href":"https:\/\/cephas.net\/blog\/wp-json\/wp\/v2\/media?parent=152"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/cephas.net\/blog\/wp-json\/wp\/v2\/categories?post=152"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/cephas.net\/blog\/wp-json\/wp\/v2\/tags?post=152"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}