Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 145077
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T08:21:33+00:00 2026-05-11T08:21:33+00:00

I starting to work with Ruby and Soap and had some questions: How do

  • 0

I starting to work with Ruby and Soap and had some questions:

How do I generate a WSDL file for the service I created? Will it be compatible with an .NET client ?


begin    class MyServer < SOAP::RPC::StandaloneServer          # Handler methods       def add(a, b)          return a + b       end       def div(a, b)          return a / b       end        # Expose our services       def initialize(*args)          add_method(self, 'add', 'a', 'b')          add_method(self, 'div', 'a', 'b')       end     end   server = MyServer.new('MyServer',             'urn:ruby:calculation', 'localhost', 8080)   trap('INT'){      server.shutdown   }   server.start rescue => err   puts err.message end 
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. 2026-05-11T08:21:34+00:00Added an answer on May 11, 2026 at 8:21 am

    ActionWebService (previously in Rails core, now a gem) has tools to generate WSDL files. You can use the tools even if you’re not running your service within Rails.

    http://www.datanoise.com/articles/2008/7/2/actionwebservice-is-back

    As for whether it will work with a .NET client, the answer is maybe. Many .NET clients seem to expect Microsoft’s "extended" SOAP info, which .NET webservices provide by default. If the client is also able to consume a service without that extra stuff, then sure.

    UPDATE #1

    The above link no longer appears to work. There are however forks of ActionWebService that have popped up over on github. You can see a pretty good list of them here. Here are a couple of links to some key versions:

    • original datanoise version
    • clevertechru’s port, works w/ Rails 3.1.* & Ruby 1.9
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm thinking about starting work on a fairly large scale .NET or ASP.NET project
I'm currently a .NET developer, but I'm starting to work with Flex a little
I'm starting with Ruby, and while making some test samples, I've stumbled against an
I'm creating some basic work assistance utilities using Ruby. I've hit a problem that
I'm starting work on a new embedded Linux project. The project will consist of
I'm starting work on a program which is perhaps most naturally described as a
I'm starting work on a project using Rails, but I'm waiting for the 3rd
I am starting to work on a hobby project with a Python codebase and
I'm starting to work with my model almost exclusively in WCF and wanted to
I am starting a new client/server project at work and I want to start

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.