|
Home > Archive > BizTalk Server Orchestration > September 2004 > XML validation problem with MSMQT
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 validation problem with MSMQT
|
|
|
| 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
| |
| Matt Milner 2004-09-02, 6: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
| |
|
| 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 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...
> Recieve
>
>
>
|
|
|
|
|