03-03-06 11:17 PM
Hi,
Thanks for the reply.
1) I agree the present scenarios are simples and could be done with CBR. But
they are just a proof of concept so orchestration capabilities will be
required.
2) I will try to use XmlDocument for the message.
I will not modify the message (which is binary file).
2a) I will only assign it to an output message for the send requirements.
2b) I will also access the context properties that will drive my decisions
in orchestration.
I will do a follow-up with my results, to share with others.
Didier
"Adrian Hamza [MSFT]" <adrianhamza@online.microsoft.com> wrote in messag
e
news:OgXrQX9OGHA.608@TK2MSFTNGXA01.phx.gbl...
> Your orchestration is subscribed to a particular XML schema message and as
> a result it's not receiving binary messages. This error message is raised
> when BizTalk does not find a subscription for the received message so it
> does not know what to do with the message. Your scenario is very simple,
> you don't even need an orchestration for this. You can use CBR (content
> based routing) with just a receive port and send port that processes
> messages received from that receive port. In order to configure the send
> port to process the message you need to define a filter ("filter" is
> misleading, it's more like a subscription) on the send port . See Filter
> tab for that. All WSS adapter properties begin with WSS.In*. Look at the
> documentation to see which properties are promoted, since only promoted
> properties can be used for CBR.
>
> If you want to change your orchestration to receive binary messages, you
> will have to change the message type (I think it needs to be XmlDocument
> .. yeah ... ... strange) ... and make sure you don't touch the message in
> any way that would require BizTalk to load the document in DOM (you can
> access context properties but don't access message promoted properties,
> don't use the actual message for anything else except message assignment -
> don't forget it's a binary message). I think there are improvement in
BT'06
> in the way it handles binary messages, the approach I described works with
> BT'04 as well.
>
> Take a look at this sample as well.
> http://objectsharp.com/blogs/matt/a...02/03/3801.aspx
>
> This posting is provided "AS IS" with no warranties, and confers no
rights.
>
> Adrian Hamza [MSFT]
> http://blogs.msdn.com/ahamza/
> My blog on BizTalk 2006
> Windows SharePoint Services adapter
>
> --------------------
move[vbcol=seagreen]
> to
the[vbcol=seagreen]
if[vbcol=seagreen]
have[vbcol=seagreen]
>
> --
> "ReceiveSourceTxt"
or[vbcol=seagreen]
necessary[vbcol=seagreen]
the[vbcol=seagreen]
files[vbcol=seagreen]
> to
me[vbcol=seagreen]
?[vbcol=seagreen]
>
[ Post a follow-up to this message ]
|