13

I need to implement a soap server in ruby for one call and also provide a WSDL. My plan is to create the WSDL myself and just provide that on a rails server with the endpoint parsing the xml.

Is that a valid path? I looked and couldn't find much other information regarding a soap server in ruby that generates a WSDL. Action web service does but was last updated in 2005, and soap4r standalone server doesn't generate a WSDL.

Trevor
  • 131
  • 1
  • 3
  • 1
    The Ruby community is much more focused on RESTful web services than SOAP, you'll have to do some serious searching if anything is out there... – maerics Feb 16 '11 at 19:57
  • so how did you do that ? – Fivell Jul 27 '11 at 11:06
  • I wish there was an answer to this question that didn't involve "fork abandoned project X from a few years ago, update it yourself, and you might have something working" (esp. for rails 3)! The client piece seems well taken care of by savon, but the server side is another matter. Any further news since you asked this q? – tardate Oct 02 '11 at 16:34
  • 4
    the best choice for now is https://github.com/roundlake/wash_out – Fivell May 09 '12 at 21:25

2 Answers2

6

Anyone else who'd be interested in a working solution to this problem should give a shot to the gem "wash_out". I have successfully developed a SOAP server with v0.8.2

Please refer to the gem's github repository for source & documentation

Mehdi.
  • 369
  • 4
  • 15
2

Try SimpleWS . I was having exact same problem and found this library to be working fine. It's a layer over soap4r. Has very simple DSL.

dip00dip
  • 441
  • 4
  • 4