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>>());