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

Ask A Question

Stats

  • Questions 67k
  • Answers 68k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • added an answer VB6 has a DateValue() function which returns the date portion… May 11, 2026 at 12:04 pm
  • added an answer That's a horrible thing to do in mysql, since it… May 11, 2026 at 12:04 pm
  • added an answer In the init function, use these two lines: glEnable(GL_BLEND); glBlendFunc(GL_SRC_ALPHA,… May 11, 2026 at 12:04 pm

Related Questions

I'm starting to work with my model almost exclusively in WCF and wanted to
I'm currently a .NET developer, but I'm starting to work with Flex a little
I am starting to work on a hobby project with a Python codebase and
I'm working on a project and I'm just starting to do all the work
I am starting a new client/server project at work and I want to start
I am starting to build a new web application that will require user accounts.
I'm starting to learn Python and I've come across generator functions, those that have
I'm starting to get into a side project that I hope to pull in
I am starting to develop an Eclipse plugin (technically, an OSGi plugin) and one
I'm starting to develop a web application in PHP that I hope will become

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

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.