Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [bpel-dev] small question about variable type of receive, reply

Hey Joni,

yes that's ok - if your BPEL variable is message-typed it will "contain" the whole WSDL message (including part p1 that points to a type and including part p2 that points to an element).

For those kinds of multi-part messages it might we worth to take a look at fromParts and toParts from the BPEL 2.0 spec. They allow assigning values to or from variables for every single part inside a message.

Mit freundlichen Grüßen / Kind regards

Michael Illiger

Software Developer - BPEL Editor / WID
IBM Software Group, Application and Integration Middleware Software
WSS Business Process Solutions Development 1

Phone: +49-7031-16-1273  IBM Deutschland
E-Mail: milliger@xxxxxxxxxx  Schoenaicher Str. 220
 71032 Boeblingen
 Germany

IBM Deutschland Research & Development GmbH / Vorsitzender des Aufsichtsrats: Martin Jetter
Geschäftsführung: Dirk Wittkopp
Sitz der Gesellschaft: Böblingen / Registergericht: Amtsgericht Stuttgart, HRB 243294




From: Joni Lee <webcokies@xxxxxxxxx>
To: "BPEL Designer project developer discussions." <bpel-dev@xxxxxxxxxxx>
Date: 12/07/2009 02:11 PM
Subject: Re: [bpel-dev] small question about variable type of receive, reply
Sent by: bpel-dev-bounces@xxxxxxxxxxx





Hi Michael,

OK, then if a message has 2 parts. One part is from type "element", another one is from type "data type". And the BPEL's receive variable is from messageType. Then the "type" in the WSDL message's part is nothing wrong? I just wanna be sured about this.

  <message name="PO">
      <part name="p1" type="tns:Peron"/>
      <part name="p2" element="tns:PersonElement"/>

  </message>


Many thanks. And have a nice week Michael

--- On Mon, 12/7/09, Michael Illiger2 <MILLIGER@xxxxxxxxxx> wrote:


From: Michael Illiger2 <MILLIGER@xxxxxxxxxx>
Subject: Re: [bpel-dev] small question about variable type of receive, reply
To: "BPEL Designer project developer discussions." <bpel-dev@xxxxxxxxxxx>
Cc: "BPEL Designer project developer discussions." <bpel-dev@xxxxxxxxxxx>, bpel-dev-bounces@xxxxxxxxxxx
Date: Monday, December 7, 2009, 6:48 PM

Hey Joni,

"type" is not allowed in this situation.

Please take a look at "fromParts" / "toParts" if you want to use type-variables in Receives, Replies, Invokes,...


Mit freundlichen Grüßen / Kind regards

_______________________________________________
bpel-dev mailing list
bpel-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/bpel-dev



Back to the top