WSO2 Releases Web Services Framework for Ruby

Web developers who use the increasingly popular combo of the Ruby programming language with the Rails framework, better known as Ruby on Rails, now have an open source framework for providing and/or consuming Web services. WSO2's newly released Web Services Framework for Ruby (WSF/Ruby) is the first Ruby extension to support the WS-* specifications, which include the SOAP Message Transmission Optimization Mechanism (MTOM), WS-Addressing, WS-Security, WS-SecurityPolicy, and WS-Reliable Messaging.

WSF/Ruby is a binding of the company's flagship Web Services Framework for C into Ruby. It's based on three technologies:

  • Apache Axis2/C Web services engine;
  • Apache Sandesha2/C, IBM's C implementation of the WS-ReliableMessaging spec; and
  • Apache Rampart/C security policy spec.

WSF/Ruby comes with both a client API (for consuming Web services) and a service API (for providing Web services). The client API uses the WSClient class for one-way and two-way service invocation support. The service API uses the WSService class with support for one-way and two-way operations. Both APIs incorporate the WSMessage class to handle message-level options.

This release supports the SOAP 1.1 and SOAP 1.2 Web services standards, and it allows developers to expose a single service as both a SOAP-style and as a REST-style service. It also supports class mapping.

The new product reflects WSO2's focus on "the confluence of SOA and Web 2.0," according to CEO Dr. Sanjiva Weerawarana.

"All of the products we build are middleware, but we're trying to bring some of the community concepts of Web 2.0 into those products," Weerawarana said. He added that service-oriented architecture (SOA) is opening possibilities for enabling Web 2.0 applications.

"For a long time now, middleware has been the property of the IT guys, because all of enterprise IT has been controlled and managed by them," Weerawarana said. "But SOA is causing a significant decentralization of that, to the point where different groups within a company will now offer services to other parts of the company without going through the IT guys. When you get to that point, the company becomes a social network. And that brings Web 2.0 into the stodgy enterprise world of middleware. All of our technologies are designed to work this kind of human-centric middleware."

Weerawarana is a former IBMer who coauthored many Web services specifications, including WSDL, BPEL4WS, WS-Addressing, WS-RF and WS-Eventing. He founded WSO2 two and a half years ago, starting with a platform for Java. The company then developed a core infrastructure in C, which underlies all of its framework products. WSO2 now offers Web services frameworks for C and three popular scripting languages: PHP, Perl, and with this release, Ruby on Rails.

"Our basic strategy is ubiquitous enablement of SOA, from whichever language environment you're in," Weerawarana said.

WSF/Ruby is designed to work with Microsoft .NET, the Apache Axis2/Java-based WSO2 Web Services Application Server (WSAS), and other J2EE implementations.

The 1.0 version of WSO2's Web Services Framework for Ruby is available now for free under the Apache License 2.0. WSO2 maintains its own developer portal, called The Oxygen Tank, and WSF/Ruby is listed on the portal's download page.

About the Author

John K. Waters is a freelance journalist and author based in Mountain View, CA.

Featured

  • interconnected cloud icons with glowing lines on a gradient blue backdrop

    Report: Cloud Certifications Bring Biggest Salary Payoff

    It pays to be conversant in cloud, according to a new study from Skillsoft The company's annual IT skills and salary survey report found that the top three certifications resulting in the highest payoffs salarywise are for skills in the cloud, specifically related to Amazon Web Services (AWS), Google Cloud, and Nutanix.

  • AI-inspired background pattern with geometric shapes and fine lines in muted blue and gray on a dark background

    IBM Releases Granite 3.0 Family of Advanced AI Models

    IBM has introduced its most advanced family of AI models to date, Granite 3.0, at its annual TechXchange event. The new models were developed to provide a combination of performance, flexibility, and autonomy that outperforms or matches similarly sized models from leading providers on a range of benchmarks.

  • landscape photo with an AI rubber stamp on top

    California AI Watermarking Bill Garners OpenAI Support

    ChatGPT creator OpenAI is backing a California bill that would require tech companies to label AI-generated content in the form of a digital "watermark." The proposed legislation, known as the "California Digital Content Provenance Standards" (AB 3211), aims to ensure transparency in digital media by identifying content created through artificial intelligence. This requirement would apply to a broad range of AI-generated material, from harmless memes to deepfakes that could be used to spread misinformation about political candidates.

  • happy woman sitting in front of computer

    Delightful Progress: Kuali's Legacy of Community and Leadership

    CEO Joel Dehlin updates us on Kuali today, and how it has thrived as a software company that succeeds in the tech marketplace while maintaining the community values envisioned in higher education years ago.