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




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

    Help - Receiving multiple types on a single port  
Paul Roub


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


 
06-13-05 10: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?






[ Post a follow-up to this message ]



    Re: Help - Receiving multiple types on a single port  
Scott Colestock


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


 
06-14-05 10: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?
>







[ Post a follow-up to this message ]



    RE: Help - Receiving multiple types on a single port  
red


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


 
06-24-05 10: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 i
t
> were differently-valued instances of the same type, but...
>
> Is my best bet receiving untyped XML on the port, filtering as mentioned i
n
> 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?
>





[ 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