February 2006 Entries

BizTalk 2004: Schema validation: Error in the "error BEC2004"?

“Error BEC2004” in BizTalk 2004 is a tricky error in some cases. For examples I use simplyfied schemas to highlight the source of the problem. 1. We have the schema Pict.1 and the Input instance file: ns0:Root xmlns:ns0="http://Schemas.S... ns0:Record> ns0:B>Bns0:B> ns0:Record> > Try to “Validate Instance“ and oops! - we've got an error: ... error BEC2004: The element 'http://Schemas.Schema1:Rec... has incomplete content. Expected 'http://Schemas.Schema1:C http://Schemas.Schema1:C_2 ......

BizTalk: Orchestration: Relationship of Receive port shape and Receive shape, Send port shape and Send shape

BizTalk: Orchestration: Relationship of Receive port shape and Receive shape, Send port shape and Send shape I don't know would it be useful for somebody... I'm constantly trying to understand the rules for different BizTalk tools. For example, BizTalk Orchestration Designer: Can I receive one message with the same type from different Receive port to one Receive shape? No. Pict.1 Can I receive the same message with the same type to several Receive shapes? Yes. Pict.2 Can I send the same message to ......

BizTalk: Ports: Questions for BizTalk developers

This is one of the "Questions for interview" articles. Part 1: "BizTalk 2004, Questions for interview without answers" http://geekswithblogs.net/L... Part 2: "BizTalk interview questions and principle" http://geekswithblogs.net/L... Part 3: "WCF: Questions for studing and interview" http://geekswithblogs.net/L... BizTalk: Ports: Questions for BizTalk ......

BizTalk: Schema: Odds: Generate Instance

Some times when I'm trying to generate an instance of a schema I've got strange results. I have a record parameter "Max Occurs" = unbounded. Some times "Generate Instance" the command generates 3 records, some times only one. I've made an investigation. Results: The number of the generated records: 0 1/default 2 n(>=3)Min Occurs: 3 1 2 n The number of the generate records is limited from the upper bound by Min Occurs. Pretty logical, doesn't it? Then why I was distracted? I am waiting the number ......

BizTalk: Ports: Odds: Service Window

BizTalk: Ports: Odds: Service Window There are some odds in setting up the Service Window for ports: 1. Receive locations have the whole set of parameters: "Start Date", "Stop Date", "Enable the Service Window", "Start Time", "Stop Time". Send ports have only "Enable the Service Window", "Start Time", "Stop Time" and don't have "Start Date", "Stop Date". Why? My idea is because the Send ports should always clean up the message box. It's quite unlikely to get the situation when the BizTalk receives ......