SOAP and WSDL?

Hi,
is there a RUBY library which will automatically generate a WSDL file
for a SOAP service?

Thanks.
Dan.

···

--
Posted via http://www.ruby-forum.com/.

http://www.google.ca/search?q=Ruby+SOAP+WSDL+-sam

(The last search term is because the first gives you stuff about Sam Ruby.)

-austin

···

On 7/6/06, fish man <danperrett07087@yahoo.com> wrote:

is there a RUBY library which will automatically generate a WSDL file
for a SOAP service?

--
Austin Ziegler * halostatue@gmail.com * http://www.halostatue.ca/
               * austin@halostatue.ca * You are in a maze of twisty little passages, all alike. // halo • statue
               * austin@zieglers.ca

It's built into Rails.

jp

fish man wrote:

···

Hi,
is there a RUBY library which will automatically generate a WSDL file
for a SOAP service?

Thanks.
Dan.

--
Posted via http://www.ruby-forum.com/\.

Which won't help if the OP isn't using Rails.

Ruby is much more than Rails.

-austin

···

On 7/6/06, Jeff Pritchard <jp@jeffpritchard.com> wrote:

It's built into Rails.

--
Austin Ziegler * halostatue@gmail.com * http://www.halostatue.ca/
               * austin@halostatue.ca * You are in a maze of twisty little passages, all alike. // halo • statue
               * austin@zieglers.ca

Hi,

Austin Ziegler wrote:

It's built into Rails.

Which won't help if the OP isn't using Rails.

Ruby is much more than Rails.

I agree but as far as I know ActionWebServices is the only solution for
generating WSDL from Ruby. We can't know expected class (or duck type)
from static method definition so annotation or something is needed. I
don't know Rails and ActionWebServices well but it must use annotation
like method.

I hope bare Ruby have annotation. Expecting;
1. SOAP4R can see Web service annotations.
2. [important] Applications who doesn't know anything about that
    annotation can only ignore it.

Both following A and B breaks 2.

  require 'soap/annotations'
  class Servant
    include WebService # A
    def service(foo, bar)
      ...
    end
    web_service :service, ... # B
  end

Regards,
// NaHi

···

On 7/6/06, Jeff Pritchard <jp@jeffpritchard.com> wrote: