Re: Howto construct a message for a simple WebService call?

Tech-Archive recommends: Fix windows errors by optimizing your registry



A very good answer, but still, I would like to see sample code to that
assignment.
For example, I want to use 'CustomerID' from the input FILE message as a
parameter in the WebService call. I the mean time I will do some experiments
to figure out the syntax ....

"Tomas Restrepo (MVP)" wrote:

> > What is wrong when I can't access any output message for a Transform map?
> > I am going to consume a WebService that I created in Visual Studio.
> > In BizTalk I have been able to add a Web reference and create a request
> > message and a response message, and a web port. But it seems to be
> > impossible
> > to use the construct message shape to transform the input FILE to a web
> > request message.
> > The transform wizard accepts the FILE message as 'source', but refuses to
> > list any other message as 'Destination'. Any hints? I need a step-by-step
> > guide on how to construct a message with parameters.
>
> When BizTalk imports a WSDL, it will create Multi-part message types for the
> request and response message types for the service. However, depending on
> the service definition, BizTalk will either create:
>
> a) messages with a single part that contains the entire body of the message,
> defined as a schema for BizTalk to use, or
> b) a message with multiple parts, each one representing a "parameter" to the
> service operation of a basic type (i.e. string, int, etc.)
>
> If you're in case b (and it sounds like it), you can't manipulate the
> message through a map, because you don't have a full XML message to
> manipulate. That means you must do any conversions as code in a Message
> Assignment shape.
>
>
> --
> Tomas Restrepo
> tomasr@xxxxxxxx
> http://www.winterdom.com/
>
>
>
.



Relevant Pages

  • Re: Bourne Shell Script Newbie Help
    ... I need some assistance in starting an assignment. ... > use top-down refinement to get it down to a fairly low level of detailed ... > textual instructions, then read the course notes to see how to perform ... For example the input file looks like this: ...
    (comp.unix.shell)
  • Re: Bourne Shell Script Newbie Help
    ... I need some assistance in starting an assignment. ... > never programmed in Unix let alone shell scripting. ... The input file will have whole number values separated by ... > do to find the average score on an assignment). ...
    (comp.unix.shell)
  • Re: can anyone see the error in this script please I am BASHing my head LOL
    ... do # For as many lines as the input file has... ... Do not precede a variable with '$' on the left-hand side of an assignment. ... echo theLine>> testoutput.txt ...
    (comp.unix.shell)
  • Re: flexible input parameter file
    ... Or as Glen pointed out the input file could look like: ... -|NAMELIST approach is the simplest solution for my original problem. ... -|In the following, a simple sample code that I tested is listed below, ... -|in case some "rookies" are looking for the same ...
    (comp.lang.fortran)
  • Schema Element Node - Default Value
    ... I want to set a default value for an element node. ... into BizTalk, the input file does not include the element node in question. ... if they are missing? ...
    (microsoft.public.biztalk.general)