Click here to Skip to main content
16,004,828 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
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:

C#
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
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900