BizTalk Server Applications Integration - XML msg posted to msmq getting corrupted

This is Interesting: Free IT Magazines  
Home > Archive > BizTalk Server Applications Integration > February 2004 > XML msg posted to msmq getting corrupted





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 XML msg posted to msmq getting corrupted
Alex Bates

2004-02-08, 4:35 pm

Hello,

I have a .NET based AIC that posts an XML string to an
msmq queue. I set msmq to audit/log the message, and when
I look at it the original XML is corrupted as follows:
the xml "<" and ">" tags are escaped to "&lt;" and "&gt;",
and the xml is wrapped with an outer "<?xml version="1.0"?
>..<string>" and associated end tags.


Why is msmq doing this?? Here is the C# code I'm using to
post to the private msmq queue:

System.Messaging.MessageQueue mq =
new System.Messaging.MessageQueue (strQueueName);

// Send string
mq.Send(strMessage, strLabel,
System.Messaging.MessageQueueTransactionType.Single) ;

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com