Re: Consuming WCF service in Orchestration – action is invalid or unrecognized

Home Page Forums BizTalk 2004 – BizTalk 2010 Consuming WCF service in Orchestration – action is invalid or unrecognized Re: Consuming WCF service in Orchestration – action is invalid or unrecognized

#21001

Wait, you need the action!  That action is a SOAP header that the WCF service will use to determine what to do with the message.  By default, it is named the same as the OperationContract.  The “add generated items” wizard should have generated a binding file that will configure everything for you, including the action.  Keep in mind that this binding file uses XML to specify the action.  The action can be specified using XML if you need to use multiple actions (call multiple OperationContracts) on a single send port.  I usually just import the binding file and delete the action XML and type in the name of the action directly.