HL Numbering

Back in the day (BizTalk 2002) the incremental numbers in the HL Segments were something that an average developer did not need to worry about.

However, with newer versions comes enhancements, built in tools that make it easier and quicker to develop the same solution. HL Numbering however is actually harder. Microsoft has decided that it is not going to modify any of the data inside of the Transaction using the HIPAA adapter. I had to create a process that would do the numbering.

The trick was to get the numbers to increment regardless of where in the transaction the work was being done. I used some simple C# code to create a constant variable and increment the number.

I created a self contained orchestration that would accept a Claim (institutional or professional) re number it and then send it back. I did this so I can do my mapping logic and then finally plug this in.

Overview of SFTP, FTPS, SCP and FTP

Overview of SFTP, FTPS, SCP and FTP:

I am not going go in detail about sFTP
or FTPS here, since my main motive is to integrate sFTP with BizTalk, hence if
you need more information need to research by yourself


SFTP:

sftp is an interactive file transfer program, similar to
ftp, which performs all operations over an encrypted ssh transport”.

SFTP is part of the OpenSSH standard. Along with SSH you have
capabilities to use commands such as SCP, SFTP, etc. So….SFTP is very secure
because each packet is encrypted and compressed while sending is taking place.
It utilizes public key authentication and compression.
The Abbreviation SFTP nowadays invariably means Secure File Transfer Protocol,
however there is another protocol with the same abbreviation (Simple File
Transfer Protocol). So lets not get confused.

Differences
between FTP, SFTP
and FTPS:

Why not just use FTP? Why should I use Secure FTP instead of
FTP? Why is SFTP better than FTP? <!–[if !supportLineBreakNewLine]–>

FTP Vs SFTP
Vs FTPS Vs SCP:

FTP (File
Transfer Protocol)
does
not take any precautions to protect information transmitted during a session.
This includes your username, password, and any files transmitted.

SFTP
(Secure File Transfer Protocol)
is a secure replacement
for FTP (File Transfer Protocol) based on the Secure Shell protocol. Unlike
FTP, SFTP encrypts both commands and data providing effective protection
against common network security risks. SSH Client and Server provide both
command-line SFTP tools and a graphical user interface for Windows users.

SFTP encrypts the session, preventing the casual detection of your
username, password or anything you’ve transmitted.

The
major reason for implementing SFTP versus FTP is security. FTP is not even
remotely secure. During an FTP session, your username and password are
transmitted in clear text. If someone is eavesdropping, it is not difficult for
them to log your FTP username and password.

In
FTP all data is passed back and forth between the client and server without the
use of encryption. This makes it possible for an eavesdropper to listen in and
retrieve your confidential information including login details. With SFTP all
the data is encrypted before it is sent across the network.

SFTP
is not the same as FTP/S; the latter implements the original FTP protocol
through a separately-created secure tunnel.

FTPS
(FTP-SSL)
is a real ftp that uses
TSL/SSL to encrypt the control session and if required the data session. With
FTPS the control session is always encrypted, but the data session might not
be. Why is this? Because with the control session encrypted the authentication
is protected and you always want this (normal ftp uses clear text). If you are
NOT pre-encrypting the file, you want the data session encrypted so that the
file is encrypted while the data is in flight. However, if you are
pre-encrypting the file then you do not need to have the data connection
encrypted as you do not need to add the overhead of encrypting the data
connection, since the file is already encrypted.
Understand that
SFTP is SSH file transfer and FTPS is FTP with SSL, FTPS
is a file transport layer on top of SSL or TLS.
The FTPS adds
SSL-enabled FTP send and receive capabilities, uses the FTP protocol to
transfer files to and from SSL-enabled FTP servers.



SCP (Secure Copy) is a
non-interactive command-line tool for securely transmitting files from a
machine to another. It is a secure replacement for RCP and provides a similar
command-line syntax. SCP is strongly based on SFTP but is often a more suitable
choice when setting up unattended file transfers using scripts.


 

SSH Servers

OpenSSH (http://www.openssh.com/)

  1. OpenSSH
    is a free version of the SSH protocol suite. OpenSSH servers and clients are
    available for both Unix and Windows.

  2. OpenSSH
    has been ported to Windows with the popular CYGWIN utility. The project was
    created by Network Simplicity (
    http://w

Upgraded BizTalk Server 2006 and MSMQT adapters…

When you upgrade from BizTalk 2004 to BizTalk 2006, MSMQ adapter is installed by default. If you had MSMQ/T adapter enabled in 2004, it will also be enabled after you upgrade to 2006. You’ll see the MSMQ adapter, but it won’t be doing anything. The adapters don’t conflict with each other and you can have both installed without any problems. The conflict would be between BizTalk with MSMQT and the Windows MSMQ service. As long as the MSMQ service is not running, you will not have problems.


Though MSMQ/T is fully supported in BizTalk 2006, if you want to migrate to MSMQ somtime in future follow the steps mentioned in Migration considerations for moving from MSMQ/T to MSMQ adapter in BizTalk 2006

New blog from the BizTalk Server product team

Kris Horrocks, Mike Woods, Mark Berman and Steve Sloan of the BizTalk product group at Microsoft will be contributing regularly to a new blog that you can find at http://blogs.msdn.com/BizTalk_Server_Team_Blog/.


They’ve got a great “beginner training roadmap” post that will be very helpful for people new to BizTalk Server 2006.


OK guys… let’s see some great content on a REGULAR basis!

Events update: Mashups, Cool stuff, TechEd, Code Camps

Looks like the events side of my life is heating up.


Most prominent is that June 11-16 (date/times to be confirmed), I’ll be speaking at TechEd (again) Boston on… you guessed it: Building a Next Generation ESB with Microsoft Technologies. I will be co-presenting this with two of my esteemed colleagues from this project: Lukas Cudrigh (Technical Strategist, Microsoft), and the Chief Architect from the large company where we’re actually building this. Early indications are that this will be a very popular session.


Before that, on May 6th, I will be speaking in Phoenix at the Desert Code Camp, and I’ll be doing 2 sessions:


• Intro to BizTalk Server 2006 (because I love to evangelize and help others see the light!)
• Building a Next Generation ESB using Microsoft technologies


Then the weekend of June 29th I’ll be speaking at the San Diego Code Camp, repeating the Phoenix sessions. Keep an eye on SoCalNetEvents.com for details on this.


In terms of events I’m organizing, if you’re in San Diego (as I am so rarely nowadays, but I will be in town this week, which is the only week I’ll be in town the whole week in the first half of 2006!!), I have put together two really interesting sessions:


March 28th, my friend Bill Evjen, Technical Architect at Lipper (div of Reuters) will be in town speaking at the San Diego .NET User Group. He will be presenting “Managing Membership and Role Management” and “Looking at some Cool New Features of ASP.NET 2.0”. Bill’s a great speaker, ironman extraordinaire author (working on multiple books at any point in time), and really knows his stuff, so this should be a great presentation. Bill told me that his “cool new features” includes some super-cool little-known gems, so… be there!


March 29th, through the San Diego Software Industry Council, we’re honored to have Dave Nielsen (StrikeIron, ex-PayPal/eBay Web services evangelist) presenting on “The Commercial Mashup Ecosystem” and commercializing mashups. Among his other impressive achievements, Dave also runs a Web services special interest group in Silicon Valley, and really knows his stuff, so this should be a most informative meeting.


Pretty busy, never a dull moment….