BizTalk Server General - Custom Adapter?(Newbie question)

This is Interesting: Free IT Magazines  
Home > Archive > BizTalk Server General > May 2005 > Custom Adapter?(Newbie question)





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Custom Adapter?(Newbie question)
Yuval

2005-05-24, 6:01 pm

we are in the process of integrating BizTalk server in our organization .
we have several customers which are currently using some custom code to
encrypt and decrypt files .the files are downloaded/uploaded via ftp.

the input for each of these methods is a stream and password - the return is
a stream.

what would be the correct way to integrate this with BizTalk?should I create
a custom adapter that will handle encryption/decryption? can you 'chain'
adapters - first download via ftp the decrypt then push into BizTalk?
are there any other usage options?
how do I store the passwords in BizTalk?(different passwords for different
customers)?

Thanks,
Yuval


Yossi Dahan

2005-05-24, 6:01 pm

Yuval hi

You may not need a custom adapter, it depends.
If the FTP is standard FTP you should consider using the FTP adapter and add
your decryption code as a pipeline component in the receive pipeline.
if you need to store any values securely you can use the SSO, these will be
store using key-value pairs so you can store one for each customer

Hope this helps

Yossi Dahan

"Yuval" <yuval@cscode.com> wrote in message
news:%23XsGSMHYFHA.2128@TK2MSFTNGP15.phx.gbl...
> we are in the process of integrating BizTalk server in our organization .
> we have several customers which are currently using some custom code to
> encrypt and decrypt files .the files are downloaded/uploaded via ftp.
>
> the input for each of these methods is a stream and password - the return
> is a stream.
>
> what would be the correct way to integrate this with BizTalk?should I
> create a custom adapter that will handle encryption/decryption? can you
> 'chain' adapters - first download via ftp the decrypt then push into
> BizTalk?
> are there any other usage options?
> how do I store the passwords in BizTalk?(different passwords for different
> customers)?
>
> Thanks,
> Yuval
>
>



Tomas Restrepo \(MVP\)

2005-05-24, 6:01 pm

Yuval,

> we are in the process of integrating BizTalk server in our organization .
> we have several customers which are currently using some custom code to
> encrypt and decrypt files .the files are downloaded/uploaded via ftp.
>
> the input for each of these methods is a stream and password - the return
> is a stream.
>
> what would be the correct way to integrate this with BizTalk?should I
> create a custom adapter that will handle encryption/decryption? can you
> 'chain' adapters - first download via ftp the decrypt then push into
> BizTalk?
> are there any other usage options?
> how do I store the passwords in BizTalk?(different passwords for different
> customers)?


What you really want is not an adapter, but rather a custom pipeline
component that can go into the decoding stage on a receive pipeline.

Now, as to how to obtain the password, the trick here would be to know how
you can tell that the message is coming from a particular customer? The
simplest option would be to configure that at the pipeline component level
as a property and then either create a custom pipeline for each customer or
use the trick described here:
http://blogs.msdn.com/gzunino/archi.../16/185842.aspx

(of course the component property would be a customer ID or name you could
use to get the password out of a secure location such as an encripted file
or even the SSO Database as described here:
http://www.masteringbiztalk.com/blo...b1eb6c4def.aspx)


There might very well be other ways to correlate the file to the customer so
you can get the password, depending on your solution architecture, but this
should give you an idea...


--
Tomas Restrepo
tomasr@mvps.org
http://www.winterdom.com/


Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com