Hi all,
I am having a bit of trouble using the Orange M2M SOAP client. I recently had a university project to create an application in PHP using the M2M SOAP client. After completing it and working out how much of a nightmare working with PHP is, I thought I would give it a crack with ASP.NET just as a comparison to myself.
I have come a little bit stuck.
I have used a service reference connecting to the WDSL file and that seems to work fine, all the methods show up so it appears to be working. However, when I come to creating the application the methods don't seem to want to take any parameters when from experience I know they should.
Simple Example:
MessageServiceByCountryClient client = new MessageServiceByCountryClient();
client.sendMessage(username,Password,mobileNumber,messageTxt, deliveryReport, bearer);
The error I get on this is that the method does not take 6 arguments. But the official documentation on the Orange M2M site shows:
returnCode sendMessage( username, password,
deviceMSISDN,
message,
deliveryReport, mtBearer)
As far as I can see that should work, and a very similar implementation works in PHP. I am now stuck!
If anyone has any experience using this or can see a blatant error I have made I would appreciate the help!
Thanks
Dan