Displaying 2 results from an estimated 2 matches for "hello_client".
2008 May 07
1
uninitialized constant HelloadminController::HelloApi
...ass HelloController < ApplicationController
wsdl_service_name ''Hello''
web_service_api HelloApi
web_service_scaffold :invoke
def getMsg(name)
"Hello " + name
end
end
client controller
class HelloadminController < ApplicationController
def getMsg
hello_client =
ActionWebService::Client::Soap.new(HelloApi,
"http://localhost:3001/hello/api")
@service_output=
hello_client.getMsg(params[:name])
end
end
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subsc...
2008 May 07
1
Actionwebservice
...ationController
wsdl_service_name ''Hello''
web_service_api HelloApi
web_service_scaffold :invoke
def getMsg(name)
"Hello "+ name
end
end
helloadmin:
helloadmin\app\controllers
class HelloadminController < ApplicationController
def getMsg_client
hello_client = ActionWebService::Client::Soap.new(HelloApi,
"http://localhost:3001/hello/api")
@service_output = hello_client.getMsg(params[:name])
end
end
helloadmin\app\views\helloadmin
index.rhtml:
<html>
<head>
<title>Hello Web Service</tit...