|
Home > Archive > BizTalk Server > July 2004 > Biztalk Message Queuing
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 |
Biztalk Message Queuing
|
|
|
| I am currently evaluating Biztalk Server 2004 for a potential NHS Trust installation, but have not been very successful with MSMQT. I have managed to set up a queue via a receive location and have managed to send a basic message to the queue using the pro
vided sample solution. However, I keep getting the following error when I try to send a basic XML blob:
There was a failure executing the receive pipeline: Microsoft.Biztalk.DefaultPipelines.XMLRecieve Source XML disassembler Receive Location: test_queue Reason: None of the components at Disassemble stage can recognize the data.
I have tried sending the following XML message:
<?xml version="1.0" encoding="utf-8"?>
<n:Root xmlns:n="http://simple_file_drop.Schema1" xmlns:b="http://schemas.microsoft.com/BizTalk/2003" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<Person>
<name>fred</name>
<age>100</age>
</Person>
</n:Root>
I hope somebody can help????
| |
| Adrian Hamza[MSFT] 2004-06-30, 5:55 pm |
| This is probably caused by inconsistency between the real encoding of the
message and the XML encoding attribute. Try these 2 things see if any of
these will solve your problem
a) remove the encoding="utf-8" attribute from the XML declaration
<?xml version="1.0"?>
<n:Root xmlns:n="http://simple_file_drop.Schema1"
xmlns:b="http://schemas.microsoft.com/BizTalk/2003"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<Person>
<name>fred</name>
<age>100</age>
</Person>
</n:Root>
If that doesn't work
b) try removing the entire xml declaration leaving the document like this
<n:Root xmlns:n="http://simple_file_drop.Schema1"
xmlns:b="http://schemas.microsoft.com/BizTalk/2003"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<Person>
<name>fred</name>
<age>100</age>
</Person>
</n:Root>
Thanks,
Adrian.
--------------------[vbcol=seagreen]
installation, but have not been very successful with MSMQT. I have managed
to set up a queue via a receive location and have managed to send a basic
message to the queue using the provided sample solution. However, I keep
getting the following error when I try to send a basic XML blob:[vbcol=seagreen]
Microsoft.Biztalk.DefaultPipelines.XMLRecieve Source XML disassembler
Receive Location: test_queue Reason: None of the components at Disassemble
stage can recognize the data.[vbcol=seagreen]
xmlns:b="http://schemas.microsoft.com/BizTalk/2003"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">[vbcol=seagreen]
This posting is provided "AS IS" with no warranties, and confers no rights.
EBusiness Server Team
| |
|
| Both solutions worked perfectly. Thank you for your help - it has saved us a lot of time.
"Adrian Hamza[MSFT]" wrote:
> This is probably caused by inconsistency between the real encoding of the
> message and the XML encoding attribute. Try these 2 things see if any of
> these will solve your problem
>
> a) remove the encoding="utf-8" attribute from the XML declaration
> <?xml version="1.0"?>
> <n:Root xmlns:n="http://simple_file_drop.Schema1"
> xmlns:b="http://schemas.microsoft.com/BizTalk/2003"
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
> <Person>
> <name>fred</name>
> <age>100</age>
> </Person>
> </n:Root>
>
>
> If that doesn't work
> b) try removing the entire xml declaration leaving the document like this
> <n:Root xmlns:n="http://simple_file_drop.Schema1"
> xmlns:b="http://schemas.microsoft.com/BizTalk/2003"
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
> <Person>
> <name>fred</name>
> <age>100</age>
> </Person>
> </n:Root>
>
> Thanks,
> Adrian.
> --------------------
> installation, but have not been very successful with MSMQT. I have managed
> to set up a queue via a receive location and have managed to send a basic
> message to the queue using the provided sample solution. However, I keep
> getting the following error when I try to send a basic XML blob:
> Microsoft.Biztalk.DefaultPipelines.XMLRecieve Source XML disassembler
> Receive Location: test_queue Reason: None of the components at Disassemble
> stage can recognize the data.
> xmlns:b="http://schemas.microsoft.com/BizTalk/2003"
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
>
> This posting is provided "AS IS" with no warranties, and confers no rights.
>
> EBusiness Server Team
>
>
|
|
|
|
|