|
Home > Archive > BizTalk Server General > February 2005 > How to create map for Web Service in BTS
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 |
How to create map for Web Service in BTS
|
|
| Haroon 2005-02-14, 2:47 am |
| Hi all,
I think that my subject do not describe exactly what I mean ... I have a
WebService, which return a Dataset after receive name of table. It work well,
but my problem is that I want to use the response message (this Dataset) to
create another message (xml message). I tried to create a new map but I can
not set response message as input for my transform. Please tell me how to do
it.
Thanks and regards,
Haroon
| |
| Matt Milner 2005-02-15, 2:47 am |
| The short answer, don't use a dataset. Sorry, but that is my bias to not
use datasets in web services. It is much easier to map when you have a
schema, and in fact it is required for mapping in BTS.
Matt
"Haroon" <Haroon@discussions.microsoft.com> wrote in message
news:11D8518B-56FF-43D1-BE13-673797CFCDCB@microsoft.com...
> Hi all,
>
> I think that my subject do not describe exactly what I mean ... I have a
> WebService, which return a Dataset after receive name of table. It work
> well,
> but my problem is that I want to use the response message (this Dataset)
> to
> create another message (xml message). I tried to create a new map but I
> can
> not set response message as input for my transform. Please tell me how to
> do
> it.
>
> Thanks and regards,
> Haroon
| |
| Rob Baines 2005-02-15, 2:47 am |
| Before returning your dataset from your webservice, do a writeXML to generate
an XML message of the contents of the dataset.
Create a Biztalk Schema based on the format of this new schema and then you
can return the XML message to Biztalk instead of the dataset.
"Matt Milner" wrote:
> The short answer, don't use a dataset. Sorry, but that is my bias to not
> use datasets in web services. It is much easier to map when you have a
> schema, and in fact it is required for mapping in BTS.
>
> Matt
>
>
> "Haroon" <Haroon@discussions.microsoft.com> wrote in message
> news:11D8518B-56FF-43D1-BE13-673797CFCDCB@microsoft.com...
>
>
>
|
|
|
|
|