سؤال

أحاول ضبط messageheader من رسالة أن تزامن BizTalk الخاص بي يرسل إلى WCF.يبدو عقد الرسالة على النحو التالي في مشروع WCF. giveacodicetagpre.

surventtype.cs giveacodicetagpre.

أقوم بإنشاء الرسالة لإرسالها إلى BizTalk في شكل مهمة رسالة ويبدو هذا الرمز كما يلي: giveacodicetagpre.

كيف يمكنني ضبط الإصدار وتحويلها أن MessageHeaders في WCF MessageConact؟

هل كانت مفيدة؟

المحلول

You can set the promoted WCF.OutboundCustomHeaders property of the outgoing message

OutboundMessage(WCF.OuboundCustomHeaders) = "...";

You need to supply the complete WCF Header string as the parameter.

This http://bencode.net/biztalk-custom-wcf-behaviour might be of use to you.

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top