Care to post the actual web service function you are actually calling?
Normally that error means that the function you are calling does not
have its 'access' set to "remote" (in the case of coldfusion anyway),
or that function does not have those parameters available that you
passed to it.

Barry.

On Nov 11, 5:28 am, João Paulo <joaopaulo.bsi...@gmail.com> wrote:
> hi,
>
> i´ve never used coldfusion to consume a webservice. Using the sintax
> that a I found on Adobe, I wrote this code. Now, I got thi error every
> time a run the code: "Web service operation "execute" with parameters
> {password={100327},username={10032718713},} could not be found."
>
> Can anyone help me?
>
> --
> JP
>
> My code:
>
> <cfset ws_url =
> "http://websga.dirad.fiocruz.br/rh/servlet/org.fiocruz.direh.arhws001?
> wsdl">
> <cfset my_method = "execute">
> <cfset login = "10032718713">
> <cfset pwd = "100327">
> <cfset port_name = "rhws001SoapPort">
> <cfset objWSDL = CreateObject("webservice", "#ws_url#") />
>
> <cfdump var="#objWSDL#">
>
> <!---
> <cfinvoke
>    webservice = "Web service name or WSDL URL"
>    method = "operation name"
>    password = "password"
>    proxyPassword = "password for proxy server"
>    proxyPort = "port on proxy server"
>    proxyServer = "WSDL proxy server URL"
>    proxyUser = "user ID for proxy server"
>    returnVariable = "variable name"
>    refreshWSDL = "yes|no"
>    servicePort = "WSDL port name"
>    timeout = "request timeout in seconds"
>    username = "user name"
>    wsdl2javaArgs = "argument string">
> --->
>
> <cfinvoke
>   webservice  = "#ws_url#"
>   method      = "#my_method#"
>   username    = "#login#"
>   password    = "#pwd#"
>   returnVariable = "my_result"
>
>        <cfinvokeargument name="username" value="#login#" />
>        <cfinvokeargument name="password" value="#pwd#" />
> </cfinvoke>
>
> <cfdump var="#my_result#">

--

You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To post to this group, send email to cfaus...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=.


Reply via email to