como eu crio um Web Service usando componentes do cold, tipo pra acessar no flash... ou em um outro tipo de aplicação cliente...
tipo usando algo como SOAP ou WSDL
[detalhe... eu nem sei o que isso é... só sei que transito é xml]
Web Services
Started By proteus_adi, 03/12/2004, 12:59
3 replies to this topic
#1
Posted 03/12/2004, 12:59
PROTEUS [ADSUMUS]
ETERNAL ########
---------------------------------------------------------------
"Já dizia o mestre: PROGRAMAR é diferente de CODIFICAR"...
ETERNAL ########
---------------------------------------------------------------
"Já dizia o mestre: PROGRAMAR é diferente de CODIFICAR"...
#2
Posted 08/12/2004, 17:51
echo.cfc
echo.cfm
erro
alguem,
help -me about!!!
[ isso é o exemplo do site da macromedia ]
http://livedocs.macr...es5.htm#1169729
<cfcomponent output="false"> <cffunction name = "echoString" returnType = "string" output = "no" access = "remote"> <cfargument name = "input" type = "string"> <cfreturn #arguments.input#> </cffunction> </cfcomponent>
echo.cfm
<cfscript> ws = CreateObject("webservice", "http://localhost/cfeducation/wsdl/echo.cfc?wsdl"); wsresults = ws.echoString("hello"); writeoutput(wsresults); </cfscript>
erro
Web service operation "echoString" with parameters {'hello'} could not be found.
alguem,
help -me about!!!
[ isso é o exemplo do site da macromedia ]
http://livedocs.macr...es5.htm#1169729
PROTEUS [ADSUMUS]
ETERNAL ########
---------------------------------------------------------------
"Já dizia o mestre: PROGRAMAR é diferente de CODIFICAR"...
ETERNAL ########
---------------------------------------------------------------
"Já dizia o mestre: PROGRAMAR é diferente de CODIFICAR"...
#3
Posted 17/12/2004, 10:21
Tenta trocar isso
http://localhost/cfe...l/echo.cfc?wsdl
por isso
http://localhost:850...l/echo.cfc?wsdl
e outra coisa que você deve ter certeza.
Seu arquivo ECHO.CFC está no diretório c:\CFusionMX\wwwroot\cfeducation\wsdl
??
http://localhost/cfe...l/echo.cfc?wsdl
por isso
http://localhost:850...l/echo.cfc?wsdl
e outra coisa que você deve ter certeza.
Seu arquivo ECHO.CFC está no diretório c:\CFusionMX\wwwroot\cfeducation\wsdl
??
#4
Posted 18/12/2004, 09:12
foi mal,,,
esqueci de avisar...
o codigo
agora está correto..
esqueci de avisar...
o codigo
<cfcomponent output="false"> <cffunction name = "echoString" returnType = "string" output = "no" access = "remote"> <cfargument name = "input" type = "string"> <cfreturn arguments.input> </cffunction> </cfcomponent>é que estava errado......
agora está correto..
PROTEUS [ADSUMUS]
ETERNAL ########
---------------------------------------------------------------
"Já dizia o mestre: PROGRAMAR é diferente de CODIFICAR"...
ETERNAL ########
---------------------------------------------------------------
"Já dizia o mestre: PROGRAMAR é diferente de CODIFICAR"...
0 user(s) are reading this topic
0 membro(s), 0 visitante(s) e 0 membros anônimo(s)