BizTalk Server Orchestration - Consuming a WS in an Orchestration

This is Interesting: Free IT Magazines  
Home > Archive > BizTalk Server Orchestration > June 2005 > Consuming a WS in an Orchestration





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 Consuming a WS in an Orchestration
Paul J Lay

2005-06-23, 5:55 pm

I have consumed lots of web services from within an orchestration but I have
a slightly different requirment now. I need to call the log service at the
beginning and end of an instance of an orchestration. Can I call the log
web service port from from two different points in the orchestration without
introducing confusion. There would be a call from the beginning and a call
from the end with the appropriate returns. Please advise. Thanks for your
help.

Best Regards,

Paul J. Lay


WenJun Zhang[msft]

2005-06-24, 5:54 pm

Hi Paul,

You may consider to pass Microsoft.XLANGs.BaseTypes.InstanceId to the
web service within the begin/end calls. It's the ServiceInstanceID of
current orchestration instance. Then the web service is able to
identify an end message is corresponding to which instance without
confusion.

Thanks

Best regards,

WenJun Zhang
Microsoft Online Partner Support

This posting is provided "AS IS" with no warranties, and confers no
rights.

Paul J Lay

2005-06-28, 7:49 am

I don't understand your reply. My requirement is to call one webservice from
two different points within one instance of an orchestration. How can I
pass Microsoft.XLANGs.BaseTypes.InstanceId to a webservice without changing
its signature? I can probably solve the problem by creating two different
ports, both of which invoke the same webservice. Comments?? Thanks for
your help.

Best Regards,

Paul J. Lay

""WenJun Zhang[msft]"" <v-wzhang@online.microsoft.com> wrote in message
news:MuKXQXKeFHA.2052@TK2MSFTNGXA01.phx.gbl...
> Hi Paul,
>
> You may consider to pass Microsoft.XLANGs.BaseTypes.InstanceId to the
> web service within the begin/end calls. It's the ServiceInstanceID of
> current orchestration instance. Then the web service is able to
> identify an end message is corresponding to which instance without
> confusion.
>
> Thanks
>
> Best regards,
>
> WenJun Zhang
> Microsoft Online Partner Support
>
> This posting is provided "AS IS" with no warranties, and confers no
> rights.
>



WenJun Zhang[msft]

2005-06-29, 7:52 am

Hi Paul,

My thought is that there may be multiple instances calling the web
service in a short time. Then your web service must be able to
determine an ending call/message is corresponding to which beginning
call/message. In this case, the ServiceInstanceId will help on
implementing correlation between the begin/end messages.

Best regards,

WenJun Zhang
Microsoft Online Partner Support

This posting is provided "AS IS" with no warranties, and confers no
rights.

Paul J Lay

2005-06-29, 5:51 pm

For the moment, let's forget about different instances. Are you saying that
within an instance Biztalk won't get confused if a consumed WS is called
from multiple places within that instance with different returns
(obviously)? That would be good if true.

Now going back to ServiceInstanceID. How do I use it and pass it to the WS?
Please advise. Thanks very much for your help.

Best Regards,

Paul J. Lay

""WenJun Zhang[msft]"" <v-wzhang@online.microsoft.com> wrote in message
news:rsy2fQJfFHA.1524@TK2MSFTNGXA01.phx.gbl...
> Hi Paul,
>
> My thought is that there may be multiple instances calling the web
> service in a short time. Then your web service must be able to
> determine an ending call/message is corresponding to which beginning
> call/message. In this case, the ServiceInstanceId will help on
> implementing correlation between the begin/end messages.
>
> Best regards,
>
> WenJun Zhang
> Microsoft Online Partner Support
>
> This posting is provided "AS IS" with no warranties, and confers no
> rights.
>



WenJun Zhang[msft]

2005-06-30, 7:48 am

Hi Paul,

Since the web service is used to log orchestration instance
start/end, I think the ServiceInstanceID is a required field, isn't
it?

To make biztalk not get confused for the multiple returns of the web
service, this is another place where ServiceInstanceID is useful. It
can be used in the correlation set to identify the message belongs to
which orchestration instance. The following article contains much
info about correlation topic.

BizTalk Server 2004 Convoy Deep Dive
http://msdn.microsoft.com/library/d...ary/en-us/BTS_2
004WP/html/956fd4cb-aacc-43ee-99b6-f6137a5a2914.asp

Best regards,

WenJun Zhang
Microsoft Online Partner Support

This posting is provided "AS IS" with no warranties, and confers no
rights.

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com