Hi,
I am new to Biztalk and am trying to build an orchestration that
comsumes a simple webservice (i.e. only simple types). The
orchestration itself is to be exposed as a webservice, too.
To accomplish this, I have created a public ****t that is connected to
Receive shape.
The Receive shape is connected to a ConstructMessage/MessageAssign
Shape that converts
the input message into a format that the simple webservice
understands. It does the conversion by using
the Expression <targetMessage>.<field> = <sourceMessage>.<field>
A Send then sends off the message and a Receive shape receives the
resulting message.
So far, so good (I think, correct me if I'm wrong please).
Now I want to convert the resulting message to a message that the
orchestration (which is exposed as a webservice itself) should return
to its caller. To accomplish this I have inserted another
ConstructMessage/MessageAssignment shape. As expression I have added
the line
ResultMessage(WebserviceConsumer.PropertySchema.Result) = 1; as a
dummy filler.
But the compiler is complaining: 'use of unconstructed message
'ResultMessage' and ''ResultMessage': message has not been initialized
in construct statement'.
In a tutorial that does about the same I've seen a Transform shape
before the MessageAssignment. But because I am using a simple
webservice, there is no generated xsd for it hence I cannot create a
mapping.
I have searched and tried many things but none seem to work.
Help is appreciated!
Thanks in advance,
Bas


|