Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using Rails 3.1.1 and Ruby 1.9 #1

Open
arrk-shoba opened this issue Mar 17, 2012 · 1 comment
Open

Using Rails 3.1.1 and Ruby 1.9 #1

arrk-shoba opened this issue Mar 17, 2012 · 1 comment

Comments

@arrk-shoba
Copy link

Hi,

I m using Rails 3.1.1 and Ruby 1.9. Due to customer's demand we need to expose a SOAP webservice on our application. We are suppose to create a webservice which would handle the customer's request, process and save data and send success/failure via SOAP xml.

Can I use soap4r to develop the same without starting the soap4r server on separate server? I mean to use the Passenger server on which my Rails app is running. possibly let the webservice run on different port. Is this possible?

@KarateCode
Copy link
Owner

Hello,

This fork was intended to get soap4r working on Ruby 1.9.2
I am not aware of any way to get it working as a soap server. I have only used it as a soap client querying a SOAP server.

That said, I have written a SOAP server once in the past, and I didn't find it too difficult. A SOAP server is simply a website that accepts XML (in the SOAP format of course), processes it, and responds with appropriate XML. Your solution may end up being as simple as creating some XML erb templates and adding "format.xml {}" statements into the "respond_to" block of your existing Rails app.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants