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

Hi Joni,

PART is the "message part" from the WSDL specification (http://www.w3.org/TR/wsdl#_message).
ELEMENT is the "element declaration" from the XML schema specification.

It depends on the structure of your WSDL message whether you can used an element-typed variable or not. If your message contains exactly one part that points to an element declaration - you can. Otherwise you can't.

Hope that helps...

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-dev@xxxxxxxxxxx
Date: 12/06/2009 11:04 PM
Subject: [bpel-dev] small question about variable type of receive, reply
Sent by: bpel-dev-bounces@xxxxxxxxxxx





Hi all,

I read the specification carefully, but there is something I want to be sured. A BPEL's variable can be from messageType, element and XML data type.

>From specification under 10.4:
In a
<receive> or <reply> activity, the variable referenced by the variable attribute MUST be a messageType variable whose QName matches the QName of the input (for <receive>) or output (for <reply>) message type used in the operation, except as follows: if the WSDL operation uses a message containing exactly one part which itself is defined using an element, then a WS-BPEL variable of the same element type as used to define the part MAY be referenced by the variable attribute of the <receive> or <reply>activity.
-----------------------------------------------------------------------------------------------------------

ELEMENT is meant to be from type element?
Can the PART mentioned above is defined by a XML data type?

Thank you very very much

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



Back to the top