SOAP and WSDL?

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

Thanks.
Dan.

On 7/6/06, fish man [email protected] wrote:

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

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

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.

On 7/6/06, Jeff P. [email protected] wrote:

It’s built into Rails.

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

Ruby is much more than Rails.

-austin

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

Austin Z. wrote:

On 7/6/06, Jeff P. [email protected] 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
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.1 (Cygwin)

iQEVAwUBRLYnGR9L2jg5EEGlAQKUtQgAnYmmAzqfD3nkfAKvn2imLXMaYFm+AXxA
mi9owUSNNWFSaIqHyv7Q2DcaFxvtWhaUhTmKVSFCSCHw9CAXgr0OyPn53iB9cUVE
jBUH9IIRIEMz+FaDJ4JAo5ExXbiAjUiq1yXcUzyWPfzdgl09cdzaqHeUegLXMagy
4sqQrkfj7/lvHdUq6oBAzuTgXegGiqNNbEHzYXwUU6X6ZWtbIJ3QnSMEuI76N3zm
eqMEorPx1CGYGYJ8QJBWt83ZSr1fk8DwkL4bzPIzSKRFEOfmwznC0bKEemHQYeCV
9EdK7VUJ42TzTioOR/YQ6guZICNxIeuBaYJXrtteuYTBhwLtaPGPVA==
=ALlv
-----END PGP SIGNATURE-----