CFINVOKE

ColdFusion cannot determine how to process the tag
<CFINVOKE>. The tag name may be misspelled.
If you are using tags whose names begin with CF but are not
ColdFusion tags you should contact Allaire Support.
The error occurred while processing an element with a general
identifier of (CFINVOKE), occupying document position (8:1) to
(8:104).
This is a super simply first time application from Forta's
book. Don't know where to go.
PLEASE HELP.
thanks
Buck

This is a super simply first time
Then I would grab the bull by the horn. Install Coldfusion
MX7.0.2. The developer edition is free.

Similar Messages

  • CF 9 issue with cfinvoke

    I ran into a really odd behavior using cfinvoke in CF9. This came up for an application that has run fine on earlier version of CF and then broke on CF9.
    The basic error comes up when we do something like (not actual code, but what seems to cause the problem):
    <cfset stObject = structnew() />
    <cfinvoke component="...."
         method="get"
         returnVariable="stObject" />
    In this case where stObject is defined prior to running the cfinvoke, the get() method won't populate stObject.
    However, if we do the same thing using the following:
    <cfset stObject = createObject(....).get() />
    then stObject is properly populated.
    To make the older application work, we've had to go through the code and rewrite the cfinvoke's into CreateObject(...).method(). That gets past the errors but doesn't make any sense.
    Has anyone else seen anything like this?
    d

    I have not experienced this, no.  However I have to say I very seldom use <cfinvoke>.
    Can you contrive a stand-alone / simple reproduction case of this?
    Adam

  • Best Practice for CFINVOKE?

    Hi all,
    As far as I can see, when you invoke a cfc you can pass
    arguments to it using cfinvokeargument tag. However, you can also
    supply these arguments on the very cfinvoke tag itself.
    I always use cfinvokeargument tags for each argument, would
    it be wise to cut down on the clutter and go for name=value pairs
    instead?
    See the example code attached.
    Mikey.

    I prefer the cfinvokeargument because you can easily
    add/remove arguments as well as add comments around them.

  • Cfobject / cfinvoke problem in my application.cfc

    Hello;
    I am trying to use cfobject in my onsessionstart function in my application.cfc file. The cfobject is another application.cfc file I have in a sub directory in the web site, it runs the shopping cart. I am not firing this off properly and I was hoping someone could help me fix my code so it will operate properly.This is my invoke statement:
    <cfobject name="SESSION.myShoppingCart" component="ShoppingCart">
    <cfinvoke component="#SESSION.myShoppingCart#" method="getShoppingCart">
    This is my whole argument statement for on session start:
    <cffunction name="onSessionStart" returntype="any" output="true">
    <cfset SESSION.created = now()> <!--- This sets off another session in the site --->
    <cfobject name="SESSION.myShoppingCart" component="ShoppingCart">
    <cfinvoke component="#SESSION.myShoppingCart#" method="getShoppingCart">
    </cffunction>
    this is my error:
    Context validation error for tag cffunction.
    The end tag </cffunction> encountered on line 80 at column 11 requires a matching start tag.
    The error occurred in C:\website\Application.cfc: line 28
    26 : <cffunction name="onSessionStart" returntype="any" output="true">
    27 : <cfset SESSION.created = now()>
    28 : <cfobject name="SESSION.myShoppingCart" component="ShoppingCart">
    29 : <cfinvoke component="#SESSION.myShoppingCart#" method="getShoppingCart">
    Can anyone help me? What do I need to do to set off my shopping cart functions on the cfc I am trying to invoke?
    Thank You
    CFmonger

    this is what I am supposed to put in the on sessionstart function:
    <cfobject name="SESSION.myShoppingCart" component="ShoppingCart">
    But this throws the same error. I am reading this off of instructions from a book. Obviously the book is wrong. Is there a way to make that cfobject statement work? I don't want a return variable. I want the ShoppingCart.cfc that resides in the sub directory /donation/ShoppingCart.cfc to go into client memory, I don't need a return value, I need the shoppong cart application portion fired when they hit the web site, creating a "shopping cart" in session / client variables.
    How would I do that using this tag? Thanks.
    CFmonger

  • CFINVOKE syntax causing error - STUB  OBJECTS??

    When I run the code below I get this error :
    "Could not generate stub objects for web service invocation.
    Name:
    http://app.campaignmonitor.com/api/api.asmx?WSDL.
    WSDL:
    http://app.campaignmonitor.com/api/api.asmx?WSDL.
    org.apache.axis.wsdl.toJava.DuplicateFileException: Duplicate file
    name:
    C:\CFusionMX7\stubs\WS1938286156\com\campaignmonitor\app\api\SubscriberUnsubscribe.java.
    Hint: you may have mapped two namespaces with elements of the same
    name to the same package name. "
    I
    have run other simple cfinvoke tags - like to get weather
    for a zipcode - without error... what does this error mean & is
    the problem on my hosts server, in my code or on the webservice
    server?
    Thanks!!

    > Well, I answered those questions already, I can't post
    the code, but the error
    > is clearly defined in my post, as is my OS.
    Talking like that to someone who's trying to help you is not
    going to win
    you any friends. And probably very little help.
    > I dont understand why I get that error. I can view the
    WSDL file just fine,
    > but always get this error.
    I have sometimes found this to happen when I have executed a
    WS once, and
    then changed some of its input/output data types. I'm not
    entirely sure
    what's going on, but deleting any files created in (I think)
    WEB-INF\cfc-skeletons seemed to allow it to regenerate the
    stub files.
    I would do what BSterner suggests... create another very
    simple WS (one
    that takes a string arg, and returns a boolean, or
    something), and try
    that: just to test if you can get ANY WSs working.
    I have found that CF struggles with queries as datatypes in
    WSs, I guess
    because it's not a supported datatype for WSs in general,
    being specific to
    CF. I have not really looked at this since 6.1, though (I'm
    not really a
    developer any more, so don't get to keep up to date with this
    stuff).
    Adam

  • Cfselect, cfinvoke, cfgrid in flash forms

    In an MX7.02 cfform format="flash"
    I would like a user to select an option in a cfselect. (e.g.
    name)
    The selected value would be passed to a cfinvokeargument
    the cfc returns the query results to a cfgrid
    get agent names....
    <CFINVOKE COMPONENT="agentQA"
    METHOD="getAgents"
    RETURNVARIABLE="aData">
    populate cfselect....
    <cfselect label="Agent" visable="yes" name="agent"
    query="aData" value="message_author" display="message_author">
    </cfselect>
    query messages posted by the selected agent...
    <CFINVOKE COMPONENT="agentQA"
    METHOD="getquery"
    RETURNVARIABLE="qData">
    <cfinvokeargument name="agent" value="??????????????">
    </cfinvoke>
    don't know how to bind the selected agent name to the
    argument????????
    output only the selected agent's messages to messagesgrid
    <cfgrid format="flash" width="100%" height="100%"
    name="messagegrid" query="qData" rowheaders="false">
    </cfgrid>
    Any suggestions? I'm open to a different approach since I'm
    just learning flash forms in CF.
    Thanks,
    Don

    Using the
    selected="[your value]" argument.
    This can be a value from a query.
    For instance, try the example in
    http://livedocs.macromedia.com/coldfusion/7/htmldocs/00000331.htm
    but add
    selected="4" to the cfselect tag
    i.e.:
    <cfselect
    name = "employeeid"
    size = "1"
    multiple="yes"
    required = "No"
    query = "GetAllEmployees"
    display ="name"
    value ="emp_id"
    queryPosition="Below" width="100" selected="4">
    4 is the emp_id value of Aaron Smith.
    In your application, you would replace
    selected="4" with
    selected="[your database value]"

  • ArrayNew and cfinvoke

    Hello Everyone,
    I am working on a small tool and I want to invoke another
    function from within another function while passing an array to the
    function being called.
    I create the the array:
    <cfset zones = ArrayNew(1)>
    <cfset ArrayAppend(zones, #get_options.z0#)>
    <cfset ArrayAppend(zones, #get_options.z1#)>
    <cfset ArrayAppend(zones, #get_options.z2#)>
    <cfset ArrayAppend(zones, #get_options.z3#)>
    <cfset ArrayAppend(zones, #get_options.z4#)>
    <cfset ArrayAppend(zones, #get_options.z5#)>
    I then invoke the function:
    <cfinvoke component="admin_mc" method="zone_calc"
    argumentcollection="#zones#" returnvariable="zone_whole">
    when I go to the function I get this error:
    You have attempted to dereference a scalar variable of type
    class coldfusion.runtime.Array as a structure with members.
    292 : <cfinvoke component="admin_mc" method="zone_calc"
    argumentcollection="#zones#" returnvariable="zone_whole">
    Any ideas?
    using CF8
    Greatly apreciated
    thank you
    Luc

    incorrect use of argumentcollection attribute - it requires a
    STRUCTURE
    of arguments, while you are passing it an array.
    if you just need to pass your array as an argument to your
    function, you
    should be doing something like
    <cfinvoke component="admin_mc" method="zone_calc"
    yourcfargumentname="#zones#" returnvariable="zone_whole">
    or use <cfinvokeargument ...> tag
    Azadi Saryev
    Sabai-dee.com
    http://www.sabai-dee.com

  • CF9 - cfinvoke seems to search scopes in different order

    We came across this in a legacy app when it was moved to CF9 -- a cfinvoke that had always worked in previous versions seemed to stop working whereas invoking the same method using function notation returned the right results.
    I've only tested the following on CF9 but it demonstrates the problem we had on CF9 which did not exist in previous versions.
    This uses cfinvoke and function notation to call the same method and they return two different results -- cfinvoke returns an emptry struct, the function notation returns a correctly populated struct.
    Application.cfm:
    <cfapplication name="cf9test"
        sessionmanagement="Yes"
        setclientcookies="Yes"
        sessiontimeout="#createTimeSpan(0,0,60,0)#"
        applicationtimeout="#createTimeSpan(1,0,0,0)#">
    test.cfc:
    <cfcomponent output="true">
        <cffunction name="func1" returntype="struct">
            <cfargument name="stObject" required="no" default="#structNew()#">
            <cfinvoke component="#this#"
                method="func3"
                returnVariable="stObject"><!--- Returns into Variables scope --->
            <!--- Returns the empty struct in arguments.stObject --->   
            <cfreturn stObject/>
        </cffunction>
        <cffunction name="func2" returntype="struct">
            <cfargument name="stObject" required="no" default="#structNew()#">
            <cfscript>
                stObject = func3(); // Returns into Arguments scope
            </cfscript>
            <cfreturn stObject/>
        </cffunction>
        <cffunction name="func3" returntype="struct">
            <cfscript>
                stTest = structnew();
                stTest.foo = "blah";
                stTest.blah = "bingo";
            </cfscript>
            <cfreturn stTest />
        </cffunction>
    </cfcomponent>
    index.cfm:
    <cfinvoke component="cf9test.test"
            method="func1"
            returnVariable="stObject">
    Return from the cfinvoke:        
    <cfdump var="#stObject#">
    <cfset structClear(stObject)>
    <br />
    <cfinvoke component="cf9test.test"
            method="func2"
            returnVariable="stObject">
    Return from the function       
    <cfdump var="#stObject#">

    I don't see the problem. All you had to do to avoid ambiguity was to var the variables in the methods and to give them distinct names. For example
    <cfcomponent output="false">
        <cffunction name="func1" returntype="struct" output="false">
            <cfargument name="stObject" required="no" default="#structNew()#">
            <cfset var object1 = structNew()>
            <cfinvoke component="#this#"
                method="func3"
                returnVariable="stObject1">
            <cfreturn stObject1/>
        </cffunction>
        <cffunction name="func2" returntype="struct" output="false">
            <cfargument name="stObject" required="no" default="#structNew()#">
            <cfscript>
                var object2 = structNew();
                stObject2 = func3();
            </cfscript>
            <cfreturn stObject2/>
        </cffunction>
        <cffunction name="func3" returntype="struct">
            <cfscript>
                var stTest = structnew();
                stTest.foo = "blah";
                stTest.blah = "bingo";
            </cfscript>  
            <cfreturn stTest />
        </cffunction>
    </cfcomponent>

  • Cfinvoke component argument question

    cfnewbie here...
    I want to invoke a method in a CFC file - I am not clear from
    the docs. how to construct the component argument. If using the
    filepath structure below, for example, where am I supposed to
    start? what should "directory" be? the root folder of the server?
    <cfinvoke
    component="directory.subdirectory.subdirectory2.cfc_filename"
    method="method_name"
    returnvariable="whatever">
    </cfinvoke>
    Thanks!

    Thanks Ted. I am looking at the " Registered CFX Tags" area
    in CFAdmin MX6.1 and I do not see it, should it be there?
    Again thanks for answering such dumb questions... the person
    who supported CF is no longer with our company so I'm stuck with
    it.

  • Debugging cfinvoke?

    Hi
    I'm trying to set up a connection to a web service as a third
    party developer. The web service uses complex-within-complex data
    types for its variables (there are actually four tiers of complex
    data at some point).
    I am working with the host developers on this but none of
    them know anything about CF. I'm pretty sure I am constructing the
    argument correctly but they would like to look at the XML that is
    submitted from my side.
    How do I view the XML output of cfinvoke?
    Thanks
    Neal

    Not sure how to view the XML produced by a webservice call
    short of coding your own SOAP service in CF and then trapping some
    of the information. Not sure if you'd seen this, but below is a
    great article on consuming complex web services in ColdFusion.
    Helped me out a bunch when I was trying to consume a complex .NET
    web service set up by one of our partners:
    http://hcc.musc.edu/research/shared_resources/xml_complex_types_to_cf_structure_notes.cfm

  • CFCs & CFInvoke

    I am attempting to play with components and invoke them
    inside web pages. I
    created a simple CFC (news.cfc) to pull the latest news story
    from the
    database:
    <cfcomponent>
    <cffunction name="LatestNews" access="public"
    returntype="string">
    <cfargument name="myArgument" type="string"
    required="false">
    <cfquery name="news" datasource="#Request.MainDSN#">
    SELECT News_ID, Story,"Date" FROM ms411.news ORDER BY "Date"
    DESC
    </cfquery>
    <cfset myResult="foo">
    <cfreturn MyResult>
    </cffunction>
    </cfcomponent>
    In the web page I want to display the results I have:
    <cfinvoke
    component="news"
    method="LatestNews"
    returnvariable="returnVar">
    </cfinvoke>
    Then I have, in the area I want to display it:
    <cfoutput query="returnVar">
    <tr>
    <td>#Date#</td>
    </tr>
    <tr>
    <td>#Story#</td>
    </tr>
    </cfoutput>
    I keep getting this error:
    Attribute validation error for tag cfoutput.
    The value of the attribute query, which is currently
    "returnVar", is
    invalid.
    I have the Coldfusion MX Bible sitting next to me and (on
    page 452 for those
    of you that have it) it give the same example. Same invoke,
    same 'cfoutput
    query = "returnVar"''. Why am I getting this error and how do
    I fix it?
    Thanks!
    Wally Kolcz
    Developer / Support

    As well as the returntype of your function being a string
    instead of a
    query.
    <cffunction name="LatestNews" access="public"
    returntype="string">
    You are also not returning the query.
    <cfquery name="news" datasource="#Request.MainDSN#">
    <cfreturn MyResult>
    That should be <cfreturn news> so that it returns the
    query you created.
    You can remove the <cfargument ...> line, since you are
    not using it.
    Unless you plan to add functionality later that would make
    use of the value.
    To jump start you an better practices. You should var declare
    your news
    variable so that it is local to the function and will not run
    into
    problems with other variables named "news" in other places of
    your code.
    <cfuntion ....>
    <cfset var news = "">
    Secondly you should pass in your dsn value to the function,
    not have the
    function relay on a value existing in the calling code block.
    This
    would then be a reason for a <cfargument ...> tag.
    <cffunction ... returnType="query">
    <cfargument name="DSN" requrired="true" ...>
    <cfset var news = "">
    <cfquery name="news" dataSource="#arguments.DSN#"...>
    <cfreturn news>
    </cffunction>
    Your invoke then would add an argument parameter, there are
    two ways you
    could do this.
    > <cfinvoke
    > component="news"
    > method="LatestNews"
    > returnvariable="returnVar"
    dsn="#request.MainDSN#">
    > </cfinvoke>
    OR
    > <cfinvoke
    > component="news"
    > method="LatestNews"
    > returnvariable="returnVar">
    <cfinvokeArgument name="dsn" value="#request.MainDSN#">
    > </cfinvoke>
    Wally Kolcz wrote:
    > I am attempting to play with components and invoke them
    inside web pages. I
    > created a simple CFC (news.cfc) to pull the latest news
    story from the
    > database:
    >
    > <cfcomponent>
    > <cffunction name="LatestNews" access="public"
    returntype="string">
    > <cfargument name="myArgument" type="string"
    required="false">
    > <cfquery name="news"
    datasource="#Request.MainDSN#">
    > SELECT News_ID, Story,"Date" FROM ms411.news ORDER BY
    "Date" DESC
    > </cfquery>
    > <cfset myResult="foo">
    > <cfreturn MyResult>
    > </cffunction>
    > </cfcomponent>
    >
    > In the web page I want to display the results I have:
    >
    > <cfinvoke
    > component="news"
    > method="LatestNews"
    > returnvariable="returnVar">
    > </cfinvoke>
    >
    > Then I have, in the area I want to display it:
    >
    > <cfoutput query="returnVar">
    > <tr>
    > <td>#Date#</td>
    > </tr>
    > <tr>
    > <td>#Story#</td>
    > </tr>
    > </cfoutput>
    >
    > I keep getting this error:
    > Attribute validation error for tag cfoutput.
    > The value of the attribute query, which is currently
    "returnVar", is
    > invalid.
    >
    > I have the Coldfusion MX Bible sitting next to me and
    (on page 452 for those
    > of you that have it) it give the same example. Same
    invoke, same 'cfoutput
    > query = "returnVar"''. Why am I getting this error and
    how do I fix it?
    >
    > Thanks!
    >

  • CFC & CFInvoke

    I am attempting to play with components and invoke them
    inside web pages. I
    created a simple CFC (news.cfc) to pull the latest news story
    from the
    database:
    <cfcomponent>
    <cffunction name="LatestNews" access="public"
    returntype="string">
    <cfargument name="myArgument" type="string"
    required="false">
    <cfquery name="news" datasource="#Request.MainDSN#">
    SELECT News_ID, Story,"Date" FROM ms411.news ORDER BY "Date"
    DESC
    </cfquery>
    <cfset myResult="foo">
    <cfreturn MyResult>
    </cffunction>
    </cfcomponent>
    In the web page I want to display the results I have:
    <cfinvoke
    component="news"
    method="LatestNews"
    returnvariable="returnVar">
    </cfinvoke>
    Then I have, in the area I want to display it:
    <cfoutput query="returnVar">
    <tr>
    <td>#Date#</td>
    </tr>
    <tr>
    <td>#Story#</td>
    </tr>
    </cfoutput>
    I keep getting this error:
    Attribute validation error for tag cfoutput.
    The value of the attribute query, which is currently
    "returnVar", is
    invalid.
    I have the Coldfusion MX Bible sitting next to me and (on
    page 452 for those
    of you that have it) it give the same example. Same invoke,
    same 'cfoutput
    query = "returnVar"''. Why am I getting this error and how do
    I fix it?
    Thanks!
    Wally Kolcz
    Developer / Support
    Wally Kolcz
    Developer / Support
    Wally Kolcz
    Developer / Support
    ProjectProofing.com

    The extraneous "foo" confuses matters. Why not just do:
    <cfcomponent>
    <cffunction name="LatestNews" access="public"
    returntype="query">
    <cfargument name="myArgument" type="string"
    required="false">
    <cfquery name="news" datasource="#Request.MainDSN#">
    SELECT News_ID, Story,"Date" FROM ms411.news ORDER BY "Date"
    DESC
    </cfquery>
    <cfreturn news>
    </cffunction>
    </cfcomponent>

  • CFINVOKE webservice parameters

    Hi, I am trying to consume a web service and having some
    problems passing the parameters to it. I have used a web service
    successfully before where the wsdl looked like this:
    <GetUserDetails xmlns="
    http://zesty.com/webservices">
    <username>string</username>
    <password>string</password>
    <guidString>string</guidString>
    </GetUserDetails>
    and the coldfusion code to access it looked like this:
    <cfinvoke
    webservice="https://mobiledatacapture.zesty.com/alphatest.asmx?wsdl"
    method="GetUserDetails"
    returnvariable="zuser">
    <cfinvokeargument name="username" value="#username#">
    <cfinvokeargument name="password" value="#password#">
    <cfinvokeargument name="guidString"
    value="#zestyGUID#">
    </cfinvoke>
    where username, password and zestyGUID were just strings and
    this worked fine.
    Now they have added another method to the service that has a
    WSDL that looks like this:
    <SubmitResidueTests xmlns="
    http://zesty.com/webservices">
    <ResidueTests>
    <ResidueTest>
    <Label>string</Label>
    <KPIN>int</KPIN>
    <ResidueTypeCode>R or O or X or C or G or
    L</ResidueTypeCode>
    <CollectionDate>dateTime</CollectionDate>
    <DispatchDate>dateTime</DispatchDate>
    </ResidueTest>
    <ResidueTest>
    <Label>string</Label>
    <KPIN>int</KPIN>
    <ResidueTypeCode>R or O or X or C or G or
    L</ResidueTypeCode>
    <CollectionDate>dateTime</CollectionDate>
    <DispatchDate>dateTime</DispatchDate>
    </ResidueTest>
    </ResidueTests>
    </SubmitResidueTests>
    So i thought that i would create an xml variable using cfxml
    and invoke it like this:
    <cfinvoke
    webservice="https://mobiledatacapture.zesty.com/alphatest.asmx?wsdl"
    method="SubmitResidueTests" returnvariable="retVar">
    <cfinvokeargument name="ResidueTests"
    value="#local.xmlRet#">
    </cfinvoke>
    where #local.xmlRet# is an xml variable (<cfxml
    variable="local.xmlRet"...)
    but this gives me an error message:
    (Web service operation SubmitResidueTests with parameters
    {ResidueTests={ 3813 O 18-06-2008 22-12-2008 5369 O 23-04-2008
    22-12-2008 }} cannot be found.)
    Can anyone tell me how to access a web service like this, or
    what I am doing wrong? Thanks very much, and appreciate any help
    anyone can offer
    What is confusing me is how the parameters in this
    wsdl are encapsulated within the <ResidueTests> and how to
    pass multiple types of this object to the web service.

    Ok... the first method was passing just strings, but I'm not
    sure how to format it for the second method, because of the
    <ResidueTests></ResidueTests> tag that the arguments
    for the second method are encapsulated in. I have spoke to the .NET
    developer who wrote it and he said the way in .NET was to send an
    array ResidueTests [ ], but wasn't sure what the analogous method
    in coldfusion would be. Sorry if I am misunderstanding something
    obvious here. Thanks for your reply.

  • CFINVOKE HTTPS does not work

    I am trying to acess a secure webservice on a remote server.
    I have imported the certificate into the cacerts keystore and
    verified it was there using -list. However, when I run the
    invocation (with a https: url), via ethereal I see that it is using
    port 80 to try to hit the server, timing out as the server doesn't
    respond to non-ssl traffic.
    Any ideas as to why it is ignoring the certificate and https:
    url in cfinvoke? This has happened on my local standalone dev 7.0.1
    machine, and a development machine running multiserver 7.0.1

    Hi Ellen,
    i had the similar problem...here is my understanding...
    the value of HTTPS_URL_PATTERNS parameter in web.xml will be checked while creating
    the URLs ONLY if you specify "httpsInd=CALCULATE" attribute in createWebflowURL,form,validateForm,createportalPageChangeURL....
    tags.
    but some of the tags in 'jsp' and 'inc' files in the sample stock portal application
    does not specify this attribute so find all the instances of these tags and specify
    the attribute...
    by the way...i used "/" for HTTPS_URL_PATTERNS...even "application/" should be
    okay i guess...
    hope this helps...
    Vijay
    "ellen" <[email protected]> wrote:
    >
    I followed the stockportal example and try to use HTTPS once a used is
    logged in.
    Here is part of my web.xml. I still got http instead of https. Anything
    I missed?
    Also, I tried using /application/* in HTTPS_URL_PATTERNS, it didn't work
    either.
    Thank you for helping!
    Ellen
    <context-param>
              <param-name>P13N_DEFAULT_NAMESPACE</param-name>
              <param-value>admin_login</param-value>
         </context-param>
         <context-param>
              <param-name>P13N_APPLICATION_URL</param-name>
              <param-value>/application</param-value>
         </context-param>
         <context-param>
              <param-name>HTTPS_URL_PATTERNS</param-name>
              <param-value>
    /admin_login//Home.jsp,
    /admin_login//PatientDemo.jsp, /admin_login//errorLogin.jsp,
    /admin_login/LoginFormProcessorIP.inputprocessor,
         /admin_login/AdminLoginPC.pipeline
    </param-value>
         </context-param>
         <context-param>
              <param-name>HTTP_PORT</param-name>
              <param-value>7001</param-value>
         </context-param>
         <context-param>
              <param-name>HTTPS_PORT</param-name>
              <param-value>7002</param-value>
         </context-param>

  • Cfinvoke error

    Here is the code from the .cfm page
    <cfinvoke component="Checkout" method="purchaseAudio"
    returnvariable="PurchaseAudioResults" > </cfinvoke>
    Here is the error that comes up. as you can see there is a
    method on the cfinvoke call, and there is a method called
    purechaseAudio in the Checkout.cfc file. Why do I get this error?
    Error Message:
    Attribute validation error for tag CFINVOKE.
    The tag requires the attribute(s): METHOD .
    The error occurred in C:\Inetpub\wwwroot\Audio
    Silo\CheckOut.cfm: line 188
    186 : </cfinvoke> --------------->
    187 :
    188 : <cfinvoke component="Checkout"
    method="purchaseAudio" returnvariable="PurchaseAudioResults" >
    189 : </cfinvoke>
    190 :

    Robert-Flash wrote:
    > Here is the code from the .cfm page
    >
    > <cfinvoke component="Checkout" method="purchaseAudio"
    > returnvariable="PurchaseAudioResults" >
    </cfinvoke>
    >
    > Here is the error that comes up. as you can see there is
    a method on the
    > cfinvoke call, and there is a method called
    purechaseAudio in the Checkout.cfc
    > file. Why do I get this error?
    >
    > Error Message:
    >
    > Attribute validation error for tag CFINVOKE.
    > The tag requires the attribute(s): METHOD .
    >
    > The error occurred in C:\Inetpub\wwwroot\Audio
    Silo\CheckOut.cfm: line 188
    >
    > 186 : </cfinvoke> --------------->
    > 187 :
    > 188 : <cfinvoke component="Checkout"
    method="purchaseAudio"
    > returnvariable="PurchaseAudioResults" >
    > 189 : </cfinvoke>
    > 190 :
    >
    >
    strange....
    - does the purchaseAudio method in your Checkout.cfc invoke
    any other
    components using <cfinvoke>? are the tags properly
    formed there?
    - try removing the closing </cfinvoke> - you really
    only need it when
    you have <cfinvokeargument>
    hth
    Azadi Saryev
    Sabai-dee.com
    http://www.sabai-dee.com

Maybe you are looking for

  • Re. update to v.8.0.1, I will update to it when you make it compatible with Copernic Desktop

    I have communicated this before and got no answer. I use Copernic Desktop all the time and so do lots of people. It is a top-reviewed 3rd party application. You shouldn't develop a new Firefox version (saying that it should be installed urgently) if

  • IPhoto too big (Can I store externally?)

    I use iPhoto to store my iPhone photos, but the catalog is now 100gb plus. I don't use photo streams, and physically connect a cable to import photos. I'm wondering how I'd go about moving my managed iPhoto Catalogue to an external drive, which is at

  • Looking for a Project Management software package for macs

    while I'm on the hunt for some good business software for my mac, I am also looking for a good project managment program, in the spirit of MS Project, but "Apple-ized". Open to suggestions from somebody with experience.

  • New Artwork Glitch for 10.6?

    Last night I downloaded the latest edition of iTunes and immediately I noticed something was off. The artwork on some of my albums have some glitch problems around the border of the art. The really odd part is that it's not exactly affecting the same

  • Renoise on 64-bit system

    Hello! Just installed Arch64 on my computer, with the awesome wm. It's been a great learning experience(I've only used Ubuntu before, so it's not like I can say I've got much experience working with Linux) I've been trying to install Renoise, and I r