OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

sca-bpel message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: Fw: [sca-bpel] NEW ISSUE: SCA-BPEL XML Schema




Extending my earlier proposal for the appended new issue about missing
SCA-BPEL XML Schema artifacts ...

In addition to the SCA-BPEL XML Schema defining the WS-BPEL 2.0 extension
elements for SCA that appear within BPEL processes, additional XML Schema
artifacts are required for SCA core elements extended by SCA-BPEL, again,
to be made available as a standalone artifact (see attached file) and as an
Appendix chapter in the spec.

Something along the lines of the following (pasted below and attached) ...
(See attached file: sca-implementation-bpel.xsd)(See attached file:
sca-interface-partnerLinkType.xsd)

Together with the SCA-BPEL XML Schema appendix section, the new appendix
chapter A now contains three XML Schema artifacts:
A.1. SCA BPEL Implementation Type (sca-implementation-bpel.xsd)
A.2. SCA BPEL PartnerLinkType Interface (sca-interface-partnerLinkType.xsd)
A.3. WS-BPEL Extensions for SCA (sca-bpel.xsd)


A. XML Schemas

A.1. SCA BPEL Implementation Type (sca-implementation-bpel.xsd)

<?xml version="1.0" encoding="UTF-8"?>
<!--
      Copyright (c) OASIS Open 2008. All Rights Reserved.
-->
<schema xmlns="http://www.w3.org/2001/XMLSchema";
   targetNamespace="http://www.osoa.org/xmlns/sca/1.0";
   xmlns:sca="http://www.osoa.org/xmlns/sca/1.0";
   elementFormDefault="qualified">

   <!-- SCA Core XML Schema -->
   <include schemaLocation="sca-core.xsd"/>

   <!-- SCA BPEL Implementation Type -->
   <element name="implementation.bpel" type="sca:BPELImplementation"
substitutionGroup="sca:implementation"/>

   <complexType name="BPELImplementation">
      <complexContent>
         <extension base="sca:Implementation">
            <sequence>
               <any namespace="##other" processContents="lax" minOccurs="0"
maxOccurs="unbounded"/>
            </sequence>
            <attribute name="process" type="QName" use="required"/>
            <anyAttribute namespace="##any" processContents="lax"/>
         </extension>
      </complexContent>
   </complexType>

</schema>

A.2. SCA BPEL PartnerLinkType Interface (sca-interface-partnerLinkType.xsd)

<?xml version="1.0" encoding="UTF-8"?>
<!--
      Copyright (c) OASIS Open 2008. All Rights Reserved.
-->
<schema xmlns="http://www.w3.org/2001/XMLSchema";
   targetNamespace="http://www.osoa.org/xmlns/sca/1.0";
   xmlns:sca="http://www.osoa.org/xmlns/sca/1.0";
   elementFormDefault="qualified">

   <!-- SCA Core XML Schema -->
   <include schemaLocation="sca-core.xsd"/>

   <!-- SCA BPEL PartnerLinkType Interface -->
   <element name="interface.partnerLinkType" type="sca:BPELPartnerLinkType"
substitutionGroup="sca:interface"/>

   <complexType name="BPELPartnerLinkType">
      <complexContent>
         <extension base="sca:Interface">
            <sequence>
               <any namespace="##other" processContents="lax" minOccurs="0"
maxOccurs="unbounded"/>
            </sequence>
            <attribute name="type" type="QName" use="required"/>
            <attribute name="serviceRole" type="NCName" use="optional"/>
            <anyAttribute namespace="##any" processContents="lax"/>
         </extension>
      </complexContent>
   </complexType>

</schema>

A.3. WS-BPEL Extensions for SCA (sca-bpel.xsd)

<?xml version="1.0" encoding="UTF-8"?>
<!--
      Copyright (c) OASIS Open 2008. All Rights Reserved.
-->
<schema xmlns="http://www.w3.org/2001/XMLSchema";
   targetNamespace="http://docs.oasis-open.org/ns/opencsa/sca-bpel/200801";
   xmlns:sca-bpel="http://docs.oasis-open.org/ns/opencsa/sca-bpel/200801";
   xmlns:bpel="http://docs.oasis-open.org/wsbpel/2.0/process/executable";
   xmlns:sref="http://docs.oasis-open.org/wsbpel/2.0/serviceref";
   elementFormDefault="qualified">

   <!-- WS-BPEL 2.0 XML Schema for Executable Processes -->
   <import namespace="
http://docs.oasis-open.org/wsbpel/2.0/process/executable";
      schemaLocation="
http://docs.oasis-open.org/wsbpel/2.0/OS/process/executable/ws-bpel_executable.xsd
"/>
   <!-- WS-BPEL 2.0 XML Schema for Service References -->
   <import namespace="http://docs.oasis-open.org/wsbpel/2.0/serviceref";
      schemaLocation="
http://docs.oasis-open.org/wsbpel/2.0/OS/serviceref/ws-bpel_serviceref.xsd
"/>

   <!-- WS-BPEL extension attribute for a variable representing an SCA
property -->
   <attribute name="property" type="bpel:tBoolean"/>

   <!-- WS-BPEL extension element for a variable representing an SCA
multi-valued reference -->
   <element name="multiReference">
      <complexType>
         <simpleContent>
            <extension base="string">
               <attribute name="partnerLinkType" type="QName"/>
               <attribute name="partnerRole" type="NCName"/>
               <attribute name="multiplicity" type="sca-bpel:Multiplicity"
use="optional" default="1..n"/>
            </extension>
         </simpleContent>
      </complexType>
   </element>

   <simpleType name="Multiplicity">
      <restriction base="string">
         <enumeration value="0..n"/>
         <enumeration value="1..n"/>
      </restriction>
   </simpleType>

   <!-- WS-BPEL extension attribute for a partner link associated with an
SCA multi-valued reference -->
   <attribute name="multiRefFrom" type="bpel:BPELVariableName"/>

   <!-- XML Schema element representing an SCA multi-valued reference -->
   <element name="serviceReferenceList">
      <complexType>
         <sequence>
           <element ref="sref:service-ref" minOccurs="0" maxOccurs="
unbounded"/>
         </sequence>
      </complexType>
   </element>

</schema>

<--- End of Appendix A Text --->


In addition, the following changes should be made in the spec (copied from
original proposal below):

(1) The SCA-BPEL namespace on line 195 is wrong, it should be:
   <extension namespace="
http://docs.oasis-open.org/ns/opencsa/sca-bpel/200801";
instead of
   <extension namespace="http://www.osoa.org/xmlns/sca/bpel/1.0";

(2) The XML Schema syntax for the serviceReferenceList (lines 250-257)
definition should have the orange background (used for syntax) instead of
the grey background (used for examples).

(3) The multiRefFrom attribute should reuse the type defined for BPEL
variable names - in line 266, use
   <partnerLink ... sca-bpel:multiRefFrom="bpel:BPELVariableName" />
instead of
   <partnerLink ... sca-bpel:multiRefFrom="xs:NCName" />

(4) The BPEL service-ref element is defined in the namespace associated
with the prefix "sref:", so the XPath expression in line 288 should be
   count($vendors/sref:service-ref)
instead of
   count($vendors/bpel:service-ref)

and in line 301
   <from>$vendors/sref:service-ref[$idx]</from>
instead of
   <from>$vendors/bpel:service-ref[$idx]</from>


Kind Regards
DK
                                                                       
 Dieter König                          Mail: dieterkoenig@de.ibm.com         IBM Deutschland Entwicklung GmbH
                                                                       
 Senior Technical Staff Member         Tel (office): (+49) 7031-16-3426      Vorsitzender des Aufsichtsrats:
                                                                             Martin Jetter
                                                                       
 Architect, Business Process           Fax (office): (+49) 7031-16-4890      Geschäftsführung: Herbert Kircher
 Choreographer                                                         
                                                                       
 Member, Technical Expert Council      Tel (home office): (+49) 7032-201464  Sitz der Gesellschaft: Böblingen
                                                                       
                                       Schönaicher Strasse 220, 71032        Registergericht: Amtsgericht
                                       Böblingen, Germany                    Stuttgart, HRB 243294
                                                                       
                                                                       
                                                                       



----- Forwarded by Dieter Koenig1/Germany/IBM on 11.03.2008 11:36 -----
                                                                       
  From:       Dieter Koenig1/Germany/IBM                               
                                                                       
  To:         sca-bpel@lists.oasis-open.org                            
                                                                       
  Cc:         "Patil, Sanjay" <sanjay.patil@sap.com>                   
                                                                       
  Date:       08.03.2008 12:54                                         
                                                                       
  Subject:    [sca-bpel] NEW ISSUE: SCA-BPEL XML Schema                
                                                                       




Resubmitting the new issue about the missing SCA-BPEL XML Schema - please
add *this* one to JIRA.

I fixed the <element name="multiReference"> and added a couple of comments
in the XML schema.

============================================================


TARGET:
SCA Client and Implementation Model Specification for WS-BPEL - Committee
Draft 01.


DESCRIPTION:
The SCA-BPEL XML Schema (namespace "
http://docs.oasis-open.org/ns/opencsa/sca-bpel/200801";) is missing.

Moreover, a number of minor XML Schema related changes are needed - see (1)
- (4) in the proposal below.


PROPOSAL:
The XML Schema for the SCA-BPEL constructs needs to be made available as a
standalone artifact (see attached file) and as an Appendix chapter in the
spec - see below, something along the lines of the following ...
(See attached file: sca-bpel.xsd)

A. XML Schema

<?xml version="1.0" encoding="UTF-8"?>
<!--
      Copyright (c) OASIS Open 2008. All Rights Reserved.
-->
<schema xmlns="http://www.w3.org/2001/XMLSchema";
   targetNamespace="http://docs.oasis-open.org/ns/opencsa/sca-bpel/200801";
   xmlns:sca-bpel="http://docs.oasis-open.org/ns/opencsa/sca-bpel/200801";
   xmlns:bpel="http://docs.oasis-open.org/wsbpel/2.0/process/executable";
   xmlns:sref="http://docs.oasis-open.org/wsbpel/2.0/serviceref";
   elementFormDefault="qualified">

   <!-- WS-BPEL 2.0 XML Schema for Executable Processes -->
   <import namespace="
http://docs.oasis-open.org/wsbpel/2.0/process/executable";
      schemaLocation="
http://docs.oasis-open.org/wsbpel/2.0/OS/process/executable/ws-bpel_executable.xsd
"/>
   <!-- WS-BPEL 2.0 XML Schema for Service References -->
   <import namespace="http://docs.oasis-open.org/wsbpel/2.0/serviceref";
      schemaLocation="
http://docs.oasis-open.org/wsbpel/2.0/OS/serviceref/ws-bpel_serviceref.xsd
"/>

   <!-- WS-BPEL extension attribute for a variable representing an SCA
property -->
   <attribute name="property" type="bpel:tBoolean"/>

   <!-- WS-BPEL extension element for a variable representing an SCA
multi-valued reference -->
   <element name="multiReference">
      <complexType>
         <simpleContent>
            <extension base="string">
               <attribute name="partnerLinkType" type="QName"/>
               <attribute name="partnerRole" type="NCName"/>
               <attribute name="multiplicity" type="sca-bpel:Multiplicity"
use="optional" default="1..n"/>
            </extension>
         </simpleContent>
      </complexType>
   </element>

   <simpleType name="Multiplicity">
      <restriction base="string">
         <enumeration value="0..n"/>
         <enumeration value="1..n"/>
      </restriction>
   </simpleType>

   <!-- WS-BPEL extension attribute for a partner link associated with an
SCA multi-valued reference -->
   <attribute name="multiRefFrom" type="bpel:BPELVariableName"/>

   <!-- XML Schema element representing an SCA multi-valued reference -->
   <element name="serviceReferenceList">
      <complexType>
         <sequence>
           <element ref="sref:service-ref" minOccurs="0" maxOccurs="
unbounded"/>
         </sequence>
      </complexType>
   </element>

</schema>

In addition, the following changes should be made in the spec:

(1) The SCA-BPEL namespace on line 195 is wrong, it should be:
   <extension namespace="
http://docs.oasis-open.org/ns/opencsa/sca-bpel/200801";
instead of
   <extension namespace="http://www.osoa.org/xmlns/sca/bpel/1.0";

(2) The XML Schema syntax for the serviceReferenceList (lines 250-257)
definition should have the orange background (used for syntax) instead of
the grey background (used for examples).

(3) The multiRefFrom attribute should reuse the type defined for BPEL
variable names - in line 266, use
   <partnerLink ... sca-bpel:multiRefFrom="bpel:BPELVariableName" />
instead of
   <partnerLink ... sca-bpel:multiRefFrom="xs:NCName" />

(4) The BPEL service-ref element is defined in the namespace associated
with the prefix "sref:", so the XPath expression in line 288 should be
   count($vendors/sref:service-ref)
instead of
   count($vendors/bpel:service-ref)

and in line 301
   <from>$vendors/sref:service-ref[$idx]</from>
instead of
   <from>$vendors/bpel:service-ref[$idx]</from>


Kind Regards
DK
                                                                       
 Dieter König                          Mail: dieterkoenig@de.ibm.com         IBM Deutschland Entwicklung GmbH
                                                                       
 Senior Technical Staff Member         Tel (office): (+49) 7031-16-3426      Vorsitzender des Aufsichtsrats:
                                                                             Martin Jetter
                                                                       
 Architect, Business Process           Fax (office): (+49) 7031-16-4890      Geschäftsführung: Herbert Kircher
 Choreographer                                                         
                                                                       
 Member, Technical Expert Council      Tel (home office): (+49) 7032-201464  Sitz der Gesellschaft: Böblingen
                                                                       
                                       Schönaicher Strasse 220, 71032        Registergericht: Amtsgericht
                                       Böblingen, Germany                    Stuttgart, HRB 243294
                                                                       
                                                                       
                                                                       





                                                                       
  From:       "Patil, Sanjay" <sanjay.patil@sap.com>                   
                                                                       
  To:         Dieter Koenig1/Germany/IBM@IBMDE, <sca-bpel@lists.oasis-open.org>
                                                                       
  Date:       07.03.2008 17:26                                         
                                                                       
  Subject:    RE: [sca-bpel] NEW ISSUE: SCA-BPEL XML Schema            
                                                                       






Shouldn't the  <element name="multiRefFrom"> in the schema be  <element
name="multiReference"> ?

-- Sanjay

> -----Original Message-----
> From: Dieter Koenig1 [mailto:dieterkoenig@de.ibm.com]
> Sent: Friday, Mar 07, 2008 5:38 AM
> To: sca-bpel@lists.oasis-open.org
> Subject: [sca-bpel] NEW ISSUE: SCA-BPEL XML Schema
>
>
> TARGET:
> SCA Client and Implementation Model Specification for WS-BPEL
> - Committee
> Draft 01.
>
>
> DESCRIPTION:
> The SCA-BPEL XML Schema (namespace
> "http://docs.oasis-open.org/ns/opencsa/sca-bpel/200801";) is missing.
>
> Moreover, a number of minor XML Schema related changes are
> needed - see (1)
> - (4) in the proposal below.
>
>
> PROPOSAL:
> The XML Schema for the SCA-BPEL constructs needs to be made
> available as a
> standalone artifact (see attached file) and as an Appendix
> chapter in the
> spec - see below, something along the lines of the following ...
> (See attached file: sca-bpel.xsd)
>
> A. XML Schema
>
> <?xml version="1.0" encoding="UTF-8"?>
> <schema xmlns="http://www.w3.org/2001/XMLSchema";
>
> targetNamespace="http://docs.oasis-open.org/ns/opencsa/sca-bpe
> l/200801"
>
> xmlns:sca-bpel="http://docs.oasis-open.org/ns/opencsa/sca-bpel/200801";
>
> xmlns:bpel="http://docs.oasis-open.org/wsbpel/2.0/process/executable";
>    xmlns:sref="http://docs.oasis-open.org/wsbpel/2.0/serviceref";
>    elementFormDefault="qualified"
>    attributeFormDefault="unqualified">
>
>    <import namespace="
> http://docs.oasis-open.org/wsbpel/2.0/process/executable";
>       schemaLocation="
> http://docs.oasis-open.org/wsbpel/2.0/OS/process/executable/ws
> -bpel_executable.xsd
> "/>
>    <import
> namespace="http://docs.oasis-open.org/wsbpel/2.0/serviceref";
>       schemaLocation="
> http://docs.oasis-open.org/wsbpel/2.0/OS/serviceref/ws-bpel_se
> rviceref.xsd
> "/>
>
>    <attribute name="multiRefFrom" type="bpel:BPELVariableName"/>
>
>    <attribute name="property" type="bpel:tBoolean"/>
>
>    <element name="multiRefFrom">
>       <complexType>
>          <simpleContent>
>             <extension base="string">
>                <attribute name="partnerLinkType" type="QName"/>
>                <attribute name="partnerRole" type="NCName"/>
>                <attribute name="multiplicity"
> type="sca-bpel:Multiplicity"
> use="optional" default="1..n"/>
>             </extension>
>          </simpleContent>
>       </complexType>
>    </element>
>    <simpleType name="Multiplicity">
>       <restriction base="string">
>          <enumeration value="0..n"/>
>          <enumeration value="1..n"/>
>       </restriction>
>    </simpleType>
>
>    <element name="serviceReferenceList">
>       <complexType>
>          <sequence>
>            <element ref="sref:service-ref" minOccurs="0" maxOccurs="
> unbounded"/>
>          </sequence>
>       </complexType>
>    </element>
>
> </schema>
>
> In addition, the following changes should be made in the spec:
>
> (1) The SCA-BPEL namespace on line 195 is wrong, it should be:
>    <extension namespace="
> http://docs.oasis-open.org/ns/opencsa/sca-bpel/200801";
> instead of
>    <extension namespace="http://www.osoa.org/xmlns/sca/bpel/1.0";
>
> (2) The XML Schema syntax for the serviceReferenceList (lines 250-257)
> definition should have the orange background (used for
> syntax) instead of
> the grey background (used for examples).
>
> (3) The multiRefFrom attribute should reuse the type defined for BPEL
> variable names - in line 266, use
>    <partnerLink ... sca-bpel:multiRefFrom="bpel:BPELVariableName" />
> instead of
>    <partnerLink ... sca-bpel:multiRefFrom="xs:NCName" />
>
> (4) The BPEL service-ref element is defined in the namespace
> associated
> with the prefix "sref:", so the XPath expression in line 288 should be
>    count($vendors/sref:service-ref)
> instead of
>    count($vendors/bpel:service-ref)
>
> and in line 301
>    <from>$vendors/sref:service-ref[$idx]</from>
> instead of
>    <from>$vendors/bpel:service-ref[$idx]</from>
>
>
> Kind Regards
> DK
>

---------------------------------------------------------------------
To unsubscribe from this mail list, you must leave the OASIS TC that
generates this mail.  You may a link to this group and all your TCs in
OASIS
at:
https://www.oasis-open.org/apps/org/workgroup/portal/my_workgroups.php

sca-implementation-bpel.xsd

sca-interface-partnerLinkType.xsd

sca-bpel.xsd



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]