Next in thread → Next in month →

RE: [wsbpel-spec-edit] clarity of example in Section 10.2

From
Satish Thatte <>
Date
2004-07-14T15:30:49+00:00
ID
Thread
RE: [wsbpel-spec-edit] clarity of example in Section 10.2
Haven’t seen any responses to this
and to be honest haven’t had a chance to look at it myself.  Any other
opinions on this?

 

From: Alex Yiu [mailto:]

Sent: Monday, June 28, 2004 9:25 PM

To:


Cc: Alex Yiu

Subject: [wsbpel-spec-edit]
clarity of example in Section 10.2

 

Hi, editor-team, 

When I am applying changes for Issue 37 to Section 10.2.,  I am re-reading
the example in that section. 

If my reading is correct, we don't have invoice-CS related information in
PurchaseOrderResponse, we may want to improve the clarity of the example by
adding the following to the BPEL sample code. 

----------------------

    <xsd:complexType name="PurchaseOrderResponse">

          <xsd:element
name="CID" type="xsd:string"/>

          <xsd:element
name="order" type="xsd:int"/>

             
<xsd:element name="VID" type="xsd:string"/> <!--
*adding* -->

             
<xsd:element name="invNum" type="xsd:int"/> <!--
*adding* -->

        ...

    </xsd:complexType>

----------------------

---------------

<bpws:propertyAlias propertyName="cor:vendorID"

    messageType="tns:InvMessage"
part="IVC">

    <query>

    /IVC/VID

    </query>

</bpws:propertyAlias>

<bpws:propertyAlias propertyName="cor:invoiceNumber"

    messageType="tns:InvMessage"
part="IVC">

    <query>

    /IVC/InvNum

    </query>

</bpws:propertyAlias>

<!-- *adding* -->

<bpws:propertyAlias propertyName="cor:vendorID"

    messageType="tns:PurchaseOrderResponse"
part="IVC">

    <query>

    ...

    </query>

</bpws:propertyAlias>

<!-- *adding* -->

<bpws:propertyAlias propertyName="cor:invoiceNumber"

    messageType="tns:PurchaseOrderResponse"
part="IVC">

    <query>

    ... 

    </query>

</bpws:propertyAlias>

---------------

(BTW, we of course need to rectify the XPath used in the query subelement after
passing Issue 103)

It should either look like this:

<bpws:propertyAlias propertyName="cor:vendorID"

    messageType="tns:InvMessage" part="IVC">

    <query>/VID</query>

</bpws:propertyAlias>

or look like this: 

<bpws:propertyAlias propertyName="cor:vendorID"

    messageType="tns:InvMessage">

    <query>/IVC/VID</query>

</bpws:propertyAlias>

What do you guys think?

Regards,

Alex Yiu
Next in thread → Next in month →