Navigation |

February 6, 2009

WMI script to update send handler host

In BizTalk Server 2004, sometime we need to update host for a send handler, the script below will do the job.

Option Explicit

‘ wbemChangeFlagEnum Setting
const UpdateOnly = 1

UpdateSendHandler
‘ MSBTS_ReceiveHandler host association update
Sub UpdateSendHandler ()
‘Get the command line arguments entered for the script
Dim Args: Set Args = WScript.Arguments

‘error handling is done by explicity checking the err object [...]

Filed by Paul Gu at February 6th, 2009 under BizTalk
No comments on this post yet

WMI script to update receive handler host

In BizTalk Server 2004, sometime we need to update host for a receive handler, the script below will do the job.

Option Explicit

‘ wbemChangeFlagEnum Setting
const UpdateOnly = 1

UpdateReceiveHandler
‘ MSBTS_ReceiveHandler host association update
Sub UpdateReceiveHandler ()
‘Get the command line arguments entered for the script
Dim Args: Set Args = WScript.Arguments

‘error handling is done by explicity checking the err object [...]

Filed by Paul Gu at February 6th, 2009 under BizTalk
No comments on this post yet

WMI script to update orchestration host

In BizTalk Server 2004, sometime we need to update host for a batch of orchestrations, the script below will become very handy.

Option Explicit

EnlistOrchHost
Sub EnlistOrchHost()
‘Get the command line arguments entered for the script
Dim Args: Set Args = WScript.Arguments

‘error handling is done by explicity checking the err object rather than using
‘the VB ON ERROR construct, so set [...]

Filed by Paul Gu at February 6th, 2009 under BizTalk
No comments on this post yet

November 19, 2008

Java vs. JavaScript

Java is an Object Oriented Programming (OOP) language created by James Gosling of Sun Microsystems. JavaScript was created by the fine people at Netscape. JavaScript is a distant cousin of Java. It is also an OOP language. Many of their programming structures are similar. However, JavaScript contains a much smaller and simpler set of commands [...]

Filed by Paul Gu at November 19th, 2008 under Programming
No comments on this post yet