Asp Forum
Home
|
Login
|
Register
|
Search
Forums
>
comp.lang.ruby
soap/wsdlDriver get service methods ONLY
Alin Alin
1/29/2007 11:25:00 AM
Hi,
There is possible by using soap/wsdlDriver to display ONLY methods from
the current service ?
For ex:
wsdl="http://localhost:8080/axis/services/Version?wsdl"
driver=SOAP::WSDLDriverFactory.new(wsdl).create_rpc_driver
I want to get, from the driver, only the getVersion method (of course, I
don't know the name of it).
Thanks.
Alin.
--
Posted via
http://www.ruby-...
.
1 Answer
Alin Alin
2/1/2007 8:39:00 AM
0
Alin Popa wrote:
> Hi,
>
> There is possible by using soap/wsdlDriver to display ONLY methods from
> the current service ?
>
> For ex:
>
> wsdl="http://localhost:8080/axis/services/Version?wsdl"
> driver=SOAP::WSDLDriverFactory.new(wsdl).create_rpc_driver
>
> I want to get, from the driver, only the getVersion method (of course, I
> don't know the name of it).
>
> Thanks.
>
> Alin.
I find out (or seems to be what I'm looking for):
require 'soap/wsdlDriver'
wsdl="http://localhost:8080/axis/services/Version?wsdl"
driver=SOAP::WSDLDriverFactory.new(wsdl).create_rpc_driver
driver.singleton_methods.each do
|meth|
puts "Method: #{meth}"
end
This is for who is interested in that.
Alin.
--
Posted via
http://www.ruby-...
.
Servizio di avviso nuovi messaggi
Ricevi direttamente nella tua mail i nuovi messaggi per
soap/wsdlDriver get service methods ONLY
Inserendo la tua e-mail nella casella sotto, riceverai un avviso tramite posta elettronica ogni volta che il motore di ricerca troverà un nuovo messaggio per te
Il servizio è completamente GRATUITO!
x
Login to ForumsZone
Login with Google
Login with E-Mail & Password