RE: Possibility to ‘plug&play’ web service calls? Please help.
- From: "Tommy" <Tommy@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Tue, 31 Jan 2006 13:22:32 -0800
There comes another critical problem, without orchestration, it is impossible
to use SOAP adapter in the send port, therefore, how can the web service call
executed?
"Tommy" wrote:
> 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.
> > >
> >
> >
.
- References:
- RE: Possibility to ‘plug&play’ web service calls? Please help.
- From: Doug Girard [MSFT]
- RE: Possibility to ‘plug&play’ web service calls? Please help.
- From: Tommy
- RE: Possibility to ‘plug&play’ web service calls? Please help.
- Prev by Date: RE: Ordered delivery of messages in biztalk
- Next by Date: RE: Test and Production environments
- Previous by thread: RE: Possibility to ‘plug&play’ web service calls? Please help.
- Next by thread: Finding Root Node of an Inbound XML Doc in Custom Pipeline Component
- Index(es):
Relevant Pages
|