April 2008 Entries

BizTalk: Architectural Tips: Custom Message Audit

The message audit can be implemented by BizTalk Tracking (BizTalkDTADb) database. But there is one big "But". This database has predefined, undescribed structure, it should be used only by special BizTalk tools as HAT. We cannot change the audit points, cannot freely create user queries, cannot change structure of this database. It is not so hard to create the custom audit, it is the standard practice to make the custom audit database and gather data for it from the BizTalk application with additions ......

BizTalk: Debugging the BizTalk applications with the direct test send ports

" ...I have published an orchestration as a web service and consumed it from an aspx page. now, how do I see if I triggered the orchestration and how and where do I get the output (transformed message of the orchestration)? ..." It is a very common question, how to debug the BizTalk applications. Have you ever tried to use the BizTalk Orchestration Debugger? So painful experience. Never see the BizTalk developer who is using it in real work. One simple decision is creating the direct test send ports. ......

WCF: Contract name is inconsistent on the client side

WCF: Contract name is inconsistent on a client side. Sometimes we’ve got a very clear fault message: <faultstring xml:lang="en-US">Could not find default endpoint element that references contract 'ServiceProvider_configurat... in the ServiceModel client configuration section. This might be because no configuration file was found for your application, or because no endpoint element matching this contract could be found in the client element.</faultstring> ......

WCF: This rigid XML

Very interesting thread: "Am I wrong about WCF usage?" http://forums.microsoft.com... There are the complains about WCF. Why Microsoft looks at the future only with loose-coupled WCF and depreciates the Remoting technology? My experience is from the BizTalk side. It's interesting that we have similar issues. For example, using contracts in the current formats tends to be rigid. What I need in the many cases from the data/message contracts is ......

BizTalk: SQL Send port: How to pass and process unbounded nodes to the SQL stored procedure

If we need to pass and process ONE row to the SQL store proc, it is pretty easy. Just map the XML message (inside BizTalk) elements to the service SQL request schema elements. This schema is created by SQL Port wizard when we point it to the SQL store proc. More interesting problem is to pass several rows to the SQL Send port. Here I use the SQL terminology. In Xml terms it means the Xml node with MaxOccurs=unbounded in the Xml document. (We can use the updategramm, but you can see this approach ......

BizTalk: Contract-Driven Messaging

I was stopped by the words "Contract-Driven Messaging" in the article "An XML Guru's Guide to BizTalk Server 2004, Part I" by Aaron Skonnard ("Contract-Driven Messaging" http://msdn.microsoft.com/m... ) What does in mean the "Contract-driven" in the BizTalk? The contract in the BizTalk means the same thing as in WCF, the signatures of the objects (documents, messages). But not only the the objects with entry data but the with context data. For example, the addresses ......

WCF: Deserialization error, the response elements disappeared.

Deserialization error, the response elements disappeared. Namespace in Wsdl is not conforming to the namespace in Response message I generated client for the Web-service and made a request. The response on the service side had the data inside, the notification element. The problem was on the client side where the notification element disappeared. I used the SoapUI utility to test the service. The SoapUI response had the right notification element! But my client got any notification element. I created ......