hi all
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://194.223.239.178: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>
anyone know why its going wrong?
thanks
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."
--
** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
For human help, e-mail: [EMAIL PROTECTED]