Need help translating SOAPUI request into Ruby code using Savon gem -


i'm working on soap api has 2 operations, , each operation requires api keys , bunch of other attributes. so, i've been able make request via soapui, i'm having trouble translating ruby code using savon gem(version 2).

here's screenshot of searchtours request.

enter image description here

now, how tranlate ruby code using savon? tried following, didn't work.

client = savon.client(wsdl: 'url goes here..')  client.operations #=> [:tour_details_full, :search_records]  message = {security_key: "securitykeys", attributes_one: "valueone", attribute_two: integervalue}  response = client.call(:search_records, message: message) 

error message:

savon::soapfault: (s:client) cannot find dispatch method {url_here} searchrecords

the canonical answer:

  1. download soapui.
  2. build call in soapui.
  3. make sure works.
  4. build same request using savon.
  5. ask stackoverflow.

Comments

Popular posts from this blog

java - Oracle EBS .ClassNotFoundException: oracle.apps.fnd.formsClient.FormsLauncher.class ERROR -

c# - how to use buttonedit in devexpress gridcontrol -

nvd3.js - angularjs-nvd3-directives setting color in legend as well as in chart elements -