PRB: Loopback Adapter Fails with BizTalk Accelerator for RosettaNet RNIF 1.1 Messages (304154)



The information in this article applies to:

  • Microsoft BizTalk Server Accelerator for RosettaNet 1.0

This article was previously published under Q304154

SYMPTOMS

When you use a loopback adapter in conjunction with ports and channels that have been created by using the BizTalk Server Accelerator for RosettaNet, the data returned may appear as garbage characters.

CAUSE

RosettaNet Implementation Framework (RNIF) 1.1 documents created by the BizTalk Server Accelerator for RosettaNet use a binary format stored in a packed BSTR (known as a basic string or binary string). Depending on the language or application that you are using, this format contains null values that may lead to the data being interpreted as garbage characters.

RESOLUTION

There are several possible solutions to this problem, one of which is to use an open destination channel/port combination. For further information on using open destination channel and ports, see the Microsoft BizTalk Server 2000 documentation.

STATUS

This behavior is by design.

MORE INFORMATION

If you need to save the RNIF 1.1 message that is returned by the RosettaNet serializer, you can use an open destination channel/port as outlined in the following steps:
  1. In Messaging Manager, create an open destination port. For the envelope, select RosettaNetEnvelope.
  2. At the end of the Port creation, create a channel to an organization.
  3. Specify the appropriate RosettaNetMessage_inbound and RosettaNetMessage_outbound document definitions during the channel setup.
  4. On the final page of the Advanced Configuration section of the channel wizard, click Advanced. On the Envelope tab, select the serializer as RNIF11SupportRNMsgSerializer.
  5. When the ports and channels have been created, create a script that calls the BizTalk Interchange.Submit method. Parameters for this call should include a BIZTALK_OPENNESS_TYPE of BIZTALK_OPENNESS_TYPE_DESTINATION, a BSTR that contains the document instance submitted, a DestID of the file location to create the output document, and the channel name to which you are submitting the document. For example:
    objInterchange.Submit (4,objDOM.xml,,,,,"file://c:\OutputViaOpenSubmit%Tracking_ID%.dat","my open channel name")
    						

Modification Type:MajorLast Reviewed:9/12/2001
Keywords:kbprb KB304154