Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
(MCTS) Microsoft BizTalk Server (70-595) Certification and Assessment Guide: Second Edition

You're reading from   (MCTS) Microsoft BizTalk Server (70-595) Certification and Assessment Guide: Second Edition This book does exactly what it says on the cover, giving in-depth guidance to intermediate BizTalk developers on how to pass the Microsoft BizTalk Server 2010 (70-595) exam. It's your essential aid to success.

Arrow left icon
Product type Paperback
Published in Mar 2014
Publisher
ISBN-13 9781782172109
Length 570 pages
Edition Edition
Languages
Arrow right icon
Toc

Table of Contents (20) Chapters Close

(MCTS) Microsoft BizTalk Server (70-595) Certification and Assessment Guide Second Edition
Credits
About the Authors
About the Reviewers
www.PacktPub.com
Preface
1. Configuring a Messaging Architecture FREE CHAPTER 2. Developing BizTalk Artifacts – Creating Schemas and Pipelines 3. Developing BizTalk Artifacts – Creating Maps 4. Developing BizTalk Artifacts – Creating Orchestrations 5. Testing, Debugging, and Exception Handling 6. Deploying, Tracking, and Administrating a BizTalk Server 2010 Solution 7. Integrating Web Services and Windows Communication Foundation (WCF) Services 8. Implementing Extended Capabilities 9. Using Azure BizTalk Features 10. Test-taking – Tips and Tricks Sample Certification Test Questions Sample Certification Test Questions – Answers Testing Your Knowledge – Answers Index

Debugging and exception handling


  1. Elisa is an administrator for HWLC's BizTalk Server 2010 platform. She is receiving messages through the ReceiveNewCustomer Receive Port. She wants to route any message that fails processing to the SendFailureNotification Send Port that is configured to use SMTP to send the failed messages by mail to her. How must she configure the SendFailureNotification Send Port to receive failures that occurred on the ReceiveNewCustomer Receive Port?

    1. Enable Failed Message Routing for the ReceiveNewCustomer port. Configure the SendFailureNotification Send Port to have a filter on BTS.ReceivePortName = ReceiveNewCustomer.

    2. Enable Failed Message Routing for the SendFailureNotification port. Configure the SendFailureNotification port to filter on BTS.ReceivePortName = ReceiveNewCustomer.

    3. Enable Failed Message Routing for the SendFailureNotification port. Configure the SendFailureNotification Send Port to have a filter on ErrorReport.ReceivePortName = ReceiveNewCustomer.

    4. Enable Failed Message Routing for the ReceiveNewCustomer port. Configure the SendFailureNotification Send Port to have a filter on ErrorReport.ReceivePortName = ReceiveNewCustomer.

  2. HWLC have nightly batch loads of customer information from a legacy system into a new RDMS system. The new system has very strict rules set up, and does not allow null values for vital fields or strings in integer fields. The Schema used to receive data from the legacy system in BizTalk Server 2010 has implemented those rules. The legacy system has not implemented these rules and HWLC is experiencing customers arriving with incorrect data. The customer batch is de-batched in the Receive Pipeline's XmlDisassembler component and entered into the new system one by one. HWLC wants all correctly formatted customers to be entered into the new system and wants only the incorrectly-formatted customers to be suspended, and not the whole batch. What must be done to allow the correct messages to proceed?

    1. On the Receive Port from the legacy system, enable Ordered Delivery and make sure that Stop sending subsequent messages on current message failure is not enabled

    2. On the Send Port to the RDMS system, enable Ordered Delivery and make sure that Stop sending subsequent messages on current message failure is not enabled

    3. On the Receive Port from the legacy system, set RecoverableInterchangeProcessing to True on the XMLDisassembler component

    4. On the Send Port to the RDMS system, set ProcessingInstructionsOptions to 1 on the XMLAssembler component

  3. Carly, a developer at HWLC, has been tasked with creating unit tests for a BizTalk Server 2010 solution. A senior developer has told her to use the ValidateInstance method to unit test Schemas. She instantiates the Schema class, but can find no such method. What must she do to be able to use the ValidateInstance method?

    1. Manually add references to Microsoft.BizTalk.TestTools and Microsoft.XLANGs.BaseTypes

    2. Set the project's Enable Unit Testing option to True

    3. Cast the Schema class to a TestableSchemaBase class

    4. Configure the Input Instance Filename property of the Schema file to point to the instance to validate

  4. HWLC has implemented an Orchestration that processes the sensor data. The sensor data is delivered once every second. The next message to arrive makes the previous message obsolete. Suspending the instance in case of failure is not meaningful. The requirement is that a warning needs to be logged to the EventLog and then the Orchestration should end without leaving any suspended instances. What must be done to the Orchestration to allow this behavior?

    1. Implement the Orchestration without using any scopes. Ensure that the Report to Analyst property of the Orchestration is set to True.

    2. Implement the Orchestration using a scope to encapsulate all the logic. Ensure that the Report to Analyst property of the scope is set to True.

    3. Implement the Orchestration using a scope to encapsulate all logic. Add an exception block to catch the exception. Use the EventLog class to write to the EventLog. Use the Throw Exception shape to re-throw the exception and end the Orchestration.

    4. On the Receive Port where the sensor data message is first received by BizTalk, select Enable routing for failed messages.

  5. HWLC has implemented a process that receives sensor data from an engine performance test bench system. The data is sent to a downstream service for further processing through a solicit-response port. At occasions the service is unavailable. The Orchestration has encapsulated all its logic inside a scope and has implemented an exception block to catch the exception and use a Terminate shape to end gracefully without suspending the Orchestration instance. When the Orchestration terminates, there are still suspended messages left on the Send Port. What must you do so there are no messages suspended on the port when errors occur?

    1. Enable Failed Message Routing on the Send port. Configure an Orchestration to filter on the ErrorReport.SendPortName property.

    2. Enable Failed Message Routing on the Send port. Configure an Orchestration to Filter on BTS.AckType = NACK and BTS.AckSendPortName.

    3. Configure an Orchestration to Filter on BTS.AckType = NACK and BTS.AckSendPortName.

    4. Configure the logical port in the Orchestration with Delivery Notification so that the Orchestration waits for the port processing to complete and throws a DeliveryFailureException if there are failures.

  6. HWLC is currently considering implementing unit testing. Which BizTalk artifacts have unit testing APIs?

    1. Schemas, Maps, and Pipeline components

    2. Schemas, Maps, and Pipelines

    3. Schemas Maps, and Orchestrations

    4. Orchestrations

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image