Microsoft KB Archive/304154

= PRB: Loopback Adapter Fails with BizTalk Accelerator for RosettaNet RNIF 1.1 Messages =

Article ID: 304154

Article Last Modified on 9/12/2001

-

APPLIES TO


 * Microsoft BizTalk Accelerator for RosettaNet 1.0 Enterprise Edition

-



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:  In Messaging Manager, create an open destination port. For the envelope, select RosettaNetEnvelope. At the end of the Port creation, create a channel to an organization. Specify the appropriate RosettaNetMessage_inbound and RosettaNetMessage_outbound document definitions during the channel setup. On the final page of the Advanced Configuration section of the channel wizard, click Advanced. On the Envelope tab, select the serializer as RNIF11SupportRNMsgSerializer.  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,,,,,&quot;file://c:\OutputViaOpenSubmit%Tracking_ID%.dat&quot;,&quot;my open channel name&quot;) </li></ol>

Keywords: kbprb KB304154

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.