|
Home > Archive > BizTalk Server Orchestration > June 2004 > Combining BizTalk generated Web Services
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 |
Combining BizTalk generated Web Services
|
|
| Sachin Kulkarni 2004-06-01, 2:53 am |
| I have a BizTalk project consisting two orchestrations. Both are related to
each other, one stores the message and other retrieves it. Both
orchestrations are exported as web services. Generated web service project
contains two asmx files that my client application refers as web references.
Now, I wish combine those two orchestrations in single asmx file for
following reasons.
1. client application can create only one proxy object.
2. Both orchestrations share a common message type. (eg PO type for both
StorePO and RetrievePO orchestrations) But on the client side, the message
type cannot be shared as it belongs to two difference proxy objects. It has
some implications on sharing UI code on the client side.
Is there any way to combine two orchestrations in single web service?
| |
| Matt Milner 2004-06-01, 11:56 pm |
| If they have the same PO schema, you should be able to open up the web
service projects and copy the webmethod from one to the other. You might
need to update some namespace references for the data type classes that are
associated with the method, and some of the namespace stuff on the
attributes for the method, but I think this should work. All these web
methods do is submit the message into the message box anyway.
Matt
"Sachin Kulkarni" <sachinkmail-tech@yahoo.com> wrote in message
news:evcKeZ6REHA.2216@TK2MSFTNGP12.phx.gbl...
> I have a BizTalk project consisting two orchestrations. Both are related
to
> each other, one stores the message and other retrieves it. Both
> orchestrations are exported as web services. Generated web service project
> contains two asmx files that my client application refers as web
references.
>
> Now, I wish combine those two orchestrations in single asmx file for
> following reasons.
>
>
>
> 1. client application can create only one proxy object.
>
> 2. Both orchestrations share a common message type. (eg PO type for both
> StorePO and RetrievePO orchestrations) But on the client side, the message
> type cannot be shared as it belongs to two difference proxy objects. It
has
> some implications on sharing UI code on the client side.
>
>
>
> Is there any way to combine two orchestrations in single web service?
>
>
|
|
|
|
|