Have you flushed the webservice?

This is done in the cfadministrator under webservices.

CF Caches Webservices when they are called, so if you change any code and
recall the method (or a new method) then it will still be using the previous
version of the webservice unless you have refreshed or delete the service in
the CF Administrator


HTH

Mikey



-----Original Message-----
From: Mark Smyth [mailto:[EMAIL PROTECTED] 
Sent: Monday, March 31, 2003 12:01
To: CF-Community
Subject: web service parameter error


hi everyone
I'm trying to pass a parameter into a webservice for use in a query, the
error message i am getting is rror Occurred While Processing Request 
Web service operation "testQuery" with parameters {inputSerial={123456},}
could not be found.     

------
 the codes below

client
------
<cfinvoke 
 webservice="http://localhost:8500/cfcs/testQuery.cfc?wsdl";
 method="testQuery"
 returnvariable="aQuery">
        <cfinvokeargument name="inputSerial" value="123456"/> </cfinvoke>
---------
webservice
---------
<cfcomponent name="testservice">
    <cffunction name="testQuery" access="remote" returntype="query">
    
    <!--- specify the input parameter --->
    <cfargument name="inputSerial" type="numeric">
    
    <!--- do the query --->
        <cfquery name="myquery" datasource="pivotal">
select * from product where registration_code = #inputSerial#
        </cfquery>
        
        <!--- return the query object --->
        <cfreturn myquery>
    </cffunction>
</cfcomponent>


Kind Regards
Mark Smyth

Internet Systems Developer
REDtechnology.com
+44 (01865) 880800
www.REDtechnology.com

Email Disclaimer: "This e-mail is for the use of the intended recipient(s)
only.  Any views or opinions presented are solely those of the author and do
not necessarily represent those of REDtechnology.com or any of it's
Affiliates. If you are not the intended recipient, be advised that you have
received this email in error and that any use, dissemination, forwarding,
printing, or copying of this email is strictly prohibited. We have taken
precautions to minimize the risk of transmitting software viruses, but we
advise you to carry out your own virus checks on any attachment to this
message.  We cannot accept liability for any loss or damage caused by
software viruses."



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=5
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=5
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm

                                Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.5
                                

Reply via email to