Category Archives: biztalk

Convert XLANGMessage to string

This method has come in handy so much more than I ever thought it would. It’s sole purpose is to take a BizTalk message and convert it to a string. One example of where I use it is when I … Continue reading

Posted in biztalk | Leave a comment

Using the pass-through pipeline – String versus XmlDocument

As part of a larger solution, I had what I thought would be a quick orchestration to build: take text files from a folder and combine them into a single text file. There are a lot of examples of the … Continue reading

Posted in biztalk | 1 Comment

Convert an XML string to an XMLNode using XmlDocumentFragment

In an orchestration, I was gathering messages representing Order Line Items. Once they were gathered, I would create the Order message, then inject the Order Line Items XML into the Order XML using a helper method. I did not want … Continue reading

Posted in biztalk, xml | 2 Comments

Update to JDEUTIME and BizTalk JDE Adapters

I went with the wrapper JDE business function. BizTalk can call the wrapper function, which does not require a JDEUTIME parameter, and which acts as an adapter to the function I actually wanted to call. Looks like the next version … Continue reading

Posted in biztalk | Leave a comment

BizTalk JDE Adapters and the JDEUTIME data type

The BizTalk Enterprise Line of Business J.D. Edwards Adapter does not support the JDEUTIME data type. JDEUTIME is a timestamp in Coordinated Universal Time (UTC). The error appearing in the event log did not tell me much: E-JDE0045: ExecuteMethod failed … Continue reading

Posted in biztalk | Leave a comment

Enterprise Line of Business Adapter Tracing

I am working with the BizTalk JDE adapter, and this is a very handy feature. A couple of times already I was just stuck, but examining the trace logs gave me the additional information I needed to troubleshoot my error. … Continue reading

Posted in biztalk, tracing | 3 Comments

Exception occurred when persisting state to the database

I have seen this error occur for more than one reason, but today was a new one for me. In the Application Event Log, an error for a suspended orchestration states: Inner exception: Exception occurred when persisting state to the … Continue reading

Posted in biztalk | Leave a comment

BizTalk and Virtual PC

Always use SysPrep or some other cloning tool to make copies of virtual hard drives. I am working on a project to interact with Commerce Server 2007. I am developing on a virtual machine that is a copy of the … Continue reading

Posted in biztalk, msdtc, vpc | 1 Comment

Error: “A correlation may be initialized only once”

I have seen this error in two situations. 1. You have two receive or two send shapes that both initialize the same correlation set. This one is easy to figure out. In my case, I have two points in a … Continue reading

Posted in biztalk | 4 Comments

EmptyPartException

I did not find very much useful information online about this. It happened because of the following code snippet in an expression shape: Message1 = new System.Xml.XmlDocument(); Message1 was defined with a specific type, but its .NET type is XmlDocument. … Continue reading

Posted in biztalk | Leave a comment