Reputation: 2705
We have an existing Soap HTTPS WCF service with WShttpBinding with a security mode of TransportWithMessageCredentials.Can I consume this WCF service inside my IOS Xamarin application? I already consumed basichttpbinding WCF service after created the proxy of the WCF service inside the Ios application.Can Anyone tell me how to consume the HTTPS WShttpBinding binding WCF service to my Xamarin application?
Upvotes: 2
Views: 2796
Reputation: 18799
To my knowledge you cannot use WSHttpBinding
:
From this Question I would use:
PCL:
BasicHttpBinding bind= new BasicHttpBinding(BasicHttpSecurityMode.Transport);
Web.config Binding:
<basicHttpBinding>
<binding name="BasicSecure">
<security mode="Transport" />
</binding>
</basicHttpBinding>
Upvotes: 4