When trying to provision a user defined field in online environment all works as expected.
var udFieldSale = udfAgent.GetPublishedUserDefinedFieldFromProgId("GetAcceptDocId:1", UDefType.Sale);
But when running the same code in an on-premises environment I get an exception:
The message with Action 'http://www.superoffice.net/ws/crm/NetServer/Services83/UserDefinedFieldInfo/GetPublishedUserDefinedFieldFromProgId' cannot be processed at the receiver, due to a ContractFilter mismatch at the EndpointDispatcher. This may be because of either a contract mismatch (mismatched Actions between sender and receiver) or a binding/security mismatch between the sender and the receiver. Check that sender and receiver have the same contract and the same binding (including security requirements, e.g. Message, Transport, None).
SuperOffice environment info:
||SuperOffice 8.0 SR6 Build 6465.b
As a temporary solution I use method GetUserDefinedFieldFromProgId instead. Not sure what the consequences are but someone maybe knows that.