Trying to add the technical problems & solutions i have been through from my work

Wednesday, June 5, 2013

must receive before sending a message whose messagetype corresponds to a request response operation on an implemented port

Create a Decide shape after scope and move both send port (one from the scope shape and another from the catch exception block) and use a boolean variable and set it to true at the end of scope shape (i.e. after receive shape) and set it to false in expression shape in catch exception block and add construct shapes with transform after the expression. In decide shape check the value of this boolean variable if it is true then execute the branch to send back the response if it is false then execute branch to send back fault.create one webservice response message that will be bind to solicit request response port. now do transform for original response mesage and also to all the exceptions . the main point is it should send same webservice response message that is bind to the portyou can bind any number of send shapes to webservice request response port as long as themessage is same.References
http://kentweare.blogspot.com/2011/03/catching-soap-faults-from-crm-40-web.html
http://avenshteinohad.blogspot.com/2010/08/exception-handling-in-biztalk-wcf-lob.html
http://blogdoc.biztalk247.com/article.aspx?page=293b464a-da99-4dbd-9cbc-1b4aff9c8888
http://nealwalters.blogspot.com/2008/06/if-you-are-getting-this-error-succeeded.html
http://johnnystechnicallife.blogspot.com/2012/08/must-receive-before-sending-fault.html
http://jhelatissimo.wordpress.com/2012/10/17/exception-handling-on-biztalk-orchestration-published-as-web-service/