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:[email protected]] 
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={[email protected]},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="[email protected]"/>
        <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:336157
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to