Feeds:
Posts
Comments

Archive for June, 2009

I got this error today trying to send a flat file to BizTalk using the flat file disassembler: “The remaining stream has unrecognizable data”. The file validated in Visual Studio but did not work trough the pipeline. The file has some CR chars at the end of the file, which obviously validated against the schema in Visual Studio, but not in the pipeline.

This link http://connectedthoughts.wordpress.com/2008/03/17/flat-file-disassembler-difference-between-biztalk-2004-and-2006/ explains a solution. The solution was to add a dummy “Trailer schema” to the pipeline, which simply has one record (Named Root) and one field as a string. I set the min occurs to 0 and maxoccurs to *. This solved the problem!

Advertisements

Read Full Post »

Promoted values for EDI schemas does not work in BizTalk 2009. The EDI disassembler seems to be the villon for this behaviour. Using the xml disassembler with and Edifact message in xml format works just fine, but using the Edi disassembler the same promoted values would not be promoted. I stumbled across this behavor when trying to correlate on a COARRI d95B Edifact message in an orchestration. One solution is to map the message to xml in the receive port, before receiving in the orchestration. Another solution, which is better, is to write your own custom pipeline component and promote the property yourself after the disassembler. Thanks to my collegue Stefan for finding this page: http://social.msdn.microsoft.com/Forums/en-US/biztalkediandas2/thread/bc612dac-b9ad-4dae-a275-f9a6c6309036

Read Full Post »

The xpath function is quite neat, you can use it in expression shapes for both getting and setting data. Here is an example:

xpath(AggregatedMessage, “/*[local-name()=’EFACT_D95B_COARRI_ITG12′ and namespace-uri()=’http://schemas.microsoft.com/BizTalk/EDI/EDIFACT/2006′%5D/*%5Blocal-name()=’UNT’ and namespace-uri()=”]/*[local-name()=’UNT2′ and namespace-uri()=”]”) =  xpath(AggregatedMessage,”count(//UNH)”);

This expression sets the element UNT2  (using the xpath expression above) in the message AggregatedMessage to a calculated value of  UNHs.  As you see, you may use xpath functions in your call, here I used the count() function. For getting a value of a node, simply used the function string(), for instance this could look like: receiverId = xpath(ContainerAnnouncement, “string(//UNB/S003_0010”);

Read Full Post »

Microsoft changed the name on ESB Guidance to ESB toolkit and released version 2.0 yesterday. Head to http://msdn.microsoft.com/en-us/dd876606.aspx for more information as well as a download.

An Enterprise Service Bus (ESB)http://msdn.microsoft.com/en-us/dd876606.aspx

Read Full Post »

I guess many BizTalker’s use the Event log for writing debug messages.  Consider using the trace log instead, by doing this, you will get by the problems such as a full event log. Use the following code in an expression shape to log to the trace log:

System.Diagnostics.Trace.WriteLine(“My message”, “My category”);

Then, by using a listener, such as DebugView you can read the messages. Make sure to use the Filter/Highlight functionality under the Edit menu to filter so you only view your messages (set the filter to’ My category’).

Read Full Post »

Lowepro Flipside 200

Well, I liked the camera bag Flipside 400 (which I bought recently) so much, so I decided to buy another smaller Flipside bag. I bought the Flipside 200 to use when not carrying around so much (it’s ideal for bringing your DSLR with say 2 lenses and a flash).

Picture 005

 

 

 

 

 

 

 

 

It’s opened in the same way on the “back” side, it has support for attaching your tripod and a small pocket on the outside for your memory cards and a pocket on the other side for a small water bottle. 

You can actually carry quite much equipment in this bag, here I squeezed in a lot (a Nikon D80 with a 50mm attached, a 18-135 lens, a 18-55mm lens, the SB 800 flash, 2 filters with plastic boxes, an extra batteri for the camera, the charger for the camera and another camera with a 45mm lens attached), however packed to it’s limits :

Flipside 200 Back

Flipside 200 with tripod attached

Read Full Post »

I attended the seminar “Inside the Windows Application Server Enhancements known as Dublin” in Stockholm last night and it was very interesting!
Stephen Thomas was the key speaker and he spoke about what Dublin is, what it does and he also made some demonstration (from a only 3 weeks old version of “Dublin”), were he deployed and worked with WCF and WF services in “Dublin” (.Net 4.0). 

“Dublin”, will be shipped as an add on to IIS in Windows Server 2008,  and you will get four new icons in the IIS manager for managing and monotoring your WCF/WF services.

One thing (which is a bit funny), it that you recognize a lot if you are a BizTalk developer. Creating WFs in Visual Studio 10 (released sometime next year), you do a lot of drag and drop programming (dragging shapes onto the WF). Furthermore, the management tool in IIS for Dublin is quite similar to the Management tool in BizTalk; services can be stopped, suspended services can be resumed.

So, what’s the difference between “Dublin” and Biztalk?
– BizTalk has build in support for a lot of different adapters, for example the EDI adapter. Dublin does only have support for wcf adapters.
– Dublin does not have a mapping tool such as BizTalk’s mapper (however, mapping could be done in xslt, but it’s not visual).
– Dublin is ideal for low latency solutions, where it may be a better solution to use instead of BizTalk.

So, what can I say about “Dublin”? I think that you can see it as a light version of BizTalk, where people is going to host some WCF/WF services for some flows and use BizTalk for others (depending on the needs).

When will Dublin be released? Microsoft will probably release a beta later this year (in the fall?) and it will be released at the same time as Visual Studio 10 (sometime early 2010).

Read Full Post »

Older Posts »