Exception when endpoint is configured in web.config file

I am using the wf wcf service and added for its endpoint management in the web.config file. When I call the completion method using the workflowcontrol client, an exception is thrown, for example, "A message with To cannot be processed at the receiver due to AddressFilter mismatch in EndpointDispatcher. Be sure to agree with the sender and receiver of EndpointAddresses." Configure the endpoint in this way.

From the service side -

<services>
      <service name="PurchaseOrder">
        <endpoint address=""
        binding="basicHttpBinding" contract="POWorkflowService.IPurchaseOrder" />       
        <endpoint address="wce"
        binding="basicHttpBinding" kind="workflowControlEndpoint" />
      </service>
    </services>
    <standardEndpoints>
      <workflowControlEndpoint>
        <standardEndpoint/>
      </workflowControlEndpoint>
    </standardEndpoints>
Configuration

at the client level -

<client>
           <endpoint address="http://localhost:3650/POService.xamlx/wce" binding="basicHttpBinding"
                bindingConfiguration="BasicHttpBinding_IPurchaseOrderIIS" contract="System.ServiceModel.Activities.IWorkflowInstanceManagement"
                name="IPurchaseOrderControlEndpointISS" />
    </client>

I would be grateful if you could help me find a solution. It works great when I use the workflowservice host and add the management endpoint to the code.

+3
source share
1 answer

AddressFilterMode ServiceBehavior.

+1

All Articles