mapping fields to web service request messages
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > BizTalk Server > BizTalk Server Orchestration > mapping fields to web service request messages




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    mapping fields to web service request messages  
biztalker


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
07-30-04 10:49 PM

hello

using bts 2004...

i have a web reference to a web service added in my biz project. in the orch
estration, 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 reques
t operations, i have declar
ed a message of the corresponding web message type. in my previous test proj
ects, i was using a 'message assignment' shape to populate the fields requir
ed for the request message. now say if i receive a document that contains th
e values i would like to ma
p to most of the fields of the web request message, how do i do that? when t
rying to create a mapper to do so, i am unable to select the message that ha
s a web message type. so, how do i use a mapper to map fields to web-message
 typed messages?

thanks






[ Post a follow-up to this message ]



    Re: mapping fields to web service request messages  
Matt Milner


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
07-30-04 10: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
>







[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 11:30 AM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register