From: Srikanth Jeeva Date: 2009-10-07T13:33:33+09:00 Subject: ActionWebService - need response in XML Hi i have used actionwebservice gem. I have processed a SOAP request & in the service api i expect an api_key & url. class ServicesApi < ActionWebService::API::Base api_method :verify_url, :expects => [{:api_key=>:string},{:url=>:string}], :returns => [{:response =>:string}] end Processing the api_key & url, i have generated an XML. when i return response, the XML is converted into string. "\n\n \n nil\n url is Invalid \n 102\n Failure\n \n\n" The response which i expect is XML. Is there any method to convert the string to XML? Or is there any way to return the response as a XML? Thanks, Srikanth J http://srikanthjeeva.blogspot.com -- Posted via http://www.ruby-forum.com/.