BizTalk Server Orchestration - Help - Receiving multiple types on a single port

This is Interesting: Free IT Magazines  
Home > Archive > BizTalk Server Orchestration > June 2005 > Help - Receiving multiple types on a single port





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 Help - Receiving multiple types on a single port
Paul Roub

2005-06-13, 5:51 pm

Wondering if there's a cleaner approach than receiving System.XML, etc.

On the Response end of a Request/Response send port, we get one of two
document types back -- one for errors, one for success. Yes, I'd prefer it
were differently-valued instances of the same type, but...

Is my best bet receiving untyped XML on the port, filtering as mentioned in
the blogger's guide, etc. ; or pipelining the two known types into a
normalized internal type, and acting on that; or is there a
more-straightforward solution that I'm missing?

Scott Colestock

2005-06-14, 5:55 pm

I would receive XmlDocument - you an always assign to a strong type inside
your orchestration.

Scott Colestock
www.traceofthought.net

"Paul Roub" <Paul Roub@discussions.microsoft.com> wrote in message
news:6F203EE8-1B4E-4042-A2A8-F1AAB827DB18@microsoft.com...
> Wondering if there's a cleaner approach than receiving System.XML, etc.
>
> On the Response end of a Request/Response send port, we get one of two
> document types back -- one for errors, one for success. Yes, I'd prefer
> it
> were differently-valued instances of the same type, but...
>
> Is my best bet receiving untyped XML on the port, filtering as mentioned
> in
> the blogger's guide, etc. ; or pipelining the two known types into a
> normalized internal type, and acting on that; or is there a
> more-straightforward solution that I'm missing?
>



red

2005-06-24, 5:54 pm

Are you trying to process different types of XML that are being received on a
single port?

i.e. Are you receiving A.XML and B.XML (different type / format) on a single
port and was wondering how to process them?

If so, i would suggest having a request resposne port having 2 operations,
one configured for A.XML and the other for B.xml.

Use the listener shape (with 2 arms) to connect to the port operations. Have
receive shapes configured in each arm. The receive shape should be in
activate mode.

Also, both the xml should be deployed in biztalk.

Now depending on which xml is received (A or B) the appropriate listner arm
will get activate automatically and processed.

Hope this helps. Thanks

Regards,
red

"Paul Roub" wrote:

> Wondering if there's a cleaner approach than receiving System.XML, etc.
>
> On the Response end of a Request/Response send port, we get one of two
> document types back -- one for errors, one for success. Yes, I'd prefer it
> were differently-valued instances of the same type, but...
>
> Is my best bet receiving untyped XML on the port, filtering as mentioned in
> the blogger's guide, etc. ; or pipelining the two known types into a
> normalized internal type, and acting on that; or is there a
> more-straightforward solution that I'm missing?
>

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com