Sunday, May 08, 2011

BizTalk ESB Dynamic port – 3 filter properties

This is a quick post for you (and me!) to remember….whenever you want to use the ESB Toolkit and are wondering which filters you need to set to be able to get the send port to send a message….

SET THESE 3 FILTERS:

  • Microsoft.Practices.ESB.Itinerary.Schemas.ServiceName

Make sure that the name of this filter matches the Dynamic Send port that you have chosen in you itinerary!!

  • Microsoft.Practices.ESB.Itinerary.Schemas.ServiceState

To ensure that the process continues and that the itinerary is continued…set the state to ‘Pending’. The Toolkit will worry on the actual states.

  • Microsoft.Practices.ESB.Itinerary.Schemas.ServiceType

Depending on the scenario you can set the ‘ServiceType’ to ‘Messaging’ for a messaging based subscriber or to ‘Orchestration’ for an Orchestration based subscriber.

Filter

Note: the IsRequestResponse property might be useful for solicit response port.

 

HTH,

Sander

 

Tags van Technorati: ,,

Saturday, May 07, 2011

ESB Portal – powershell error on 64-bit machine

Yesterday I was having an issue when trying to install the ESB management portal. Although I opened the gates security wise I still got PowerShell errors…

Error_SetPolicy

I could not figure out what the problem was….then my colleague Tomasso Groenendijk asked….”is it a 64-bit machine? Good luck with that!”

64bit

It was so simple, kuch, (if you would think of it)….configure this for 32-bit AND 64-bit.

a) Start PowerShell 32-bit

image

  • Right click and choose ‘Run as Administrator’)
  • Execute the following command:

Set-ExecutionPolicy RemoteSigned

a) Start PowerShell 64-bit

image

  • Right click and choose ‘Run as Administrator’)
  • Execute the following command:

Set-ExecutionPolicy RemoteSigned

 

Hope this helps someone….

 

Sander

Tags van Technorati: ,,

Friday, May 06, 2011

.Net 4.0 is cool

Since I wasn’t doing a lot of .Net development and when I did it was for developing pipeline components, mapper helpers or other stuff the whole .Net language improvements didn’t got my attention.

Since I’m doing some adjustments to the BizUnit steps to enable BizTalk testing I was able to use some new .Net features. I’m probably to last to join the club, but from now on my code has this style;

// create new entity and assign the instance variable Name the value ‘TestOrch’
var inputTestCase = new TestCase() { Name = "TestOrch" };

 

Thursday, May 05, 2011

BizTalk 360 – sharing my experience

Tags van Technorati: ,,
Today i was notified about an excellent tool to view the stuff you can see in the administration console in a web based silverlight / pimped GUI.

Here some quick notes on my first experience as well as some pros- and cons.

Installation

As described on the documentation you have to perform some steps to get it working. BizTalk 360 is an IIS web application that is installed when you run the setup, additionally it will install a windows service that will monitor your environment.

1) Register and run the setup

2) Configure security

a) Application pool user should be a member of BizTalk Server Administrators / IIS_IUSRS / SSO Administrators

image

b) Is mixed authentication is disabled make sure you change the web.config to use integrated security

c) Add some grants on the db (suggestion, only do this when you run into problems)

  • GRANT SELECT ON dbo.adm_OtherDatabases TO BTS_ADMIN_USERS
  • GRANT SELECT ON dbo.adm_Server2HostMapping TO BTS_ADMIN_USERS
  • GRANT SELECT ON dbo.adm_ServiceClass TO BTS_ADMIN_USERS
  • GRANT SELECT ON dbo.BizTalkDbVersion TO BTS_ADMIN_USERS

3) Verify that the application pool is configured for .Net framework 4.0 (if configured for 2.0 you will get the error below when starting the application)

‘Error Occurred during initialization’

Error

See this page for additional throubleshooting tips

Usage

When you go to your environment you can basically view everything that you can on your BizTalk administration console, it allows for some quick overviews of an application (like when you click on configure) and drill down on artefacts like ports / hosts etc. In the screenshot below for example, you will see that apparently the application is not fully started…

App

Which brings me to the disadvantage, you can drill down and see everything, however you can not perform any action to enable this port, for this you have to go through the tab ‘Ports’ and enable the port. After you click on the ‘Home’ tab you would expect to see the updated results….nope, you have to click on ‘Refresh’, which gives a déjà vu feeling resembling the administration console (that where I got my F5 RSI thumb from).

It does has a lot of cool features and I suggest to take the feature tour.

Strengths

Platform overview

This tool lets you view your entire platform in a single overview, as well as the state of your environment, pretty cool stuff.

Platform

Viewing the Topology

Most of the BizTalk environments consists of multiple environments and every DTAP document has another variation on a visio sheet describing the topology. This tool comes up with a pretty cool dynamically discovered diagram!

Download

Governance

This part lets you see some (room for improvements) governance on your environment for example when are host instances started and stopped…perfect! At this time I thought I would do a test and stop the host instance outside of BizTalk 360, this was not noticed, but I’m sure that’s because it’s the CTP. Still this type of features are a great selling point.

Governance

Room for improvement

Here are some parts that have a lot of potential but should be (to my humble opinion) improved.

Advanced event viewer

The advanced event viewer gives a nice structured interface to build you event viewer filter

EventViewer

However, I could not see any data and when I ran the query I got this nice little fellow

 EventViewer_Error

Let’s say that this was my quick-and-dirty configuration mistake, or was caused by a glitch due to the fact it is an CTP.

 

Queries

This got my hopes up, I was hoping to see the powerful HAT query designer where you could get your hands dirty revived. However, this was a mere subset of the administration console query console. I’m not sure if I looked in the wrong place, but where is the button to save your carefully crafted query?!

 

Summary

I do think this is an awesome additional for the BizTalk community, it just looks like an app of the future. I think it has a lot of cool features to consider. The licensing information is not yet clear but I highly recommend to take a look at this tool.

 

Cheers,

Sander

Tuesday, May 03, 2011

ESB Toolkit 2.1 No itinerary designer

The itinerary design seems to be only installed for the user that was fortunate the install the ESB Toolkit.

Symptom – when you open an itinerary you do not see the itinerary DSL but only the Xml (might be good news for the old school notepad coding guys) but having that experience always makes me back shiver.

1 OpenItinerary

When you go to tools / Extension manager

2 Extensions

You will not see the ESB Itinerary design

3 ExtensionsManager

What’s wrong – The VS.Net extensions are installed in the folder of the user, somehow the ESB Toolkit installer does not install the extension for all users (you can verify this by looking for the EsbExtensions in the following folder:

<DRIVE>\Users\<USERNAME>\AppData\Local\Microsoft\VisualStudio\10.0\

Solution – Close VS.Net (all instances) and go to:

‘Start\Microsoft BizTalk Server 2010 ESB Toolkit\Install Itinerary designer extension’

11 Install Designer

12 Install Extension

13 Installed

Open VS and then the itinerary that didn’t open, you should be able to go ahead an continue where you wanted to start!

10 BackinBusiness

 

Note, if this didn’t work, my other post on this subject might help you out.

 

Cheers,

Sander