Hi – can anyone advise on what maybe I need to be passing to this SOAP API.
I'm using Ruby's SOAP4R, and have used the wsdl2ruby.rb script to generate
the classes I need.
The documentation shows the login method requiring two parameters, a
username & password, but when I try that, I get a wrong number of arguments
error.
In the client example that was generated by the script, the login method
description & example call looks like this:
# SYNOPSIS
# login(parameters)
#
# ARGS
# parameters Login - {urn:enterprise.soap.sforce.com}login
#
# RETURNS
# parameters LoginResponse - {urn:enterprise.soap.sforce.com}loginResponse
#
# RAISES
# fault LoginFault - {urn:fault.enterprise.soap.sforce.com}LoginFault
# fault UnexpectedErrorFault -
{urn:fault.enterprise.soap.sforce.com}UnexpectedErrorFault
# fault InvalidIdFault - {urn:fault.enterprise.soap.sforce.com}InvalidIdFault
#
parameters = nil
puts obj.login(parameters)
If anyone could give me a clue as to what I should be passing in to the
argument (or where to look to solve my issues here), I'd be very grateful.
Cheers,
`Doug.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"NWRUG" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/nwrug-members?hl=en
-~----------~----~----~----~------~----~------~--~---