BizTalk Server - MSMQ Recieve Port Message Type

This is Interesting: Free IT Magazines  
Home > Archive > BizTalk Server > October 2006 > MSMQ Recieve Port Message Type





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 MSMQ Recieve Port Message Type
Sree

2006-10-03, 7:23 pm

Hi,
I have a process where I have to get a value from a MSMQ and based on
the value build a message in the orchestration.

When I set up the orchestration I set the recieve port request message
type as xmldocument. In the orchestration I pass this message
(xmldocument) to a c# class. I try to access the value in the message
in two ways.

message.inner.text
message.tostring()

they both dont seem to be working.

I tried using a string value for the receive port request message type.
But the orchestration does not pickup the message from the receive
port.

How can I debug the c# class after I deploy the application?

I am not sure how the message from the MSMQ is passed in the c# class.
I wrote the incoming message to a file, it only has the sent value and
no header or trailer tags. Which makes me think why does it not accept
string as a receive port request message type.?

How do I access the value that is being sent over the MSMQ in my
orchestration and in C# class.

Thanks for all Help

Sree

Paul Somers

2006-10-28, 1:33 pm

Does the message conform to a schema?

What pipeline are you using, XML receive, or pass through? you should be
able to receive a message of type string by using a pass-through pipeline,
with the orchestration bound to the port.

What about creating a schema the represents your message?

What about creating a variable that is of type xml document, and setting the
message to this type in an expression shape.




"Sree" <sreejonn@gmail.com> wrote in message
news:1159911092.828753.107590@m73g2000cwd.googlegroups.com...
> Hi,
> I have a process where I have to get a value from a MSMQ and based on
> the value build a message in the orchestration.
>
> When I set up the orchestration I set the recieve port request message
> type as xmldocument. In the orchestration I pass this message
> (xmldocument) to a c# class. I try to access the value in the message
> in two ways.
>
> message.inner.text
> message.tostring()
>
> they both dont seem to be working.
>
> I tried using a string value for the receive port request message type.
> But the orchestration does not pickup the message from the receive
> port.
>
> How can I debug the c# class after I deploy the application?
>
> I am not sure how the message from the MSMQ is passed in the c# class.
> I wrote the incoming message to a file, it only has the sent value and
> no header or trailer tags. Which makes me think why does it not accept
> string as a receive port request message type.?
>
> How do I access the value that is being sent over the MSMQ in my
> orchestration and in C# class.
>
> Thanks for all Help
>
> Sree
>



Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com