Retrieve Inbound Message?
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 > Retrieve Inbound Message?




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

    Retrieve Inbound Message?  
Ben Jiang


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


 
11-09-04 01:46 AM

Hi,
Can anyone show me how to retrieve (and then store in my local driver) for
any XML documents submitted to my Receive Port?
I work through HAT utility and none of them gives me the answer. It seems
that you can only save the tracked "Suspended"  and "Resumable" messages fro
m
HAT. How do I get those messages already successfully processed by
Orchestration (the state is completed)?

Your help will be highly appreciated.

Cheers
Ben Jiang





[ Post a follow-up to this message ]



    Re: Retrieve Inbound Message?  
Hugo Rodger-Brown


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


 
11-09-04 07:48 AM

The simplest way to do this would be to set up a send port subscription to
route a copy of every message from the receive port to a directory on your
local machine. I'm assuming this is during development / debugging, and not
something you want in production?

Add a new send port, and add a filter to the port, specifying the receive
port name for the filter property "BTS.ReceivePortName". This will catch
every message picked up by the receive port specified.

Hugo
http://hugo.rodger-brown.com







[ Post a follow-up to this message ]



    Re: Retrieve Inbound Message?  
Ben Jiang


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


 
11-10-04 10:48 PM

Thanks Hugo for the suggestion.
From time to time, we need to examine the documents sent from our partners.
If necessary we will have to re-submit the same document in our system.
This will happen in our production environment.

I just wonder if MessageBox database has already stored a copy of the
original documents submitted into our receive port. If so, how to retrieve i
t?
It is pity that I can not work out the DB structure in MessagBox database.
Otherwise WMI may be a way to go.

I really need someone there to help me out this.

Cheers
Ben



"Hugo Rodger-Brown" wrote:

> The simplest way to do this would be to set up a send port subscription to
> route a copy of every message from the receive port to a directory on your
> local machine. I'm assuming this is during development / debugging, and no
t
> something you want in production?
>
> Add a new send port, and add a filter to the port, specifying the receive
> port name for the filter property "BTS.ReceivePortName". This will catch
> every message picked up by the receive port specified.
>
> Hugo
> http://hugo.rodger-brown.com
>
>
>





[ Post a follow-up to this message ]



    Re: Retrieve Inbound Message?  
Hugo Rodger-Brown


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


 
11-11-04 07:46 AM

Ben - have you tried using the Reporting queries in HAT, instead of the
Operations view? Using Reporting you can get access to messages that have
been processed. You'll have to ensure that the correct levels of tracking
are enabled, and be aware that turning on tracking on all messages does have
performance side-effects.

From the documentation:
"Reporting uses historical data that you may have been tracking for a long
time. Use Reporting to see trends such as how many failures a month there
are. You can troubleshoot by tracking the steps of a process or message. For
example, if an order routed incorrectly, you can follow the message through
to see where the request came in, where it went, and why."

I haven't done much with Reporting in HAT, so can't give any assurances I'm
afraid. There have been a couple of other posts on the same topic (which I
can't find now), so keep looking...







[ Post a follow-up to this message ]



    Re: Retrieve Inbound Message?  
Hugo Rodger-Brown


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


 
11-11-04 07:46 AM

I've just done a quick test, and this looks like it works. Open HAT, go to
the Configuration menu > Pipelines option. This will list all the available
services - select the relevant receive pipeline, and check the "Inbound
Message Bodies" option at the bottom of the form. Then put a message through
the system, go back to the Reporting > Find Message screen, and when you've
found the message right-click and choose the Save All Tracked Messages
option.

The tracking database may take some time to update, so if you may need to
wait a minute or two before you can save the messages.

(Obviously saving the body of every message going through a pipeline is
going to add a significant overhead to processing, so may not be appropriate
in a live environment).







[ Post a follow-up to this message ]



    Re: Retrieve Inbound Message?  
Ben Jiang


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


 
11-11-04 10:49 PM

Thanks Hugo. I will to see.
Ben Jiang

"Hugo Rodger-Brown" wrote:

> I've just done a quick test, and this looks like it works. Open HAT, go to
> the Configuration menu > Pipelines option. This will list all the availabl
e
> services - select the relevant receive pipeline, and check the "Inbound
> Message Bodies" option at the bottom of the form. Then put a message throu
gh
> the system, go back to the Reporting > Find Message screen, and when you'v
e
> found the message right-click and choose the Save All Tracked Messages
> option.
>
> The tracking database may take some time to update, so if you may need to
> wait a minute or two before you can save the messages.
>
> (Obviously saving the body of every message going through a pipeline is
> going to add a significant overhead to processing, so may not be appropria
te
> in a live environment).
>
>
>





[ Post a follow-up to this message ]



    Re: Retrieve Inbound Message?  
Jeff Lynch


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


 
11-12-04 12:48 PM

You can also use a custom pipeline component to "archive" inbound messages.
See this post for the source code.

http://weblogs.asp.net/gzunino/arch.../12/181337.aspx

--
Jeff Lynch
"A BizTalk Enthusiast"
http://dotnetjunkies.com/WebLog/jlynch/


"Ben Jiang" <BenJiang@discussions.microsoft.com> wrote in message
news:4644C927-5302-4C17-B555-AE06A0FC658D@microsoft.com...[vbcol=seagreen]
> Thanks Hugo. I will to see.
> Ben Jiang
>
> "Hugo Rodger-Brown" wrote:
> 







[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 01:21 PM.      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