|
Home > Archive > BizTalk Server Orchestration > July 2004 > mapping fields to web service request messages
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 |
mapping fields to web service request messages
|
|
| biztalker 2004-07-30, 5:49 pm |
| hello
using bts 2004...
i have a web reference to a web service added in my biz project. in the orchestration, i have a web service port, that allows me to connect send/receive shapes to request/response operations. in order to invoke one of the request operations, i have declar
ed a message of the corresponding web message type. in my previous test projects, i was using a 'message assignment' shape to populate the fields required for the request message. now say if i receive a document that contains the values i would like to ma
p to most of the fields of the web request message, how do i do that? when trying to create a mapper to do so, i am unable to select the message that has a web message type. so, how do i use a mapper to map fields to web-message typed messages?
thanks
| |
| Matt Milner 2004-07-30, 5:49 pm |
| If your web service has simple types for parameters, like string, int, etc,
you won't be able to map to it. You have to be using a web service with a
schema based message(s). In this situation, you need to pull data out of
the incoming message, using distinguished properties or the XPath function
and set properties on the web service request message.
If you have this schema based web service, then you should be able to map it
no problem, but I think it works best, and maybe only, if you have the
transform shape create the map for you.
Matt
"biztalker" <biztalker@discussions.microsoft.com> wrote in message
news:B36172BC-93F2-44CB-AB1B-9040F6D5B8C0@microsoft.com...
> hello
>
> using bts 2004...
>
> i have a web reference to a web service added in my biz project. in the
orchestration, i have a web service port, that allows me to connect
send/receive shapes to request/response operations. in order to invoke one
of the request operations, i have declared a message of the corresponding
web message type. in my previous test projects, i was using a 'message
assignment' shape to populate the fields required for the request message.
now say if i receive a document that contains the values i would like to map
to most of the fields of the web request message, how do i do that? when
trying to create a mapper to do so, i am unable to select the message that
has a web message type. so, how do i use a mapper to map fields to
web-message typed messages?
>
> thanks
>
|
|
|
|
|