0

I want to use a sms web service in UWP app for sending messeges, but when I add the address as a refrence, while it's showing me the methods, but can't use them. for example send method as you can see in the picture below:

enter image description here

This is my web service address:

http://smsg.ir/webservice/?wsdl

Hamed
  • 590
  • 5
  • 16
  • Is there some kind of authentication mechanism implemented for this webservice? – Saadi May 16 '16 at 05:38
  • @Saadi when we want to use send method, we have to add user name and password as parameter. Do you think is that related to this status? – Hamed May 16 '16 at 05:46
  • Yes, I think so. Its all depends on implementation of service – Saadi May 16 '16 at 06:02
  • Perhaps, your username and password is not validation due to this it's not sending sms. – Saadi May 16 '16 at 06:05
  • The warning message seems to be very clear: _Contract 'samWSDLPortType' is not compatible with Windows Store apps because it contains one or more operations with SOAP Encoding (use='encoded'). Only the non-encoded operations will be generated._. – jsanalytics May 16 '16 at 10:54
  • [THIS](http://stackoverflow.com/questions/15485561/soap-encoding-in-windows-store-app) may help you. – jsanalytics May 16 '16 at 10:55
  • @jstreet thanks for your help. – Hamed May 17 '16 at 05:34

0 Answers0