BizTalk Server Orchestration - should i use a scope shape ?

This is Interesting: Free IT Magazines  
Home > Archive > BizTalk Server Orchestration > December 2005 > should i use a scope shape ?





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 should i use a scope shape ?
kerberos

2005-12-01, 8:53 pm

hello everybody
im designing an orchestration, facing this troubles
suppose i receive certain message in a supposed certain schema
in this schema is the specification of where the customer wants to
receive a message, for example
<customer>
<viaprimary>mail</viaprimary><address>x@bts.com</address>
<viasecondary>ftp></viasecondary><address>ftp://x</address>
</customer>
i want to
a) send using the viaprimary
b) only if it fails AFTER RETRYING, try on viasecondary
all this must be set with dynamic ports i assume
because of the address tags
the thing is, i do not know if scopes can do this
to use as a (if then else) for ports

how can i do it ?
all recomendations are welcome :wink:

thanks in advance

Leo Gan

2005-12-05, 5:55 pm

Hi,
"if then else" it's a Decide shape

--
Regards,

Leonid Ganeline,
BizTalk Developer
Vancouver
http://public.fotki.com/leogan/
"kerberos" <nirvfan_mty@hotmail-dot-com.no-spam.invalid> wrote in message
news:QMmdnVBBz7Ni9hLeRVn_vA@giganews.com...
> hello everybody
> im designing an orchestration, facing this troubles
> suppose i receive certain message in a supposed certain schema
> in this schema is the specification of where the customer wants to
> receive a message, for example
> <customer>
> <viaprimary>mail</viaprimary><address>x@bts.com</address>
> <viasecondary>ftp></viasecondary><address>ftp://x</address>
> </customer>
> i want to
> a) send using the viaprimary
> b) only if it fails AFTER RETRYING, try on viasecondary
> all this must be set with dynamic ports i assume
> because of the address tags
> the thing is, i do not know if scopes can do this
> to use as a (if then else) for ports
>
> how can i do it ?
> all recomendations are welcome :wink:
>
> thanks in advance
>



Neal Walters

2005-12-05, 5:55 pm

Normally the primary/secondary is handled by the external port. But I'm
guessing with dynamic ports, you should use a scope and catch all exceptions,
then in the catch/exception, use the secondary protocol.

Neal Walters
http://Biztalk-Training.com

kerberos

2005-12-09, 5:55 pm

thank you both
i have tried using your suggestions
if then else + scopes
can i catch smtp error on invalidad address or failing delivery ?

Neal Walters

2005-12-09, 5:55 pm

Interesting question. If the SMTP address was bad or a really severe error,
it would catch it. But if you send to a non-existing email, my understanding
is that the email would actually be sent. You would then have to monitor
your email account to see if it was undeliverable.

Looks like from your first post you are mailing to customers (email
addresses outside of your company). Maybe you would need a POP3 adapter to
monitor bouncebacks?

Neal Walters
http://Biztalk-Training.com
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com