1

Savon 目前正在生产这样的标签: <soap:orderid>R211758537</soap:orderid>

我如何获得这样的标签,没有soap前缀? <orderid>R211758537</orderid>

这是我正在使用的代码:

endpoint = "http://www.ioperate.net/ws/order/orderws.asmx?wsdl"
response = session.request endpoint, 'OrderUpload' do
  http.headers["SOAPAction"] = "http://chrome52/webservices/OrderUpload" 

  soap.body = {
    :orderid => R211758537
  }
end
4

0 回答 0