|
Home > Archive > BizTalk Server Orchestration > October 2005 > Consuming 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 |
Consuming web services
|
|
| Alien2_51 2005-10-24, 10:31 am |
| I would like to make use of a web service, here's an example interface
signature..
<WebMethod()> _
Public Function NewSettingsMessage(ByVal id As String, _
ByVal name As String, _
ByVal description As String, _
ByVal createdate As DateTime, _
ByVal createdby As String) As String
I've looked at the SDK and examples in the training literature and cannot
find anything that tells me how to map the input parameters of this web
operation from a message schema in an orchestration. Has someone done this or
can someone point to an example of how to accomplish this.
Thanks.
Dan
| |
| carlos medina 2005-10-24, 10:31 am |
| hi alien..
you can use a "Construct Message Shape" with a Message Assignment Shape to
construct and set the values to message.... after add the "Construct MEssage
Shape" you must set the "Messages Constructed" property to the correct
message (example Message_1)..
after it you must put in the "Message Assigment Shape" the code to set the
values to MEssage_1, see below:
Message_1.name = "";
Message_1.description = "";
......
it's all.... when you reference a WebServices that contains native object
(string, int) as parameter.. BTS create one property for each parameter.....
in the end, you can get the string returned with
Message_2.NewSettingMessageResult.. where Message_2 is the message that is
related with the port and NewSettingMessageResutl the property that contains
the string....
"Alien2_51" <dan.billow.remove@monacocoach.removeme.com> wrote in message
news:4FF4184F-995C-4878-B18E-1B02665EBBBD@microsoft.com...
>I would like to make use of a web service, here's an example interface
> signature..
> <WebMethod()> _
> Public Function NewSettingsMessage(ByVal id As String, _
> ByVal name As String, _
> ByVal description As String, _
> ByVal createdate As DateTime, _
> ByVal createdby As String) As
> String
> I've looked at the SDK and examples in the training literature and cannot
> find anything that tells me how to map the input parameters of this web
> operation from a message schema in an orchestration. Has someone done this
> or
> can someone point to an example of how to accomplish this.
>
> Thanks.
>
> Dan
|
|
|
|
|