Hi Zagitta,
I wasn't looking for generic SOAP or REST instructions, I was looking for specific documentation of Dwolla's API as used in C#. Neither SOAP nor REST are that complicated, the problem is that I'm getting unexpected results from Dwolla and can't figure out why and there is no code that I can find floating around to tell me how wrong I've done this.
I'm quite sure it's something simple and stupid, I'm not even out of the initial testing phase, tapping out a few lines of untrapped code just to see what does and doesn't work. Perhaps I've just been staring at the problem too long and it needs fresh eyes.
I've got a web reference to
https://www.dwolla.com/api/API.svc?wsdl set up in my project, as per their documentation. Here is the code I'm trying to make work, with API keys and account numbers redacted. Despite its brevity I'm sure it's a hot mess, considering what I've been up to these last few hours, but hopefully you can spot the problem?
protected void Page_Load(object sender, EventArgs e)
{
Api client = new Api();
bool bResult;
bool bResultSpec;
decimal amt = System.Convert.ToDecimal(1.00);
client.SendMoneyAssumeCosts("apikey_redacted", "apicode_redacted", amt, true, "test", "acct_num_redacted", out bResult, out bResultSpec);
Label1.Text = bResult.ToString();
client.Dispose();
}
on the client.SendMoneyAssumecosts() line I get "The request failed with an empty response." and can't figure out why.