CustomBinding not working

Please post public support tickets here. Note: for private support tickets, please send an email to support@cshtml5.com instead.
sanjoymajumder84
Posts: 4
Joined: Wed Apr 24, 2019 7:20 am

CustomBinding not working

Postby sanjoymajumder84 » Mon May 27, 2019 7:36 am

Unable to find any reference for CustomBinding class. I want to call WCF service from inside my CSharpXamlForHtml5 application but it doesn't support bellow classes.
HttpTransportBindingElement
TextMessageEncodingBindingElement
TransportBindingElement
CustomBinding

JS-Support @Userware
Site Admin
Posts: 1023
Joined: Tue Apr 08, 2014 3:42 pm

Re: CustomBinding not working

Postby JS-Support @Userware » Mon May 27, 2019 8:03 am

Hi,

At the moment only the references added with "Add Service Reference" are supported.

The lack of CustomBinding is a known limitation, as you can see in the "limitations" section of the following page:

http://cshtml5.com/links/wcf-limitations-and-tutorials.aspx

For now, to call WCF manually (without "Reference.cs"), please use this code:

Code: Select all

ReturnType ret = System.ServiceModel.INTERNAL_WebMethodsCaller.CallWebMethod<ReturnType, ServiceType>(clientBase, methodName, new Dictionary<string, Tuple<global::System.Type, object>>());


Thanks
Regards


Return to “Technical Support”

Who is online

Users browsing this forum: No registered users and 1 guest

 

 

cron