Talk About Network

Google





Software > Biz Talk Orchestration > RE: Orchestrati...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 3 of 5 Topic 4100 of 4234
Post > Topic >>

RE: Orchestration consuming webservice

by =?Utf-8?B?WW9zc2kgRGFoYW4gW01WUF0=?= <yossi.dahanREMOVE@[EMAIL PROTECTED] Apr 2, 2008 at 01:44 AM

What that line - 
"ResultMessage(WebserviceConsumer.PropertySchema.Result) = 1;"

does is assigning a value to a context property of the result message. 
it does not, however, create any message, as it does not set any content. 
what you need is to assign something to the body of the message. 
I'm assuming your public ****t is a request-response ****t, and that it has 
two message types assigned (one for the request, one for the response)

You have already indicated the request message type has the value you 
require to pass to the called web service. you did not indicate what the 
response looks like. 

It is is an Int, set the Int32 type (or any other type) as the response 
message type. 
the, in your response assignment shape you should be able to set 
ResultMessage.<response part> = 1;

I'm not what is the use of your context property - if you still need it
you 
can live it there (but it would not be delivered by the SOAP adapter as
part 
of the response)

HTH
-- 
Yossi Dahan
MVP BizTalk Server
http://www.sabratech.co.uk/blogs/yossidahan


"Bas" wrote:

> 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
>
 




 5 Posts in Topic:
Orchestration consuming webservice
Bas <bverhallen@[EMAIL  2008-04-01 05:56:21 
Re: Orchestration consuming webservice
DNova <dnova7@[EMAIL P  2008-04-01 08:07:17 
RE: Orchestration consuming webservice
=?Utf-8?B?WW9zc2kgRGFoYW4  2008-04-02 01:44:00 
Re: Orchestration consuming webservice
Bas <bverhallen@[EMAIL  2008-04-07 05:55:53 
Re: Orchestration consuming webservice
Dan Rosanova <dnova7@[  2008-04-07 09:05:27 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
localhost-V2008-12-19 Fri Jan 9 3:12:20 PST 2009.