Problem: While compiling a BizTalk 2006 project, you get warnings say ‘the dependency ‘Microsoft.BizTalk.Tracing’ could not be found. ’
In the project (assembly) refererence property window, please set the “copy
local” to “false” for these biztalk related references.
Problem: HTTP and SOAP receive adapters cannot co-exist in the same process
Fixed the problem by putting the HttpReceive port and a web service port in separate application pools.
Problem: Using biztalk 2006 to send a file to an external Web Service using SOAP adatpter: Maximum request length exceeded.
Modify ASP.NET setting.
Problem: When expose BizTalk as web service, you got a SOAP receive subscription problem, message routing failure while correct properties are promoted.
Pay attention to method name:
object[] invokeResults = this.Invoke(”CCValidateSrv“, invokeParams, inParamInfos, …);
It should be the EXACT one as the orchestration operation name.
Problem: BizTalk SMTP adapter not work
Change EmailTextBodyCharset since default value is None. You must explicitly set the value, for example, to UTF-8.
Problem: Read BizTalk installation path
Read registry key HKLM/SOFTWARE/Microsoft/BizTalk Server/3.0
Problem: Expose orchestration & consume webservice with SOAP header
Publish:
1. Create a schema, which will be the SOAP header
2. Create a property schema
A). Has namespace to ‘http://schemas.microsoft.com/BizTalk/2003/SOAPHeader‘
B). Create a property, set name to rootnode of SOAP header schema declared in step 1, set type to string, set Property Schema Base property set to MessageContextPropertyBase
3. Use property schema declared in step 2 to load xml to an XMLDocument
4. Assign above XMLDocument to a SOAP header message
Consume:
1. Follow step 2 as above
2. Load target SOAP header inner xml to an XMLDocument
3. Assign property in step 1 to string value in step 2.
Problem: BizTalk XSLT usage
. Map large document http://biztalkia.blogspot.com/2006/02/xslt-performance-when-mapping-large.html
. Map complex document http://biztalkia.blogspot.com/2006/01/mapping-complex-conditions-in-biztalk.html
. Remove empty nodes http://biztalkia.blogspot.com/2006/01/remove-empty-nodes-in-biztalk-by-using.html
Problem: Attach correct BTS host instance
1. “PerfMon”
2. Add counter “BizTalk:Messeging” - “All counters” - “ID”
3. View Report