faqts : Computers : Integration : BizTalkServer2000/2002

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

Entry

Can BizTalk Server be configured to deliver a BizTalk Framework message to a location specified in the BizTalk Framework envelope?

Apr 6th, 2005 21:23
Balaji Ramachandran, http://www.microsoft.com/technet/prodtechnol/biztalk/biztalk2000/deploy/btfaq.mspx


BizTalk Server can be configured to deliver a message to the location 
specified in the header section of a BizTalk Framework envelope.
These are the requirements for implementing the handling of these types 
of messages in BizTalk Server:
• Your outbound agreement must be an open destination agreement. In an 
open destination agreement, BizTalk will expect the transport address 
to be part of the data submission. For the purposes of handling these 
types of message, the transport address will be extracted from the data 
submitted to BizTalk Server.
• Your outbound agreement must specify an envelope type of custom XML. 
The envelope used in the agreement will indicate to BizTalk Server how 
it should handle this message. The custom XML type of the envelope will 
let it know which serializer to invoke. This, in conjunction with the 
third requirement, will render a BizTalk Framework envelope. (This step 
is necessary only if you wish to deliver the data in a BizTalk 
Framework envelope.)
• Your outbound agreement must specify an Organization Qualifier 
of "BizTalk." To render a BizTalk Framework envelope, BizTalk will use 
the specific "BizTalk" qualifier. This, in conjunction with the custom 
XML envelope, will indicate to BizTalk Server which serializer to 
invoke. (This step is necessary only if you wish to deliver the data in 
a BizTalk Framework envelope.)
Note: There is currently an issue in the BizTalk Management Desk that 
will not allow the user to specify which Organization Qualifier to use. 
You can do this only by using the BizTalk Server Management Object 
Model. Please see the OpenDestinationAgreement.vbs script for a sample 
implementation.
• Your BizTalk Framework message should contain the <To> address in the 
header of the message. The following is an example:
<biztalk_1 xmlns="urn:schemas-biztalk-org:biztalk:biztalk_1">
<header xmlns="urn:schemas-biztalk-org:biztalk:biztalk_1">
<delivery>
<from>
<address>http://www.btforg.com</address>
</from>
<to>
<address>http://localhost/testo/receiver.asp</address>
</to>
</delivery>
</header>
<body>
.... 
data
.... 
</body>
</biztalk_1> 
BizTalk Server will use the <Address> tag in the <To> section to 
determine where the data should be delivered. The example above 
displays an HTTP address. The BizTalk Server 2000 Technology Preview 
supports only HTTP and FILE. The upcoming beta release of BizTalk 
Server will support other protocols.