Geeks With Blogs

News Like a post?
Please post a comment!




LinkedIn profile




ErwinAI - Enterprise Application Integration (EAI) blog on BizTalk 2004, Visual Studio, and application integration BizTalk 2004 Hints, Tips & Tricks
BizTalk 2004 - end of topic
Because I will change jobs per Januari 1st, I will be moving away from the BizTalk projects and operations. I will no longer blog about BizTalk.

Posted On Thursday, December 14, 2006 12:33 PM

BizTalk 2004 - Parsing flat files with optional records
For a project, I have been setting up a schema using the flat file extension. The file to read looks like a modified Edifact message. This is what it looks like: PNA,H123 LIN,2,XYZ0001 RFF,REFNO01 IMD,C,CODE1, VALUE1 IMD,C,CODE2,VALUE2 IMD,C,CODE3, VALUE3 The schema was created so that it reflects the structure of the message. For reading flat files, a few things had to be changed: Add the flat file extension to the schema Set the tag-identifier for each record that can be in the flat file (note: ......

Posted On Wednesday, July 26, 2006 1:51 PM

BizTalk 2004 - sending messages using SMTP
The SMTP adapter can be used to send messages to email addresses. By default, the SMTP adapter comes with few options: Note that BizTalk is no mail server. The SMTP adapter can connect to a mail server. So, to be able to send the mail out, you need a mail server as well. You can control the “subject“, “from” and “to“ fields of the mail in a static way by defining them in the send port. With the “from“-field contents, your mails server might have problems. ......

Posted On Tuesday, June 20, 2006 3:01 PM

BizTalk 2004 - xpath rules!
Over the past 2 years, I have developed most of the functionality in BizTalk using maps. You'll spend the days dragging and dropping functoids, and changing their properties. BizTalk maps are not much more than a graphical layer on top of XSLT, with some convenient (database) functoids, and allowing for inline scripting. It has been pointed out that the BizTalk maps are stored (and executed) as highly inefficient XSLT "code". Personally, I am not in favor of coding XSLT myself, as an alternative ......

Posted On Tuesday, April 25, 2006 8:24 PM

BizTalk 2004 - WSE 2.0 Publishing Wizard Results
A few weeks ago, I started to use the Webservices Enhancements 2.0 for BizTalk 2004 as a newbie. Very quickly, I managed to generate a proxy-project based on an orchestration. Based on publicly available information (weblogs), I also realized a test client fairly easily. Only recently, we started connectivity tests with the "consumer" of our webservice. We ran into the strange situation that both we as publisher and the consumer built their own test client in Visual Studio. They even looked the same. ......

Posted On Thursday, April 20, 2006 9:28 PM

BizTalk 2004 - Xpath evaluation error
As pointed out on the weblogs of many fellow geeks, using xpath expressions in BizTalk orchestrations can be a good alternative to: Maps Promoted and distinhuished properties in XLANG/s expressions I was recently re-applying a succesful xpath expression in an assignment shape. When you need the xpath to a specific node in an XML, open the corresponding schema (XSD), navigate to the node, highlight it, and grab the xpath-expression from the node properties. In this particular case, I required the ......

Posted On Thursday, April 20, 2006 9:09 PM

BizTalk 2004 - How to assign XML message contents to a string variable
When consuming webservices in BizTalk, you often need to pass an XML message as a string argument to the webservice's method. This is how you do this: Using mappings, XSLT or whatever, create the target message targetMsg that you need to send as a string argument Define a variable xmlDoc of type System.Xml.XmlDocument in your orchestration In an assign shape, write: xmlDoc = targetMsg; After this statement, the contents of targetMsg are available as string. Use xmlDoc.OuterXml for this (in XLANG/s ......

Posted On Wednesday, April 5, 2006 12:25 PM

BizTalk 2004 - No go: Consuming an orchestration based webservice with another orchestration
An orchestration was published as a webservice using the WSE 2.0 wizard. This seems to be operational on the test server. The next step is being able to test our own webservice orchestration. So, within the solution, we created another project for consuming the webservice. The projects share underlying message types (avoiding conflicts due to multiple subscriptions when operating orchestrations from both projects at the same time), and the consuming orchestration is using the webservice definition ......

Posted On Wednesday, April 5, 2006 9:11 AM

BizTalk 2004 - How to create an XSD schema out of a sample XML
When the messages to be exchanged are “specified by example”, you might have the challenge of producing an XSD schema out of the sample XML-message. There is a quick solution for this in BizTalk 2004: Store the XML-message as file Open a new or existing BizTalk project, and choose “Add existing item“. Change the filter settings and folder so that the XML-file will become visible. Select it. Open the XML-file with BizTalk's default editor. On the editor screen, request the ......

Posted On Thursday, March 23, 2006 6:12 AM

BizTalk 2004 - Maps containing loop and other functoids in the same scope
General rule: when a segment or a group is mapped using the loop functoid, the underlying elements can not be mapped using functoids. A BizTalk map is executed right-to-left, i.e. based on the target message, the mapping engine applies the mapping rules as specified. This makes it necessary to use a loop-functoid in some cases. An element in the target message connected to an element in the source message via the loop-functoid will force the mapper to loop all source possible elements. This is great ......

Posted On Tuesday, March 14, 2006 5:57 AM

Copyright © Erwin Homan | Powered by: GeeksWithBlogs.net