Home Page › Forums › BizTalk 2004 – BizTalk 2010 › Error consuming WCF service › Re: Error consuming WCF service
March 26, 2009 at 1:49 PM
#22007
I sat with this problem for at least a day 🙂
The service returns its own fault message (you can see that in your logical orchestration port) and you have to configure the adapter to get the knowledge of it, it is not done automatically.
- In the adapter configuration, choose “Messages”
- Check “Path”
- Add an OR-expression for your possible response messages
- Check that Node encoding is set to Xml
- Check “Propagate fault message”, is checked default
Sample for Soap Exception and a custom fault: *[local-name()=’Fault’]/*[local-name()=’detail’]/* | /*[local-name()=’MyResponseMessageRootNodeName’]
See more at: http://martinbring.blogspot.com/2009/02/handling-fault-message.html
Kind Regards
Martin Bring