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