Skip to content
This repository has been archived by the owner on Jan 31, 2024. It is now read-only.

ArgumentError (wrong number of arguments (given 0, expected 2)) #9

Open
alegrria opened this issue Apr 9, 2019 · 0 comments
Open

Comments

@alegrria
Copy link

alegrria commented Apr 9, 2019

I have a test app on pixi and want to access its data via Rails app.
I configured the client as following:

PixiClient.configure do |config|
  config.endpoint = ENV["ENDPOINT_URL"]
  config.username = ENV["PIXI_USERNAME"]
  config.password = ENV["PIXI_PASSWORD"]
  config.wsdl     = "#{Rails.root}/config/pixi_client.wsdl"
end 

When i try to fullfil a SOAP request
response = PixiClient::Requests::GetInvoice.new(invoice_id).call in irb,
i get ArgumentError (wrong number of arguments (given 0, expected 2)).

Same request via SoapUI returns correct data.

I cannot get through this.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant