BizTalk Server Orchestration - HELP! Unable to connect two orchestrations

This is Interesting: Free IT Magazines  
Home > Archive > BizTalk Server Orchestration > January 2005 > HELP! Unable to connect two orchestrations





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 HELP! Unable to connect two orchestrations
Thomas

2005-01-21, 5:50 pm

HELP!

I´m a student on my final thesis and despairingly fighting with the BizTalk
Server 2004.
All I wanna prove for my thesis is, that you can connect two different
orchestrations (that should originally run on two machines, but for an
example it is okay to show it on one machine) and exchange information
between them.
But I cannot get it to work - doesn´t matter what I do. Usually I wanted to
connect them through webservices. But all the time I do this I get some
undefinable SOAP exceptions. So I´m already glad if I can connect them in any
way, because time is running away and the final date for disposal is coming
closer and closer. I tried to understand the background through the Microsoft
SDK examples, but my scenario seems to be a little bit different:
Two different orchestrations (.odx-files) should exchange some information.
That´s all! In my example it is a simple order. The main process receives an
order (via file) and passes it to the second process (via webservices if
possible). Then the second process returns the number of items, that it can
deliver to the mainprocess. That´s it!
I thought, this shouldn´t be too difficult, but I were wrong. I already
integrated an external webservice in my process. That was no problem. But I
cannot get my own processes and webservices to work. Is there anyone out
there, who can help me? Because I´m all working on my own and tried so many
things. Finally I don´t now what to do else!

Thank you
Thomas
Nabeel Prior

2005-01-22, 5:48 pm

If I understand what you have done so far - you are ideally looking to get
one orchestration communicate with another orchestration, where the second
orchestration is exposed as a web service? If this is what you are trying
to do, please elaborate on what problems and errors you had in trying to set
this up.

Alternatively, you can have the first orchestration call the second one with
the Call Orchestration (synchronous) or Start Orchestration (asynchronous)
shape in the first orchestration. To pass a message between the 2, have the
second orchestration setup with a message parameter:
1. In Orchestration View, right-click Orchestration parameters and add a new
message parameter.
2. Set this message parameter up in the same way you would normally create a
message variable.
3. You will also not require a start Receive shape in the second
orchestration, so delete your starting receive shape.
4. In the first orchestration, you should be able to set the properties of
the call / start orchestration shape to call the second orchestration, and
you should be able to set the input parameter of the second orchestration
with a message variable from the first orchestration.

Hope this makes sense.

Another option is to have the first orc send your message to a port marked
as "Direct" instead of specify now/ later, and in your second orchestration
have the receive port shape marked as Direct as well. This will allow the
first orc to send the message to the Message Box, and the second
orchestration can then subscribe to that message from the Message Box.

--

Kind Regards,

Nabeel Prior
Web: http://www.brainjar.co.za
Blog: http://www.brainjar.co.za/blog.aspx


"Thomas" <Thomas@discussions.microsoft.com> wrote in message
news:61908FF5-5228-423E-8D2F-8F0DF2E51DC7@microsoft.com...
> HELP!
>
> I´m a student on my final thesis and despairingly fighting with the
> BizTalk
> Server 2004.
> All I wanna prove for my thesis is, that you can connect two different
> orchestrations (that should originally run on two machines, but for an
> example it is okay to show it on one machine) and exchange information
> between them.
> But I cannot get it to work - doesn´t matter what I do. Usually I wanted
> to
> connect them through webservices. But all the time I do this I get some
> undefinable SOAP exceptions. So I´m already glad if I can connect them in
> any
> way, because time is running away and the final date for disposal is
> coming
> closer and closer. I tried to understand the background through the
> Microsoft
> SDK examples, but my scenario seems to be a little bit different:
> Two different orchestrations (.odx-files) should exchange some
> information.
> That´s all! In my example it is a simple order. The main process receives
> an
> order (via file) and passes it to the second process (via webservices if
> possible). Then the second process returns the number of items, that it
> can
> deliver to the mainprocess. That´s it!
> I thought, this shouldn´t be too difficult, but I were wrong. I already
> integrated an external webservice in my process. That was no problem. But
> I
> cannot get my own processes and webservices to work. Is there anyone out
> there, who can help me? Because I´m all working on my own and tried so
> many
> things. Finally I don´t now what to do else!
>
> Thank you
> Thomas



Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com