I have a webservice offered by a website to be integrated for my website.They ask me to follow three steps to finish integrating.These steps are: 1. Create an HTTP connection. 2. Send request parameters via POST method. 3. Parse XML-formatted response string. The request parameters are something like following: "Version=2.0.0.0" + "&ShipmentID=1234" + "&QueryID=YourQueryCode" + "&Username=YourUsername" + "&Password=YourPassword" + "&TotalCarriers=1" + "&CarrierCode1=USP" + "&CarrierAccount1=" +... But what i have learned from book is:client gets webservice api to use from some website.So how do i follow those three steps to integrate the webservice? They also have an exmaple on integration in other languages.I have put it in the attachment. Attachments: http://www.ruby-forum.com/attachment/1744/java_integration.txt -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
What you have received is basically a API - information about how to make the request (HTTP POST parameters) and how to interpret the result (XML structure). Take a look at the following URL on how to make the request from Ruby: http://developer.yahoo.com/ruby/ruby-rest.html#post Information on how to parse XML can be found here: http://developer.yahoo.com/ruby/ruby-xml.html -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Thank you for your remind. -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---