def postXmlHttp(uri, xml, use_ssl= true)
uri = URI.parse(uri)
Net::HTTP.start(uri.host,uri.port,use_ssl:use_ssl) do |http|
request = Net::HTTP::Post.new(uri.path)
request.body = xml
response = http.request(request)
response.body
end
end