Web service operation... with parameters...cannot be found. error

2010-08-10 Thread Ray Meade

I keep getting this error no matter what I try (and I've been at it for 2 days 
now):

Web service operation NEWJOB with parameters 
{JOBMINCOMPENSATION={250},JOBTYPE={1},JOBVERIFICATION={0},USERNAME={**},JOBCONTACTPHONE={123-456-7890},JOBCOMPANYNAME={Spencer
 Stuart},JOBDESCRIPTION={![CDATA[This is a really cool job for a developer who 
wants to make a lot of 
money.]]},JOBCONTACTURL={https://www.6figurejobs.com},JOBCONTACTSTATUS={null},JOBMINEXPERIENCE={1},JOBCOMPENSATION={You
 can make alot of cash plus huge stock 
options!},JOBFUNCTIONS={201,202,203},JOBTITLE={Developer Level 
III},JOBCONTACTNAME={Dave 
Piccirillo},JOBCODE={SP101},JOBMAXEXPERIENCE={2},JOBLOCATION={Milford},jobcontactemail={da...@6figurejobs.com},JOBCONTACTFAX={987-654-3210},JOBINDUSTRIES={101,102,103},JOBOPPORTUNITY={fulltime,startup},JOBSHOWRIGHTEYES={null},JOBRECEIVERIGHTEYES={null},JOBSTATE={307},JOBIONUMBER={null},PASSWORD={*}}
 cannot be found. (I blanked out the username and password info for security)

Here is my web service code: (JobUpdates.cfc)

cfcomponent
cffunction name=NEWJOB access=remote returntype=void output=no
cfargument name=USERNAME type=string
cfargument name=PASSWORD type=string
cfargument name=JOBCOMPANYNAME type=string
cfargument name=JOBCODE type=numeric
cfargument name=JOBTITLE type=string
cfargument name=JOBINDUSTRIES type=string
cfargument name=JOBFUNCTIONS type=string
cfargument name=JOBLOCATION type=string
cfargument name=JOBSTATE type=numeric
cfargument name=JOBDESCRIPTION type=string
cfargument name=JOBOPPORTUNITY type=string
cfargument name=JOBCOMPENSATION type=string
cfargument name=JOBMINCOMPENSATION type=numeric
cfargument name=JOBMINEXPERIENCE type=numeric
cfargument name=JOBMAXEXPERIENCE type=numeric
cfargument name=JOBCONTACTNAME type=string
cfargument name=JOBCONTACTEMAIL type=string
cfargument name=JOBCONTACTSTATUS type=numeric
cfargument name=JOBCONTACTURL type=string
cfargument name=JOBCONTACTPHONE type=string
cfargument name=JOBCONTACTFAX type=string
cfargument name=JOBSHOWRIGHTEYES type=numeric
cfargument name=JOBRECEIVERIGHTEYES type=numeric
cfargument name=JOBIONUMBER type=string
cfargument name=JOBTYPE type=numeric
cfargument name=JOBVERIFICATION type=numeric
   /cffunction
/cfcomponent (I removed all the code after this for testing purposes and I 
still get the error just trying to find the web service)

And here's my code to consume it: (I created this just for testing purposes)

cfinvoke webservice=http://orld-6fjdev/webservices/JobUpdates.cfc?wsdl; 
method=NEWJOB
cfinvokeargument name=USERNAME value=MeganM/
cfinvokeargument name=PASSWORD value=stuart/
cfinvokeargument name=JOBCOMPANYNAME value=Spencer Stuart/
cfinvokeargument name=JOBCODE value=SP101/
cfinvokeargument name=JOBTITLE value=Developer Level III/
cfinvokeargument name=JOBINDUSTRIES value=101,102,103/
cfinvokeargument name=JOBFUNCTIONS value=201,202,203/
cfinvokeargument name=JOBLOCATION value=Milford/
cfinvokeargument name=JOBSTATE value=307/
cfinvokeargument name=JOBDESCRIPTION value=![CDATA[This is a really 
cool job for a developer who wants to make a lot of money.]]/
cfinvokeargument name=JOBOPPORTUNITY value=fulltime,startup/
cfinvokeargument name=JOBCOMPENSATION value=You can make alot of 
cash plus huge stock options!/
cfinvokeargument name=JOBMINCOMPENSATION value=250/
cfinvokeargument name=JOBMINEXPERIENCE value=1/
cfinvokeargument name=JOBMAXEXPERIENCE value=2/
cfinvokeargument name=JOBCONTACTNAME value=Dave Piccirillo/
cfinvokeargument name=JOBCONTACTEMAIL value=da...@6figurejobs.com/
cfinvokeargument name=JOBCONTACTSTATUS omit=true/
cfinvokeargument name=JOBCONTACTURL 
value=https://www.6figurejobs.com/
cfinvokeargument name=JOBCONTACTPHONE value=123-456-7890/
cfinvokeargument name=JOBCONTACTFAX value=987-654-3210/
cfinvokeargument name=JOBSHOWRIGHTEYES omit=true/
cfinvokeargument name=JOBRECEIVERIGHTEYES omit=true/
cfinvokeargument name=JOBIONUMBER omit=true/
cfinvokeargument name=JOBTYPE value=1/
cfinvokeargument name=JOBVERIFICATION value=0/
/cfinvoke

Can someone PLEASE help me with this, I've been pulling what little hair I have 
left out trying to figure it out. 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:336155
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 

re: Web service operation... with parameters...cannot be found. error

2010-08-10 Thread Paul Day

Hi Ray,

Are you passing the parameters in the same order as they are defined in the 
CFC? I seem to remember having problems when passing invoke params in the wrong 
order in the past. Looking at the error output, they seem to be in the wrong 
order.

Thanks,
Paul

Paul Day
 Principal / Developer

410.241.8465
 p...@nucomsolutions.com 
http://www.nucomsolutions.com/ 



From: Ray Meade raym...@yahoo.com
Sent: Tuesday, August 10, 2010 12:24 PM
To: cf-talk cf-talk@houseoffusion.com
Subject: Web service operation... with parameters...cannot be found.  error 

I keep getting this error no matter what I try (and I've been at it for 2 days 
now):

Web service operation NEWJOB with parameters 
{JOBMINCOMPENSATION={250},JOBTYPE={1},JOBVERIFICATION={0},USERNAME={**},JOBCONTACTPHONE={123-456-7890},JOBCOMPANYNAME={Spencer
 Stuart},JOBDESCRIPTION={![CDATA[This is a really cool job for a developer who 
wants to make a lot of 
money.]]},JOBCONTACTURL={https://www.6figurejobs.com},JOBCONTACTSTATUS={null},JOBMINEXPERIENCE={1},JOBCOMPENSATION={You
 can make alot of cash plus huge stock 
options!},JOBFUNCTIONS={201,202,203},JOBTITLE={Developer Level 
III},JOBCONTACTNAME={Dave 
Piccirillo},JOBCODE={SP101},JOBMAXEXPERIENCE={2},JOBLOCATION={Milford},jobcontactemail={da...@6figurejobs.com},JOBCONTACTFAX={987-654-3210},JOBINDUSTRIES={101,102,103},JOBOPPORTUNITY={fulltime,startup},JOBSHOWRIGHTEYES={null},JOBRECEIVERIGHTEYES={null},JOBSTATE={307},JOBIONUMBER={null},PASSWORD={*}}
 cannot be found. (I blanked out the username and password info for security)

Here is my web service code: (JobUpdates.cfc)

(I removed all the code after this for testing purposes and I still get the 
error just trying to find the web service)

And here's my code to consume it: (I created this just for testing purposes)

Can someone PLEASE help me with this, I've been pulling what little hair I have 
left out trying to figure it out. 



~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:336156
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: Web service operation... with parameters...cannot be found. error

2010-08-10 Thread Josh Nathanson

Web services tend to get cached -- I notice you said you get the same error
even removing all the code so it sounds like that is what's happening.

There are a couple of ways you can clear them:
1) In the CF administrator (if you have access) there is a section where you
can see any cached webservices and clear them manually.
2) You can add refreshWSDL=true as an additional attribute to your
cfinvoke tag.  This will slow things down but it can be very useful when in
development.

-- Josh

 

-Original Message-
From: Ray Meade [mailto:raym...@yahoo.com] 
Sent: Tuesday, August 10, 2010 9:17 AM
To: cf-talk
Subject: Web service operation... with parameters...cannot be found. 
error


I keep getting this error no matter what I try (and I've been at it for 2
days now):

Web service operation NEWJOB with parameters
{JOBMINCOMPENSATION={250},JOBTYPE={1},JOBVERIFICATION={0},USERNAME={**},
JOBCONTACTPHONE={123-456-7890},JOBCOMPANYNAME={Spencer
Stuart},JOBDESCRIPTION={![CDATA[This is a really cool job for a developer
who wants to make a lot of
money.]]},JOBCONTACTURL={https://www.6figurejobs.com},JOBCONTACTSTATUS={null
},JOBMINEXPERIENCE={1},JOBCOMPENSATION={You can make alot of cash plus huge
stock options!},JOBFUNCTIONS={201,202,203},JOBTITLE={Developer Level
III},JOBCONTACTNAME={Dave
Piccirillo},JOBCODE={SP101},JOBMAXEXPERIENCE={2},JOBLOCATION={Milford},JOBCO
ntactemail={da...@6figurejobs.com},JOBCONTACTFAX={987-654-3210},JOBINDUSTRIE
S={101,102,103},JOBOPPORTUNITY={fulltime,startup},JOBSHOWRIGHTEYES={null},JO
BRECEIVERIGHTEYES={null},JOBSTATE={307},JOBIONUMBER={null},PASSWORD={*}}
cannot be found. (I blanked out the username and password info for
security)

Here is my web service code: (JobUpdates.cfc)

cfcomponent
cffunction name=NEWJOB access=remote returntype=void output=no
cfargument name=USERNAME type=string
cfargument name=PASSWORD type=string
cfargument name=JOBCOMPANYNAME type=string
cfargument name=JOBCODE type=numeric
cfargument name=JOBTITLE type=string
cfargument name=JOBINDUSTRIES type=string
cfargument name=JOBFUNCTIONS type=string
cfargument name=JOBLOCATION type=string
cfargument name=JOBSTATE type=numeric
cfargument name=JOBDESCRIPTION type=string
cfargument name=JOBOPPORTUNITY type=string
cfargument name=JOBCOMPENSATION type=string
cfargument name=JOBMINCOMPENSATION type=numeric
cfargument name=JOBMINEXPERIENCE type=numeric
cfargument name=JOBMAXEXPERIENCE type=numeric
cfargument name=JOBCONTACTNAME type=string
cfargument name=JOBCONTACTEMAIL type=string
cfargument name=JOBCONTACTSTATUS type=numeric
cfargument name=JOBCONTACTURL type=string
cfargument name=JOBCONTACTPHONE type=string
cfargument name=JOBCONTACTFAX type=string
cfargument name=JOBSHOWRIGHTEYES type=numeric
cfargument name=JOBRECEIVERIGHTEYES type=numeric
cfargument name=JOBIONUMBER type=string
cfargument name=JOBTYPE type=numeric
cfargument name=JOBVERIFICATION type=numeric
   /cffunction
/cfcomponent (I removed all the code after this for testing purposes and I
still get the error just trying to find the web service)

And here's my code to consume it: (I created this just for testing purposes)

cfinvoke webservice=http://orld-6fjdev/webservices/JobUpdates.cfc?wsdl;
method=NEWJOB
cfinvokeargument name=USERNAME value=MeganM/
cfinvokeargument name=PASSWORD value=stuart/
cfinvokeargument name=JOBCOMPANYNAME value=Spencer Stuart/
cfinvokeargument name=JOBCODE value=SP101/
cfinvokeargument name=JOBTITLE value=Developer Level III/
cfinvokeargument name=JOBINDUSTRIES value=101,102,103/
cfinvokeargument name=JOBFUNCTIONS value=201,202,203/
cfinvokeargument name=JOBLOCATION value=Milford/
cfinvokeargument name=JOBSTATE value=307/
cfinvokeargument name=JOBDESCRIPTION value=![CDATA[This is a
really cool job for a developer who wants to make a lot of money.]]/
cfinvokeargument name=JOBOPPORTUNITY value=fulltime,startup/
cfinvokeargument name=JOBCOMPENSATION value=You can make alot of
cash plus huge stock options!/
cfinvokeargument name=JOBMINCOMPENSATION value=250/
cfinvokeargument name=JOBMINEXPERIENCE value=1/
cfinvokeargument name=JOBMAXEXPERIENCE value=2/
cfinvokeargument name=JOBCONTACTNAME value=Dave Piccirillo/
cfinvokeargument name=JOBCONTACTEMAIL
value=da...@6figurejobs.com/
cfinvokeargument name=JOBCONTACTSTATUS omit=true/
cfinvokeargument name=JOBCONTACTURL
value=https://www.6figurejobs.com/
cfinvokeargument name=JOBCONTACTPHONE value=123-456-7890/
cfinvokeargument name=JOBCONTACTFAX value=987-654-3210/
cfinvokeargument name=JOBSHOWRIGHTEYES omit=true/
cfinvokeargument name=JOBRECEIVERIGHTEYES omit=true

Re: Web service operation... with parameters...cannot be found. error

2010-08-10 Thread Ray Meade

Yes, they're in the same order in the web service cfc as they are in the 
cfinvoke tag. I don't know where the error message is getting that order 
from...it's weird.


 Hi Ray,
 
 Are you passing the parameters in the same order as they are defined 
 in the CFC? I seem to remember having problems when passing invoke 
 params in the wrong order in the past. Looking at the error output, 
 they seem to be in the wrong order.
 
 Thanks,
 Paul
 
 Paul Day
 
 Principal / Developer
 
 410.241.8465
 
 p...@nucomsolutions.com 
 http://www.nucomsolutions.com/ 
 
 
 
 From: Ray Meade raym...@yahoo.com
 Sent: Tuesday, August 10, 2010 12:24 PM
 To: cf-talk cf-talk@houseoffusion.com
 Subject: Web service operation... with parameters...cannot be found. 
  error 
 
 I keep getting this error no matter what I try (and I've been at it 
 for 2 days now):
 
 Web service operation NEWJOB with parameters 
 {JOBMINCOMPENSATION={250},JOBTYPE={1},JOBVERIFICATION={0},
 USERNAME={**},JOBCONTACTPHONE={123-456-7890},
 JOBCOMPANYNAME={Spencer Stuart},JOBDESCRIPTION={![CDATA[This is a 
 really cool job for a developer who wants to make a lot of money.]]},
 JOBCONTACTURL={https://www.6figurejobs.com},JOBCONTACTSTATUS={null},
 JOBMINEXPERIENCE={1},JOBCOMPENSATION={You can make alot of cash plus 
 huge stock options!},JOBFUNCTIONS={201,202,203},JOBTITLE={Developer 
 Level III},JOBCONTACTNAME={Dave Piccirillo},JOBCODE={SP101},
 JOBMAXEXPERIENCE={2},JOBLOCATION={Milford},
 jobcontactemail={da...@6figurejobs.com},JOBCONTACTFAX={987-654-3210},
 JOBINDUSTRIES={101,102,103},JOBOPPORTUNITY={fulltime,startup},
 JOBSHOWRIGHTEYES={null},JOBRECEIVERIGHTEYES={null},JOBSTATE={307},
 JOBIONUMBER={null},PASSWORD={*}} cannot be found. (I blanked out 
 the username and password info for security)
 
 Here is my web service code: (JobUpdates.cfc)
 
 (I removed all the code after this for testing purposes and I still 
 get the error just trying to find the web service)
 
 And here's my code to consume it: (I created this just for testing 
 purposes)
 
 Can someone PLEASE help me with this, I've been pulling what little 
 hair I have left out trying to figure it out. 
 


~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:336158
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Web service operation... with parameters...cannot be found. error

2010-08-10 Thread Ray Meade

Hi Josh, I tried both of those methods. In the CF Administrator, the web 
service isn't even listed (I thought the wsdl file gets created the first time 
you try to access it), and the cfinvoke tag doesn't have a refreshWSDL= 
attribute. (I tried adding it manually and it just hangs while loading) I'm not 
sure if this will help, but here's the results of calling the wsdl file like so:

URL: http://orld-6fjdev/webservices/JobUpdates.cfc?wsdl;
Results: wsdl:definitions targetNamespace=http://webservices;
!--WSDL created by ColdFusion version 8,0,0,176276--
−
wsdl:types
−
schema targetNamespace=http://rpc.xml.coldfusion;
import namespace=http://schemas.xmlsoap.org/soap/encoding//
−
complexType name=CFCInvocationException
sequence/
/complexType
/schema
/wsdl:types
wsdl:message name=NEWJOBResponse

   /wsdl:message
−
wsdl:message name=NEWJOBRequest
wsdl:part name=USERNAME type=xsd:string/
wsdl:part name=PASSWORD type=xsd:string/
wsdl:part name=JOBCOMPANYNAME type=xsd:string/
wsdl:part name=JOBCODE type=xsd:double/
wsdl:part name=JOBTITLE type=xsd:string/
wsdl:part name=JOBINDUSTRIES type=xsd:string/
wsdl:part name=JOBFUNCTIONS type=xsd:string/
wsdl:part name=JOBLOCATION type=xsd:string/
wsdl:part name=JOBSTATE type=xsd:string/
wsdl:part name=JOBDESCRIPTION type=xsd:string/
wsdl:part name=JOBOPPORTUNITY type=xsd:string/
wsdl:part name=JOBCOMPENSATION type=xsd:string/
wsdl:part name=JOBMINCOMPENSATION type=xsd:string/
wsdl:part name=JOBMINEXPERIENCE type=xsd:string/
wsdl:part name=JOBMAXEXPERIENCE type=xsd:string/
wsdl:part name=JOBCONTACTNAME type=xsd:string/
wsdl:part name=JOBCONTACTEMAIL type=xsd:string/
wsdl:part name=JOBCONTACTSTATUS type=xsd:string/
wsdl:part name=JOBCONTACTURL type=xsd:string/
wsdl:part name=JOBCONTACTPHONE type=xsd:string/
wsdl:part name=JOBCONTACTFAX type=xsd:string/
wsdl:part name=JOBSHOWRIGHTEYES type=xsd:string/
wsdl:part name=JOBRECEIVERIGHTEYES type=xsd:string/
wsdl:part name=JOBIONUMBER type=xsd:string/
wsdl:part name=JOBTYPE type=xsd:string/
wsdl:part name=JOBVERIFICATION type=xsd:string/
/wsdl:message
−
wsdl:message name=CFCInvocationException
wsdl:part name=fault type=tns1:CFCInvocationException/
/wsdl:message
−
wsdl:portType name=JobUpdates
−
wsdl:operation name=NEWJOB parameterOrder=USERNAME PASSWORD JOBCOMPANYNAME 
JOBCODE JOBTITLE JOBINDUSTRIES JOBFUNCTIONS JOBLOCATION JOBSTATE JOBDESCRIPTION 
JOBOPPORTUNITY JOBCOMPENSATION JOBMINCOMPENSATION JOBMINEXPERIENCE 
JOBMAXEXPERIENCE JOBCONTACTNAME JOBCONTACTEMAIL JOBCONTACTSTATUS JOBCONTACTURL 
JOBCONTACTPHONE JOBCONTACTFAX JOBSHOWRIGHTEYES JOBRECEIVERIGHTEYES JOBIONUMBER 
JOBTYPE JOBVERIFICATION
wsdl:input message=impl:NEWJOBRequest name=NEWJOBRequest/
wsdl:output message=impl:NEWJOBResponse name=NEWJOBResponse/
wsdl:fault message=impl:CFCInvocationException 
name=CFCInvocationException/
/wsdl:operation
/wsdl:portType
−
wsdl:binding name=JobUpdates.cfcSoapBinding type=impl:JobUpdates
wsdlsoap:binding style=rpc transport=http://schemas.xmlsoap.org/soap/http/
−
wsdl:operation name=NEWJOB
wsdlsoap:operation soapAction=/
−
wsdl:input name=NEWJOBRequest
wsdlsoap:body encodingStyle=http://schemas.xmlsoap.org/soap/encoding/; 
namespace=http://webservices; use=encoded/
/wsdl:input
−
wsdl:output name=NEWJOBResponse
wsdlsoap:body encodingStyle=http://schemas.xmlsoap.org/soap/encoding/; 
namespace=http://webservices; use=encoded/
/wsdl:output
−
wsdl:fault name=CFCInvocationException
wsdlsoap:fault encodingStyle=http://schemas.xmlsoap.org/soap/encoding/; 
name=CFCInvocationException namespace=http://webservices; use=encoded/
/wsdl:fault
/wsdl:operation
/wsdl:binding
−
wsdl:service name=JobUpdatesService
−
wsdl:port binding=impl:JobUpdates.cfcSoapBinding name=JobUpdates.cfc
wsdlsoap:address location=http://orld-6fjdev/webservices/JobUpdates.cfc/
/wsdl:port
/wsdl:service
/wsdl:definitions

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:336160
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Web service operation... with parameters...cannot be found. error

2010-08-10 Thread Paul Day

Ray,

Have you added the prerequisite code to your onRequestStart() method in your 
Application.cfc?

cfif right(arguments.targetPage,4) is .cfc
cfset structDelete(variables,onRequest) /
cfset structDelete(this,onRequest) /
/cfif

Paul Day
Principal / Developer

410.241.8465
p...@nucomsolutions.com
http://www.nucomsolutions.com/  



~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:336161
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Web service operation... with parameters...cannot be found. error

2010-08-10 Thread Ray Meade

SCREEECH...what was that? Nope, I didn't know about the prerequisite code. 
Thanks Paul, I'll give that a shot and let you know how it goes.


 Ray,
 
 Have you added the prerequisite code to your onRequestStart() method 
 in your Application.cfc?
 
 cfif right(arguments.targetPage,4) is .cfc

 cfset structDelete(variables,onRequest) /

 cfset structDelete(this,onRequest) /
 /cfif
 
 Paul Day
 Principal / Developer
 
 410.241.8465
 p...@nucomsolutions.com
 http://www.nucomsolutions.com/  
 


~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:336162
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Web service operation... with parameters...cannot be found. error

2010-08-10 Thread Ray Meade

Paul, they're using an Application.cfm file, not Application.cfc so there is no 
onRequestStart() method. Is there an alternate procedure I can use for an 
Application.cfm file?


 Ray,
 
 Have you added the prerequisite code to your onRequestStart() method 
 in your Application.cfc?
 
 cfif right(arguments.targetPage,4) is .cfc

 cfset structDelete(variables,onRequest) /

 cfset structDelete(this,onRequest) /
 /cfif
 
 Paul Day
 Principal / Developer
 
 410.241.8465
 p...@nucomsolutions.com
 http://www.nucomsolutions.com/  
 


~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:336163
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Web service operation... with parameters...cannot be found. error

2010-08-10 Thread Paul Day

Ray,

Try placing a blank Application.cfm file in the directory containing the CFCs 
for the Web Service. Doing that will override any potential output that is 
being pumped out by your base Application.cfm and breaking the wsdl.

Paul Day
Principal / Developer

410.241.8465
p...@nucomsolutions.com
http://www.nucomsolutions.com/

  



~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:336165
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Web service operation... with parameters...cannot be found. error

2010-08-10 Thread Ray Meade

Sorry Paul, that didn't work either. (are you getting aggravated yet?) This is 
really driving me nuts. It works fine when it's not a web service, but as soon 
as I set the access tag to remote, it stops working yet the wsdl file is 
accessible...go figure.


 Ray,
 
 Try placing a blank Application.cfm file in the directory containing 
 the CFCs for the Web Service. Doing that will override any potential 
 output that is being pumped out by your base Application.cfm and 
 breaking the wsdl.
 
 Paul Day
 Principal / Developer
 
 410.241.8465
 p...@nucomsolutions.com
 http://www.nucomsolutions.com/
 
  
 
 


~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:336167
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Web service operation... with parameters...cannot be found. error

2010-08-10 Thread Paul Day

Ray,

Not at all! I've put the code on my server and reproduce the error. I'm going 
to work on it over the next little bit to see if I can get into the exact 
problem for you.

Thanks,
Paul

Paul Day
Principal / Developer

410.241.8465
p...@nucomsolutions.com
http://www.nucomsolutions.com/

  



~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:336169
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Web service operation... with parameters...cannot be found. error

2010-08-10 Thread Paul Day

Ray,

Your JOBCODE is specified as numeric in your CFC, but you are passing in a 
string.

cfinvokeargument name=JOBCODE value=SP101

Thanks,
Paul

Paul Day
Principal / Developer

410.241.8465
p...@nucomsolutions.com
http://www.nucomsolutions.com/
  



~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:336170
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm