954,585 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Asynchronous CFML Gateway

Error Invoking Events Gateway Gatewayname: Null

1. created a gateway instance in CFadmin of with following information type Asynchronous CFML
Id = asynchr_submit
Path = H:\JL\TEST\cfc\asynchr_submit.cfc
Config file = H:\JL\TEST\cfc\asynchr_submit.cfg. I also tried with no config file.
(i also tried with config file cfc-method =onIncomingMessage and mode = saynchronous )

Gateway service enabled in settings

2. Config file has the following
mode=asynchronous
cfc-method=onIncomingMessage

3. Content of CFC (asynchr_submit.cfm)

#email_txt#

4. Calling cfml code


status=false;
stTest = StructNew();
StructInsert(stTest, "Fname", "Test");
StructInsert(stTest, "lname", "Test again");
StructInsert(stTest, "email", "email@email.com");
status = SendGatewayMessage("asynchr_submit",stTest);
status = #status#

5. Error received from log is 05/18 08:33:20 Error [Thread-20] - Error Invocking CFC for gateway asynchr_submitL null
&. i even tried with only cfset insided my cfc. I apreciate your help.

CFAustin
Newbie Poster
1 post since May 2007
Reputation Points: 10
Solved Threads: 0
 

are you calling the all code from one page or cfc page is different from the output page,

if so then you need to invoke the cfc in your cfm template by using the cfinvoke or cfobject tag

gavy
Newbie Poster
12 posts since Jun 2007
Reputation Points: 10
Solved Threads: 0
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You