XML validation problem with MSMQT
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > BizTalk Server > BizTalk Server Orchestration > XML validation problem with MSMQT




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    XML validation problem with MSMQT  
Brett


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
09-02-04 11:16 PM

I have an XML instance that validates against my schema but is rejected by
the XML Recieve pipeline when sent in via MSMQT (using SendMSMQMessage.exe
from the MSMQT SDK sample).  I found that when I submit a document like:

<?xml version="1.0" encoding="UTF-8"?>
<request_instance xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
id="312987465365" ver="2.0">
<requested_date>Thu Apr 25 10:31:13 BST 2002</requested_date>
...
</request_instance>

I get the following app log error:

The MSMQT subservice failed to process incoming message, error code "There
was a failure executing the receive pipeline:
"Microsoft.BizTalk.DefaultPipelines.XMLReceive" Source: "XML disassembler"
Receive Location: "msmqtNICESubmitReqIn" Reason: None of the components at
Disassemble stage can recognize the data.  " .

But if I remove the XML declaration tag and just send the following, it
works fine:

<request_instance xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
id="312987465365" ver="2.0">
<requested_date>Thu Apr 25 10:31:13 BST 2002</requested_date>
...
</request_instance>

Why is it that <?xml version="1.0" encoding="UTF-8"?> chokes the XML Recieve
dissasembler?  Thanks,

Brett





[ Post a follow-up to this message ]



    Re: XML validation problem with MSMQT  
Matt Milner


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
09-02-04 11:16 PM

Two things:

1) try using utf-16
2) are you using hte send, exact button or the send wrapped from the sample
application?  The send exact tends to work better and is the recommended
approach.

matt


"Brett" <Brett@discussions.microsoft.com> wrote in message
news:7BA74188-3736-4D0C-9BAA-6A92C32126AC@microsoft.com...
> I have an XML instance that validates against my schema but is rejected by
> the XML Recieve pipeline when sent in via MSMQT (using SendMSMQMessage.exe
> from the MSMQT SDK sample).  I found that when I submit a document like:
>
> <?xml version="1.0" encoding="UTF-8"?>
> <request_instance xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> id="312987465365" ver="2.0">
> <requested_date>Thu Apr 25 10:31:13 BST 2002</requested_date>
> ...
> </request_instance>
>
> I get the following app log error:
>
> The MSMQT subservice failed to process incoming message, error code "There
> was a failure executing the receive pipeline:
> "Microsoft.BizTalk.DefaultPipelines.XMLReceive" Source: "XML disassembler"
> Receive Location: "msmqtNICESubmitReqIn" Reason: None of the components at
> Disassemble stage can recognize the data.  " .
>
> But if I remove the XML declaration tag and just send the following, it
> works fine:
>
> <request_instance xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> id="312987465365" ver="2.0">
> <requested_date>Thu Apr 25 10:31:13 BST 2002</requested_date>
> ...
> </request_instance>
>
> Why is it that <?xml version="1.0" encoding="UTF-8"?> chokes the XML
Recieve
> dissasembler?  Thanks,
>
> Brett







[ Post a follow-up to this message ]



    Re: XML validation problem with MSMQT  
Brett


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
09-02-04 11:16 PM

utf-16 using send exact did it - Thanks!

Was it rejected because my BTS created schema uses utf-16?

"Matt Milner" wrote:

> Two things:
>
> 1) try using utf-16
> 2) are you using hte send, exact button or the send wrapped from the sampl
e
> application?  The send exact tends to work better and is the recommended
> approach.
>
> matt
>
>
> "Brett" <Brett@discussions.microsoft.com> wrote in message
> news:7BA74188-3736-4D0C-9BAA-6A92C32126AC@microsoft.com... 
> Recieve 
>
>
>





[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 09:49 AM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register