savon

    0热度

    1回答

    我正在使用Rails和Savon 2从SOAP Webservice中获取数据。 这是代码: client = Savon.client(wsdl: "http://www.webservicex.net/periodictable.asmx?WSDL", log_level: :debug, pretty_print_xml: true) mes

    0热度

    1回答

    我正在尝试调用Zuora Soap API的更新方法以便'CloseAccountingPeriod'。什么是应该做的正确的方式这 require 'savon' message = {'username' => 'username','password' => 'password' } client = Savon.client(wsdl: 'zuora.a.75.0.wsd

    0热度

    1回答

    我正在使用Savon gem与SOAP服务进行连接。我的问题是我需要发送每个键上具有不同属性的项目数组。 我已经看过this和this 我试图得到尽可能XML是: <Order> <OrderItems> <OrderItem code="AJF"> <Quantity>1</Quantity> </OrderItem> <OrderItem c

    0热度

    1回答

    有人能解释我如何使用萨翁使这个SOAP请求,使这个SOAP请求: <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ent="some_adress"> <soapenv:Header> <ent:providerID>?</ent:providerID>

    1热度

    2回答

    我需要从Heroku访问带有IP白名单的服务,因此需要HTTP代理。 我配置了Proximo软体增加,并有一个代理URL看起来大约像http://proxy:[email protected] 在萨翁,我曾尝试配置像这样的代理: client = Savon.client(wsdl: my_wsdl, proxy: "http://proxy:[email protected]") 但是,当我

    1热度

    1回答

    我正在查看Savon的测试文档here,我不明白发生了什么事情。我相当新的测试模拟和存根,也许这就是问题所在。这里是这样的例子: require "spec_helper" # require the helper module require "savon/mock/spec_helper" describe AuthenticationService do # includ

    0热度

    1回答

    我试图解析处理销售订单的XML响应,但XPath搜索无效。 这里的XML响应的一个片段: <s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/"> <s:Body> <SalesOrderServiceFindResponse xmlns="http://schemas.microsoft.com/dyn

    0热度

    1回答

    我使用Savon 2.11.1作为Ruby SOAP客户端。 Savon使用Nori将SOAP响应XML转换为Hash。 Nori支持convert_dashes_to_underscores选项,它默认将SOAP响应中的所有破折号转换为下划线。 我试图在客户端的构造函数中使用此选项,但我得到了以下错误消息 Savon :: UnknownOptionError:未知的全局选项:: convert

    1热度

    1回答

    我正在尝试使用Rails 4和Savon 2.0使用测试SOAP Web服务。 的代码: client = Savon.client(wsdl: "http://www.webservicex.net/periodictable.asmx?WSDL", log_level: :debug, pretty_print_xml: true) message =

    0热度

    1回答

    我第一次使用SOAP。 查看了Savon文档,但我无法弄清楚如何将下面的XML转为哈希。我正在使用Savon 2.11.1。 我应该使用“:attributes!”或“fp:Example”元素中的“version”和“language”属性为“@”? 所以,我的问题是我怎么能得到这个? <fp:Example version="1.0" language="en"> <fp:FindS