|
Home > Archive > BizTalk Server Orchestration > June 2006 > Possible to invoke a web service within an expressoin shape?
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 |
Possible to invoke a web service within an expressoin shape?
|
|
|
| Hi,
I'm wondering if it's possibel to invoke a web service from an expression
shape. I would like to use a web service to set up the port adress of a
dynamic port. is there a possibility to do that with an expression?
Regrads,
Erik
| |
| Michael Elizarov [MSFT] 2006-06-07, 1:19 am |
| Eric,
you can do anything you need in an expression shape. You can have a class
that wraps a call to web service, create instance of that class in the
shape and call a method, or do everything inline. Then you will set
OutboundTransportLocation property on your message to the value that you
are interested in. Did you hit any problem trying to do this?
-- Michael
--------------------[vbcol=seagreen]
| |
|
| Michael,
thanks, for your answer, but I've still som questions? I would appreciate to
use the service directly, instead of using a wrapper. How does doing it
'inline'
work? As told I've a web service which has a method that returns a URL
string for the port address (and takes a string to query the 'right' address).
Where and how I inoke the web service and setup the OutboundTransportlocation?
In an expression shape?
Regards
Erik
"Michael Elizarov [MSFT]" wrote:
> Eric,
>
> you can do anything you need in an expression shape. You can have a class
> that wraps a call to web service, create instance of that class in the
> shape and call a method, or do everything inline. Then you will set
> OutboundTransportLocation property on your message to the value that you
> are interested in. Did you hit any problem trying to do this?
>
> -- Michael
>
> --------------------
>
>
|
|
|
|
|