Quantcast
Channel: Recent Threads — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 204402

SOAP Service - proxy and classes

$
0
0

Hi guys,

I'm writing a C# class that works hand in hand with a SOAP service (using Visual Studio 2012). I added a Web Reference and the android app works perfectly on emulator.

This is the question: why the web service's class (autogenerated by Visual Studio) doesn't have a constructor with Binding and EndpointAddress parameters?

The same SOAP Service is consumed by other WinForm .NET 4.0/4.5 applications and Visual Studio provided me a constructor with Binding and EndpointAddress parameters. Especially I need to have the Endpoint parameter because I have 2 different .svc files for SOAP services (one for debug mode and one for release mode), so I need to dinamically change the .svc file URL.

Waiting for your kind answer Thanks in advance

Ale


Viewing all articles
Browse latest Browse all 204402

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>