RE: Possibility to ‘plug&play’ web service calls? Please help.

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



Thanks, Doug. That is helpful. My question falls in the second requirement,
which the orchestration will send requests to multiple subscribers at
runtime.
I figured out a solution based on your idea, I'd really appreciate any comment

A. Create an orchestration that will consume the incoming message, use self
correlated direct binding port to send the message back to the message box.
The orchestration will also promote a flag into the message context
indicating new message is ready.

B. In runtime, each participated web service send port, subscribes to the
particular message type with the ‘ready’ flag

C. Each individual SOAP send port executes its corresponding web service and
then in the receive pipeline, promote the CorrelationToken declared in stepA

D. The orchestration in step A will get notified once the CorrelationToken
is promoted and aggregate the messages afterwards.


"Doug Girard [MSFT]" wrote:

> Tommy,
>
> Will you be always bound to a single web service or do you have the need to
> send to multiple subscribers, each of which you'll need to listen to?
>
> If it's the first, then orchestrations will easily solve this. There are
> logical send ports in the orchestration which you later bind to physical
> send ports. Thus, an admin can change these at anytime without having to
> recompile.
>
> If you have the second requirement, this will take more thought. Here's
> one idea, others feel free to comment. The bottom line is that you'll need
> a stateful orchestration INSTANCE somewhere in the picture. Perhaps you'll
> want to initially route the incoming message to an orchestration which
> appends a unique identifier to the message and initializes a correlation
> set on this GUID before publishing the message back to the Message Box for
> any subscriber to pick up. Then the orchestration will listen to any
> responses which match its correlation set. Be mindful of state management,
> termination conditions, and zombies when designing this.
>
> HTH,
> Doug Girard [MSFT]
>
> Note: This posting is provided "AS IS" with no warranties, and confers no
> rights.
> --------------------
> >Thread-Topic: =?Utf-8?Q?Possibility_to_=E2=80=98plug&play=E2=80=99_web_s?=
> > =?Utf-8?Q?ervice_calls=3F_Please_help.?=
> >thread-index: AcYlUmasdbI9vnpCQk+927bW3DXS9A==
> >X-WBNR-Posting-Host: 69.194.211.40
> >From: "=?Utf-8?B?VG9tbXk=?=" <Tommy@xxxxxxxxxxxxxxxxxxxxxxxxx>
> >Subject: =?Utf-8?Q?Possibility_to_=E2=80=98plug&play=E2=80=99_web_s?=
> > =?Utf-8?Q?ervice_calls=3F_Please_help.?=
> >Date: Sun, 29 Jan 2006 20:05:26 -0800
> >Lines: 9
> >Message-ID: <6D3BEEDD-5893-406F-92D0-44D227A2AD67@xxxxxxxxxxxxx>
> >MIME-Version: 1.0
> >Content-Type: text/plain;
> > charset="Utf-8"
> >Content-Transfer-Encoding: 8bit
> >X-Newsreader: Microsoft CDO for Windows 2000
> >Content-Class: urn:content-classes:message
> >Importance: normal
> >Priority: normal
> >X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0
> >Newsgroups: microsoft.public.biztalk.general
> >NNTP-Posting-Host: TK2MSFTNGXA03.phx.gbl 10.40.2.250
> >Path: TK2MSFTNGXA02.phx.gbl!TK2MSFTNGXA01.phx.gbl!TK2MSFTNGXA03.phx.gbl
> >Xref: TK2MSFTNGXA02.phx.gbl microsoft.public.biztalk.general:34387
> >X-Tomcat-NG: microsoft.public.biztalk.general
> >
> >I am having a new project but really no idea to design. The project
> includes
> >a process to place plug-able web service calls and collect data. In other
> >words, in stead of calling single web service, the orchestration is
> supposed
> >to call a number web services which maybe configured after the design time
> >and then do something with the call results. I am confused by the
> requirement
> >and not sure it is doable in BizTalk. I know I can route message to
> multiple
> >SOAP endpoints using port subscription, but don’t know how to route the
> >responses back to my aggregate orchestrations. Could anyone give me some
> >advice? Thanks in advance.
> >
>
>
.



Relevant Pages

  • RE: Listen shape/Correlation question
    ... Correlating Messages with Orchestration Instances ... This sample receives a purchase order message from a fictitious ... customer and processes the purchase order message using correlation. ... The web service creates a very big XML document that could ...
    (microsoft.public.biztalk.general)
  • Re: Send port calling web service?
    ... address property on the port before sending. ... I haven't tried this with a web service, so I'm not sure it will work. ... the send port associated with the party ... > Ok, let's say I use orchestration - then how can I, within the ...
    (microsoft.public.biztalk.general)
  • Re: Send port calling web service?
    ... Calling web services from send ports without using orchestration is not ... properties after the port gets created. ... > BizTalk is running) by consuming a web service. ...
    (microsoft.public.biztalk.general)
  • Re: BTS 2006 and SubmitDirect adapter running under Web Service
    ... What I've done in similar scenarios is to use a custom context property to define a set "processing stages" as the message goes through, and making that part of the correlation sets. ... the message won't get routed to the wrong port or accidentally fire a new instance of the publishing orchestration. ...
    (microsoft.public.biztalk.general)
  • Re: receive and send without orchestration
    ... OK - if you have a request-response receive port, ... receive and send without orchestration ... a supplier web service, which I have no control over ...
    (microsoft.public.biztalk.general)