Where did you get the url for the webservice from? Looks like it is invalid. You should still be able to browse to http://websga.dirad.fiocruz.br/rh/servlet/org.fiocruz.direh.arhws001?wsdl
-----Original Message----- From: João Paulo [mailto:[email protected]] Sent: Wednesday, 11 November 2009 3:29 AM To: cfaussie Subject: [cfaussie] Problems with webservice 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 [email protected]. For more options, visit this group at http://groups.google.com/group/cfaussie?hl=. -- You received this message because you are subscribed to the Google Groups "cfaussie" group. To post to this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/cfaussie?hl=.
