Forum Discussion
Adding Soap header in orchestration
Hi all on this Forum!
I need to add a <header> to a xml message that I send to a Soap API with BizTalk. I've created an orchestration following this document: https://docs.microsoft.com/en-us/biztalk/core/using-soap-headers-in-wcf-messages-with-orchestrations?redirectedfrom=MSDN . Then I've deployed the application and set up a WCF-BasicHttp send-response-port in BizTalk. I've also set up a mock service in SoapUI to catch the complete message that are sent. But when I try it all out the message that are sent is something like <s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/"><s:Body>... There is no <Header> before the <Body>.
Has anybody an idea of what's gone wrong? Are there some special settings on the port that's needed?
Thanks for reading
George