[ATL]UML 2 BPEL transformation [message #77592] |
Thu, 27 March 2008 00:44  |
Eclipse User |
|
|
|
Originally posted by: hr_mi.live.cn
Hi ,everyone :
I want to transform a class diagram to bpel , it is defined like this:
-----------------
<<Data>>
purchaseOrder
-----------------
attributes
customerID:String
orderID:String
orderItem:OrderItem
-----------------
operations
-----------------
classes
-----------------
and the WSDL is defined as following:
Corresponding WSDL fragment:
<element name="purchaseOrder">
<complexType>
<sequence>
<element name="customerID" nillable ="true" type="xsd:string" />
<element name="orderI" nillable ="true" type="xsd:string" />
<element name="avaliability" nillable ="true" type="xsd:string"/>
</sequence>
</complexType>
</element>
<wsdl:message name="purchaseOrderMessage">
<wsdl:part name="parameters" element="tns:purchaseOrder" />
<wsdl:part name="attribute1" type=" xsd:string" />
</wsdl:message>
I am a new learner about this , who can help me make a rue for this
transformation ?
Thanks very much.
|
|
|
|
Re: [ATL]UML 2 BPEL transformation [message #77792 is a reply to message #77692] |
Fri, 28 March 2008 04:27  |
Eclipse User |
|
|
|
Originally posted by: hr_mi.live.cn
William Piers 写道:
> Hello,
>
> unique a écrit :
>> Hi ,everyone :
>> I want to transform a class diagram to bpel , it is defined like this:
>> -----------------
>> <<Data>>
>> purchaseOrder
>> -----------------
>> attributes
>> customerID:String
>> orderID:String
>> orderItem:OrderItem
>> -----------------
>> operations
>> -----------------
>> classes
>> -----------------
>>
>>
>> and the WSDL is defined as following:
>>
>> Corresponding WSDL fragment:
>>
>> <element name="purchaseOrder">
>> <complexType>
>> <sequence>
>> <element name="customerID" nillable ="true" type="xsd:string" />
>> <element name="orderI" nillable ="true" type="xsd:string" />
>> <element name="avaliability" nillable ="true" type="xsd:string"/>
>> </sequence>
>> </complexType>
>> </element>
>>
>> <wsdl:message name="purchaseOrderMessage">
>> <wsdl:part name="parameters" element="tns:purchaseOrder" />
>> <wsdl:part name="attribute1" type=" xsd:string" />
>> </wsdl:message>
>>
>>
>> I am a new learner about this , who can help me make a rue for this
>> transformation ?
>>
>
> The best way to learn is to try ;-) . I strongly advise you to watch
> some examples, for example in those pages :
> http://www.eclipse.org/m2m/atl/usecases/
> http://www.eclipse.org/m2m/atl/atlTransformations/
>
> You will find many UML2<something> examples. Then if you encounter
> problems, do not hesitate to ask here.
>
>> Thanks very much.
>>
>
> Best regards,
>
> William
Thanks for your advices !
I will try to do it best!
|
|
|
Powered by
FUDForum. Page generated in 0.03772 seconds