blob: e1bb68108acae363f4c36c2178fabff7bfe15d2f [file] [log] [blame]
<?xml version="1.0" encoding="UTF-8"?><!--
~ Licensed to the Apache Software Foundation (ASF) under one
~ or more contributor license agreements. See the NOTICE file
~ distributed with this work for additional information
~ regarding copyright ownership. The ASF licenses this file
~ to you under the Apache License, Version 2.0 (the
~ "License"); you may not use this file except in compliance
~ with the License. You may obtain a copy of the License at
~
~ http://www.apache.org/licenses/LICENSE-2.0
~
~ Unless required by applicable law or agreed to in writing,
~ software distributed under the License is distributed on an
~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
~ KIND, either express or implied. See the License for the
~ specific language governing permissions and limitations
~ under the License.
-->
<!--
Copyright (c) OASIS Open 2006. All Rights Reserved.
-->
<xsd:schema targetNamespace="http://docs.oasis-open.org/wsbpel/2.0/serviceref"
xmlns:sref="http://docs.oasis-open.org/wsbpel/2.0/serviceref"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
elementFormDefault="qualified"
blockDefault="#all">
<xsd:annotation>
<xsd:documentation>
Service Reference Schema for WS-BPEL 2.0
Last modified date: 17th August, 2006
2006-07-28: Rev 1.1: YIU-OSS: Alex Yiu:
Apply Issue a portion of Issue 294.1:
Create a schema of a separate namespace for "service-ref"
2006-08-07: Rev 1.2: Thomas Schulze
Minor formatting changes. Reviewed the comments.
Removed the default namespace.
Changed prefix "serviceref:" to "sref:".
*****************************************
2006-08-08: Rev 1.1: Alex Yiu
Rename the file from wsbpel_serviceref.xsd (rev 1.2) to ws-bpel_serviceref.xsd
Change the targetNamespace URI to:
http://docs.oasis-open.org/ws-bpel/2.0/serviceref
2006-08-09: Rev 1.2: Alex Yiu
Adding blockDefault="#all" as requested by Thomas Schulze and etc
2006-08-16: Rev 1.3: Thomas Schulze
Minor formatting changes.
Apply AI 152: change the targetNamespace from "http://docs.oasis-open.org/ws-bpel/2.0/serviceref"
to "http://docs.oasis-open.org/wsbpel/2.0/serviceref".
Add a copyright statement.
2006-08-17: Rev 1.4: Alex Yiu
Adding last modified date and small reformatting for copyright statement
</xsd:documentation>
</xsd:annotation>
<xsd:element name="service-ref" type="sref:ServiceRefType">
<xsd:annotation>
<xsd:documentation>
This element can be used within a from-spec.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:complexType name="ServiceRefType">
<xsd:annotation>
<xsd:documentation>
This type definition is for service reference container.
This container is used as envelope to wrap around the actual endpoint reference value,
when a BPEL process interacts the endpoint reference of a partnerLink.
It provides pluggability of different versions of service referencing schemes
being used within a BPEL program. The design pattern here is similar to those of
expression language.
</xsd:documentation>
</xsd:annotation>
<xsd:sequence>
<xsd:any namespace="##other" processContents="lax"/>
</xsd:sequence>
<xsd:attribute name="reference-scheme" type="xsd:anyURI"/>
</xsd:complexType>
</xsd:schema>