update to version 2.0.3-SNAPSHOT

added GHN manage with WHNManager if the GHN is deployed on container that is not gCube

git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/vre-management/ResourceManager@86326 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Roberto Cirillo 2013-11-28 15:02:07 +00:00
parent f112e0c19f
commit 1ac6663a3d
79 changed files with 8184 additions and 257 deletions

View File

@ -11,7 +11,7 @@
<groupId>org.gcube.resourcemanagement</groupId>
<artifactId>resource-manager</artifactId>
<version>2.0.2-SNAPSHOT</version>
<version>2.0.3-SNAPSHOT</version>
<packaging>pom</packaging>
<name>Resource Manager Reactor</name>

View File

@ -1,107 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<artifactId>maven-parent</artifactId>
<groupId>org.gcube.tools</groupId>
<version>1.0.0</version>
<relativePath />
</parent>
<groupId>org.gcube.resourcemanagement</groupId>
<artifactId>resource-manager</artifactId>
<version>2.0.2-SNAPSHOT</version>
<packaging>pom</packaging>
<name>Resource Manager Reactor</name>
<modules>
<!-- The repository module must be first in order to ensure
that the local repository is populated -->
<module>resource-manager-stubs</module>
<module>resource-manager-test-suite</module>
<module>resource-manager-service</module>
</modules>
<properties>
<wsdlDirectory>${project.basedir}/../wsdl</wsdlDirectory>
<wsdlOutputDirectory>${project.basedir}/../target/generated-sources/wsdl</wsdlOutputDirectory>
<configDirectory>${project.basedir}/../config</configDirectory>
<distroDirectory>${project.basedir}/../distro</distroDirectory>
<namespace>http://gcube-system.org/namespaces/vremanagement/resourcemanager</namespace>
<basepackage>org.gcube.vremanagement.resourcemanager</basepackage>
</properties>
<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.gcube.core</groupId>
<artifactId>gcf</artifactId>
<version>[1.4.1-SNAPSHOT,1.6.0-SNAPSHOT)</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.8.2</version>
<scope>test</scope>
</dependency>
</dependencies>
</dependencyManagement>
<build>
<!-- defines basic configuration for the service plugin -->
<pluginManagement>
<plugins>
<plugin>
<groupId>org.gcube.tools</groupId>
<artifactId>maven-service-plugin</artifactId>
<version>1.1.0</version>
<configuration>
<serviceId>resourcemanager</serviceId>
<basePackage>${basepackage}</basePackage>
<wsdlDirectory>${wsdlDirectory}</wsdlDirectory>
<wsdlOutputDirectory>${wsdlOutputDirectory}</wsdlOutputDirectory>
<configurationDirectory>${configDirectory}</configurationDirectory>
</configuration>
</plugin>
</plugins>
</pluginManagement>
<plugins>
<!-- interpolates profiles and copies from distribution location to configuration
location, where it is need for embedding into stub artifact, gar generation,
and service archive. -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-resources-plugin</artifactId>
<version>2.6</version>
<executions>
<execution>
<id>copy-profile</id>
<goals>
<goal>copy-resources</goal>
</goals>
<phase>process-resources</phase>
<configuration>
<outputDirectory>${configDirectory}</outputDirectory>
<resources>
<resource>
<directory>${distroDirectory}</directory>
<includes>
<include>profile.xml</include>
</includes>
<filtering>true</filtering>
</resource>
</resources>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>

View File

@ -1,36 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="src" output="target/classes" path="src/main/java">
<attributes>
<attribute name="optional" value="true"/>
<attribute name="maven.pomderived" value="true"/>
</attributes>
</classpathentry>
<classpathentry excluding="**" kind="src" output="target/classes" path="src/main/resources">
<attributes>
<attribute name="maven.pomderived" value="true"/>
</attributes>
</classpathentry>
<classpathentry kind="src" output="target/test-classes" path="src/test/java">
<attributes>
<attribute name="optional" value="true"/>
<attribute name="maven.pomderived" value="true"/>
</attributes>
</classpathentry>
<classpathentry excluding="**" kind="src" output="target/test-classes" path="src/test/resources">
<attributes>
<attribute name="maven.pomderived" value="true"/>
</attributes>
</classpathentry>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.6">
<attributes>
<attribute name="maven.pomderived" value="true"/>
</attributes>
</classpathentry>
<classpathentry kind="con" path="org.eclipse.m2e.MAVEN2_CLASSPATH_CONTAINER">
<attributes>
<attribute name="maven.pomderived" value="true"/>
</attributes>
</classpathentry>
<classpathentry kind="src" output="target/classes" path="src/main/java"/>
<classpathentry excluding="**" kind="src" output="target/classes" path="src/main/resources"/>
<classpathentry kind="src" output="target/test-classes" path="src/test/java"/>
<classpathentry excluding="**" kind="src" output="target/test-classes" path="src/test/resources"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.6"/>
<classpathentry kind="con" path="org.eclipse.m2e.MAVEN2_CLASSPATH_CONTAINER"/>
<classpathentry kind="output" path="target/classes"/>
</classpath>

View File

@ -4,7 +4,7 @@
<parent>
<groupId>org.gcube.resourcemanagement</groupId>
<artifactId>resource-manager</artifactId>
<version>2.0.2-SNAPSHOT</version>
<version>2.0.3-SNAPSHOT</version>
<relativePath>..</relativePath>
</parent>
@ -114,10 +114,12 @@
<artifactId>junit</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.gcube.resourcemanagement</groupId>
<artifactId>whn-manager-client</artifactId>
<version>[1.0.0-SNAPSHOT, 2.0.0-SNAPSHOT)</version>
</dependency>
</dependencies>
<profiles>
<profile>
<id>local-deploy</id>
@ -149,6 +151,9 @@
<plugin>
<groupId>org.gcube.tools</groupId>
<artifactId>maven-service-plugin</artifactId>
<configuration>
<fullGar>true</fullGar>
</configuration>
<executions>
<execution>
<id>make-gar</id>

View File

@ -1,21 +1,29 @@
package org.gcube.vremanagement.resourcemanager.impl.resources;
import static org.gcube.common.vremanagement.whnmanager.client.plugins.AbstractPlugin.whnmanager;
import java.net.URL;
import java.util.List;
import org.apache.axis.message.addressing.Address;
import org.apache.axis.message.addressing.EndpointReferenceType;
import org.gcube.common.core.contexts.GCUBERemotePortTypeContext;
import org.gcube.common.core.contexts.GHNContext;
import org.gcube.common.core.informationsystem.ISException;
import org.gcube.common.core.informationsystem.client.AtomicCondition;
import org.gcube.common.core.informationsystem.client.ISClient;
import org.gcube.common.core.informationsystem.client.ISClient.ISMalformedQueryException;
import org.gcube.common.core.informationsystem.client.ISClient.ISUnsupportedQueryException;
import org.gcube.common.core.informationsystem.client.queries.GCUBEGHNQuery;
import org.gcube.common.core.informationsystem.client.queries.GCUBERIQuery;
import org.gcube.common.core.resources.GCUBEHostingNode;
import org.gcube.common.core.resources.GCUBERunningInstance;
import org.gcube.common.core.scope.GCUBEScope;
import org.gcube.common.scope.api.ScopeProvider;
import org.gcube.common.vremanagement.ghnmanager.stubs.AddScopeInputParams;
import org.gcube.common.vremanagement.ghnmanager.stubs.GHNManagerPortType;
import org.gcube.common.vremanagement.ghnmanager.stubs.service.GHNManagerServiceAddressingLocator;
import org.gcube.common.vremanagement.whnmanager.client.proxies.WHNManagerProxy;
import org.gcube.vremanagement.resourcemanager.impl.contexts.ServiceContext;
/**
@ -30,6 +38,8 @@ public class ScopedGHN extends ScopedResource {
private String nodename = "";
private boolean isWhnManagerEnabled;
private transient EndpointReferenceType ghnEpr;
protected ScopedGHN(String id, GCUBEScope scope) {
@ -41,69 +51,143 @@ public class ScopedGHN extends ScopedResource {
protected void addToScope() throws ResourceNotFound, Exception {
if (this.ghnEpr == null)
this.findResource();
//contact the GHNManager to add the GHN to the given scope
EndpointReferenceType endpoint = new EndpointReferenceType();
try {
endpoint.setAddress(new Address("http://"+ this.nodename +"/wsrf/services/gcube/common/vremanagement/GHNManager"));
GHNManagerServiceAddressingLocator locator = new GHNManagerServiceAddressingLocator();
GHNManagerPortType pt = GCUBERemotePortTypeContext.getProxy(locator.getGHNManagerPortTypePort(endpoint),
ServiceContext.getContext().getScope().getEnclosingScope(), ServiceContext.getContext());
AddScopeInputParams params = new AddScopeInputParams();
params.setScope(this.scope.toString());
params.setMap(""); //eventually, set here the new Service Map
pt.addScope(params);
} catch (Exception e) {
this.noHopeForMe("Failed to add GHN to scope " + scope.toString(), e);
if(isWhnManagerEnabled){
//contact the WHNManager to add the GHN to the given scope. If not found then contact the GHNManager
String scopeString=ServiceContext.getContext().getScope().getEnclosingScope().toString();
logger.debug("contacting the WHNManager on"+this.nodename+" with scope "+scopeString+" for adding the scope: "+this.scope+" to the resource with id: "+this.id);
ScopeProvider.instance.set(scopeString);
WHNManagerProxy proxy = whnmanager().at(new URL("http://"+ this.nodename +"/whn-manager/gcube/vremanagement/ws/whnmanager")).build();
try{
org.gcube.resourcemanagement.whnmanager.api.types.AddScopeInputParams params = new org.gcube.resourcemanagement.whnmanager.api.types.AddScopeInputParams(this.scope.toString(), "");
proxy.addScope(params);
}catch(Exception e){
this.noHopeForMe("Failed to add WHN to scope " + scope.toString(), e);
}
isWhnManagerEnabled=false;
logger.debug(" AddScope operation on WhnManager completed ");
}else{
//contact the GHNManager to add the GHN to the given scope
EndpointReferenceType endpoint = new EndpointReferenceType();
try {
endpoint.setAddress(new Address("http://"+ this.nodename +"/wsrf/services/gcube/common/vremanagement/GHNManager"));
GHNManagerServiceAddressingLocator locator = new GHNManagerServiceAddressingLocator();
GHNManagerPortType pt = GCUBERemotePortTypeContext.getProxy(locator.getGHNManagerPortTypePort(endpoint),
ServiceContext.getContext().getScope().getEnclosingScope(), ServiceContext.getContext());
AddScopeInputParams params = new AddScopeInputParams();
params.setScope(this.scope.toString());
params.setMap(""); //eventually, set here the new Service Map
pt.addScope(params);
} catch (Exception e) {
this.noHopeForMe("Failed to add GHN to scope " + scope.toString(), e);
}
}
}
@Override
protected void find() throws Exception {
ISClient client = null;
GCUBEGHNQuery query = null;
try {
client = GHNContext.getImplementation(ISClient.class);
query = client.getQuery(GCUBEGHNQuery.class);
query.addAtomicConditions(new AtomicCondition("/ID/text()", this.id));
} catch (Exception e) {
throw new Exception("unable to query of the target GHN (ID=" + this.id + ")", e);
}
try {
List<GCUBEHostingNode> hostingNodes = client.execute(query, ServiceContext.getContext().getScope());
this.nodename = hostingNodes.get(0).getNodeDescription().getName();
this.hostedOn = nodename;
this.ghnEpr = this.loadGHNmanager(hostingNodes.get(0).getID(), client, ServiceContext.getContext().getScope());
} catch (Exception e) {
//try in the enclosing scope
logger.trace("ScopedGHN find method. Search ghn with id: "+this.id);
isWhnManagerEnabled=checkGhnType(this.id, ServiceContext.getContext().getScope());
if(!isWhnManagerEnabled){
ISClient client = GHNContext.getImplementation(ISClient.class);
GCUBEGHNQuery query = null;
try {
List<GCUBEHostingNode> hostingNodes = client.execute(query, ServiceContext.getContext().getScope().getEnclosingScope());
query = client.getQuery(GCUBEGHNQuery.class);
query.addAtomicConditions(new AtomicCondition("/ID/text()", this.id));
} catch (Exception e) {
throw new Exception("unable to query of the target GHN (ID=" + this.id + ")", e);
}
try {
logger.debug("find method: execute query");
List<GCUBEHostingNode> hostingNodes = client.execute(query, ServiceContext.getContext().getScope());
this.nodename = hostingNodes.get(0).getNodeDescription().getName();
this.hostedOn = nodename;
this.ghnEpr = this.loadGHNmanager(hostingNodes.get(0).getID(), client,ServiceContext.getContext().getScope().getEnclosingScope());
} catch (Exception ei) {
throw new Exception("unable to find the target GHN (ID=" + this.id + ")", e);
this.ghnEpr = this.loadGHNmanager(hostingNodes.get(0).getID(), client, ServiceContext.getContext().getScope());
} catch (Exception e) {
//try in the enclosing scope
isWhnManagerEnabled=checkGhnType(this.id, ServiceContext.getContext().getScope().getEnclosingScope());
if(!isWhnManagerEnabled){
try {
List<GCUBEHostingNode> hostingNodes = client.execute(query, ServiceContext.getContext().getScope().getEnclosingScope());
this.nodename = hostingNodes.get(0).getNodeDescription().getName();
this.hostedOn = nodename;
this.ghnEpr = this.loadGHNmanager(hostingNodes.get(0).getID(), client,ServiceContext.getContext().getScope().getEnclosingScope());
} catch (Exception ei) {
throw new Exception("unable to find the target GHN (ID=" + this.id + ")", e);
}
}
}
}
}
protected boolean checkGhnType( String id, GCUBEScope scope) throws Exception{
logger.trace("checkGhnType method: check if the ghn is managed by WhnManager ghnId: "+id+ " on scope: "+scope.toString());
ISClient client = GHNContext.getImplementation(ISClient.class);
GCUBEGHNQuery query=null;
try {
query = client.getQuery(GCUBEGHNQuery.class);
query.addAtomicConditions(new AtomicCondition("/ID/text()", this.id));
// condition for discover if is managed by WHNMAnager
query.addGenericCondition("$result/Profile/GHNDescription/RunTimeEnv//Variable[Key/string() eq 'SmartGears']");
} catch (Exception e) {
throw new Exception("checkGhnType method: unable to query of the target GHN (ID=" + this.id + ")", e);
}
List<GCUBEHostingNode> hostingNodes=null;
try {
logger.debug("checkGhnType method: execute query");
hostingNodes = client.execute(query, scope);
} catch (Exception e) {
logger.debug(" WHNManager query failed. Query exception: "+e.getMessage());
//try in the enclosing scope ??
// try {
// hostingNodes = client.execute(query, ServiceContext.getContext().getScope().getEnclosingScope());
// this.nodename = hostingNodes.get(0).getNodeDescription().getName();
// this.hostedOn = nodename;
// this.ghnEpr = this.loadGHNmanager(hostingNodes.get(0).getID(), client,ServiceContext.getContext().getScope().getEnclosingScope());
// } catch (Exception ei) {
// logger.debug(" WHNManager query failed on enclosing scope. Query exception: "+e.getMessage());
// }
}
if(hostingNodes.isEmpty()){
logger.debug("GHNProfile is not managed by WHNManager");
return false;
}
this.nodename = hostingNodes.get(0).getNodeDescription().getName();
this.hostedOn = nodename;
logger.info("The GHN is managed by WhnManager. Next step: connect to WHNManager");
return true;
}
@Override
protected void removeFromScope() throws ResourceNotFound, Exception {
if (this.ghnEpr == null)
this.findResource();
//EndpointReferenceType endpoint = new EndpointReferenceType();
try {
//endpoint.setAddress(new Address("http://"+ this.nodename +"/wsrf/services/gcube/common/vremanagement/GHNManager"));
GHNManagerServiceAddressingLocator locator = new GHNManagerServiceAddressingLocator();
GHNManagerPortType pt = GCUBERemotePortTypeContext.getProxy(locator.getGHNManagerPortTypePort(this.ghnEpr),
ServiceContext.getContext().getScope().getEnclosingScope(), ServiceContext.getContext());
pt.removeScope(this.scope.toString());
} catch (Exception e) {
this.noHopeForMe("Failed to remove GHN from scope " + scope.toString(), e);
if(isWhnManagerEnabled){
// //contact the WHNManager to add the GHN to the given scope. If not found then contact the GHNManager
String scopeString=ServiceContext.getContext().getScope().getEnclosingScope().toString();
logger.debug("contacting the WHNManager on "+this.nodename+" with scope "+scopeString+" for remove the scope: "+this.scope+" to the resource with id: "+this.id);
ScopeProvider.instance.set(scopeString);
WHNManagerProxy proxy = whnmanager().at(new URL("http://"+ this.nodename +"/whn-manager/gcube/vremanagement/ws/whnmanager")).build();
try{
proxy.removeScope(this.scope.toString());
}catch(Exception e){
this.noHopeForMe("Failed to remove WHN from scope " + scope.toString(), e);
}
isWhnManagerEnabled=false;
logger.debug("RemoveScope operation on WhnManager completed ");
}else{
try {
//endpoint.setAddress(new Address("http://"+ this.nodename +"/wsrf/services/gcube/common/vremanagement/GHNManager"));
GHNManagerServiceAddressingLocator locator = new GHNManagerServiceAddressingLocator();
GHNManagerPortType pt = GCUBERemotePortTypeContext.getProxy(locator.getGHNManagerPortTypePort(this.ghnEpr),
ServiceContext.getContext().getScope().getEnclosingScope(), ServiceContext.getContext());
pt.removeScope(this.scope.toString());
} catch (Exception e) {
this.noHopeForMe("Failed to remove GHN from scope " + scope.toString(), e);
}
}
}
/**

View File

@ -84,4 +84,8 @@ public class ResourceBinder extends ResourceManagerPortType {
}
}
// public synchronized String updateResources(AddResourcesParameters resourceList) throws ResourcesCreationFaultType, GCUBEFault {
// throw new GCUBEFault("This operation is not implemented");
// }
}

View File

@ -5,6 +5,7 @@ package org.gcube.vremanagement.resourcemanager.impl.resources;
import static org.junit.Assert.*;
import org.gcube.common.core.scope.GCUBEScope;
import org.junit.AfterClass;
import org.junit.BeforeClass;
import org.junit.Test;
@ -15,6 +16,9 @@ import org.junit.Test;
*/
public class ScopedGHNTest {
private static final String ghnId="bb6e2d69-4d49-42ef-9985-fae2cba85753";
private static final String scope="/gcube";
/**
* @throws java.lang.Exception
*/
@ -34,7 +38,20 @@ public class ScopedGHNTest {
*/
@Test
public final void testFind() {
fail("Not yet implemented");
}
@Test
public void checkGhnType(){
ScopedGHN ghnObj=new ScopedGHN(ghnId, GCUBEScope.getScope(scope));
ghnObj.id=ghnId;
try {
assertTrue(ghnObj.checkGhnType(ghnId, GCUBEScope.getScope(scope)));
} catch (Exception e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
}
/**

View File

@ -1,41 +1,14 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="src" output="target/classes" path="src/main/java">
<attributes>
<attribute name="optional" value="true"/>
<attribute name="maven.pomderived" value="true"/>
</attributes>
</classpathentry>
<classpathentry excluding="**" kind="src" output="target/classes" path="src/main/resources">
<attributes>
<attribute name="maven.pomderived" value="true"/>
</attributes>
</classpathentry>
<classpathentry kind="src" output="target/test-classes" path="src/test/java">
<attributes>
<attribute name="optional" value="true"/>
<attribute name="maven.pomderived" value="true"/>
</attributes>
</classpathentry>
<classpathentry excluding="**" kind="src" output="target/test-classes" path="src/test/resources">
<attributes>
<attribute name="maven.pomderived" value="true"/>
</attributes>
</classpathentry>
<classpathentry kind="src" output="target/classes" path="src/main/java"/>
<classpathentry excluding="**" kind="src" output="target/classes" path="src/main/resources"/>
<classpathentry kind="src" output="target/test-classes" path="src/test/java"/>
<classpathentry excluding="**" kind="src" output="target/test-classes" path="src/test/resources"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.6"/>
<classpathentry kind="con" path="org.eclipse.m2e.MAVEN2_CLASSPATH_CONTAINER"/>
<classpathentry kind="src" output="target/classes" path="target/generated-sources/stubs">
<attributes>
<attribute name="optional" value="true"/>
<attribute name="maven.pomderived" value="true"/>
</attributes>
</classpathentry>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.6">
<attributes>
<attribute name="maven.pomderived" value="true"/>
</attributes>
</classpathentry>
<classpathentry kind="con" path="org.eclipse.m2e.MAVEN2_CLASSPATH_CONTAINER">
<attributes>
<attribute name="maven.pomderived" value="true"/>
</attributes>
</classpathentry>
<classpathentry kind="output" path="target/classes"/>

View File

@ -7,7 +7,7 @@
<parent>
<groupId>org.gcube.resourcemanagement</groupId>
<artifactId>resource-manager</artifactId>
<version>2.0.2-SNAPSHOT</version>
<version>2.0.3-SNAPSHOT</version>
</parent>
<artifactId>resource-manager-stubs</artifactId>
<name>Resource Manager Stubs</name>

View File

@ -1,36 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="src" output="target/classes" path="src/main/java">
<attributes>
<attribute name="optional" value="true"/>
<attribute name="maven.pomderived" value="true"/>
</attributes>
</classpathentry>
<classpathentry excluding="**" kind="src" output="target/classes" path="src/main/resources">
<attributes>
<attribute name="maven.pomderived" value="true"/>
</attributes>
</classpathentry>
<classpathentry kind="src" output="target/test-classes" path="src/test/java">
<attributes>
<attribute name="optional" value="true"/>
<attribute name="maven.pomderived" value="true"/>
</attributes>
</classpathentry>
<classpathentry excluding="**" kind="src" output="target/test-classes" path="src/test/resources">
<attributes>
<attribute name="maven.pomderived" value="true"/>
</attributes>
</classpathentry>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.6">
<attributes>
<attribute name="maven.pomderived" value="true"/>
</attributes>
</classpathentry>
<classpathentry kind="con" path="org.eclipse.m2e.MAVEN2_CLASSPATH_CONTAINER">
<attributes>
<attribute name="maven.pomderived" value="true"/>
</attributes>
</classpathentry>
<classpathentry kind="src" output="target/classes" path="src/main/java"/>
<classpathentry excluding="**" kind="src" output="target/classes" path="src/main/resources"/>
<classpathentry kind="src" output="target/test-classes" path="src/test/java"/>
<classpathentry excluding="**" kind="src" output="target/test-classes" path="src/test/resources"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.6"/>
<classpathentry kind="con" path="org.eclipse.m2e.MAVEN2_CLASSPATH_CONTAINER"/>
<classpathentry kind="output" path="target/classes"/>
</classpath>

View File

@ -7,7 +7,7 @@
<parent>
<groupId>org.gcube.resourcemanagement</groupId>
<artifactId>resource-manager</artifactId>
<version>2.0.2-SNAPSHOT</version>
<version>2.0.3-SNAPSHOT</version>
</parent>
<artifactId>resource-manager-test-suite</artifactId>

View File

@ -0,0 +1,75 @@
<?xml version="1.0" encoding="UTF-8"?>
<definitions name="GCUBEFaults"
targetNamespace="http://gcube-system.org/namespaces/common/core/faults"
xmlns:tns="http://gcube-system.org/namespaces/common/core/faults"
xmlns="http://schemas.xmlsoap.org/wsdl/"
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<!--============================================================
T Y P E S
============================================================-->
<types>
<xsd:schema
targetNamespace="http://gcube-system.org/namespaces/common/core/faults"
xmlns:tns="http://gcube-system.org/namespaces/common/core/faults"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:wsbf="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-BaseFaults-1.2-draft-01.xsd">
<xsd:import namespace="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-BaseFaults-1.2-draft-01.xsd" schemaLocation="../../../../wsrf/faults/WS-BaseFaults.xsd"/>
<xsd:element name="GCUBEFault" type="tns:GCUBEFault"/>
<xsd:element name="GCUBEUnrecoverableFault" type="tns:GCUBEUnrecoverableFault"/>
<xsd:element name="GCUBERetrySameFault" type="tns:GCUBERetrySameFault"/>
<xsd:element name="GCUBERetryEquivalentFault" type="tns:GCUBERetryEquivalentFault"/>
<xsd:complexType name="GCUBEFault">
<xsd:complexContent>
<xsd:extension base="wsbf:BaseFaultType">
<xsd:sequence>
<xsd:element name="FaultMessage" type="xsd:string"/>
<xsd:element name="FaultType" type="xsd:string"/>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:complexType name="GCUBEUnrecoverableFault">
<xsd:complexContent>
<xsd:extension base="tns:GCUBEFault"/>
</xsd:complexContent>
</xsd:complexType>
<xsd:complexType name="GCUBERetrySameFault">
<xsd:complexContent>
<xsd:extension base="tns:GCUBEFault"/>
</xsd:complexContent>
</xsd:complexType>
<xsd:complexType name="GCUBERetryEquivalentFault">
<xsd:complexContent>
<xsd:extension base="tns:GCUBEFault"/>
</xsd:complexContent>
</xsd:complexType>
</xsd:schema>
</types>
<message name="GCUBEFaultMessage">
<part name="fault" element="tns:GCUBEFault"/>
</message>
<message name="GCUBEUnrecoverableFaultMessage">
<part name="fault" element="tns:GCUBEUnrecoverableFault"/>
</message>
<message name="GCUBERetrySameFaultMessage">
<part name="fault" element="tns:GCUBERetrySameFault"/>
</message>
<message name="GCUBERetryEquivalentFaultMessage">
<part name="fault" element="tns:GCUBERetryEquivalentFault"/>
</message>
</definitions>

View File

@ -0,0 +1,67 @@
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
elementFormDefault="qualified" attributeFormDefault="unqualified">
<xs:annotation>
<xs:documentation xml:lang="en">
XML Schema for GCUBE Datatypes Version 1.2 Last modified: 29/02/2008 Contact: http://www.gcube-system.org
</xs:documentation>
</xs:annotation>
<xs:element name="Resource" type="ResourceType" />
<xs:complexType name="ResourceType">
<xs:sequence>
<xs:element name="ID" type="xs:string"/>
<xs:element name="Type" type="xs:string"/>
<xs:element name="Scopes" minOccurs="0">
<xs:complexType>
<xs:sequence>
<xs:element name="Scope" type="xs:string" minOccurs="1" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="Profile" type="ProfileType"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="ProfileType">
<xs:sequence>
<xs:any namespace="##any" processContents="strict" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="BooleanValueType">
<xs:attribute name="value" type="xs:boolean" use="required"/>
</xs:complexType>
<xs:complexType name="FreeXMLType">
<xs:sequence>
<xs:any processContents="skip" maxOccurs="unbounded" minOccurs="0" />
</xs:sequence>
</xs:complexType>
<xs:complexType name="FileListType">
<xs:sequence>
<xs:element name="File" type="xs:string" minOccurs="1" maxOccurs="unbounded" />
</xs:sequence>
</xs:complexType>
<xs:complexType name="FreeTextType" mixed="true">
<xs:complexContent mixed="true">
<xs:restriction base="xs:anyType">
<xs:sequence>
<xs:any processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
</xs:restriction>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="identity">
<xs:sequence>
<xs:element name="subject" type="xs:string"/>
<xs:element name="CASubject" type="xs:string"/>
</xs:sequence>
</xs:complexType>
</xs:schema>

View File

@ -0,0 +1,14 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified">
<xs:annotation>
<xs:documentation xml:lang="en">
XML Schema for GCUBE Base resource Version 1.2 Last modified: 13/02/2008 Contact: http://www.gcube-system.org
</xs:documentation>
</xs:annotation>
<xs:redefine schemaLocation="CommonTypeDefinitions.xsd">
<xs:complexType name="ProfileType">
</xs:complexType>
</xs:redefine>
</xs:schema>

View File

@ -0,0 +1,83 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified">
<xs:annotation>
<xs:documentation xml:lang="en">
XML Schema for GCUBE Content Collection Version 1.2 Last modified: 13/02/2008 Contact: http://www.gcube-system.org
</xs:documentation>
</xs:annotation>
<xs:redefine schemaLocation="CommonTypeDefinitions.xsd">
<xs:complexType name="ProfileType">
<xs:complexContent>
<xs:restriction base="ProfileType">
<xs:sequence>
<xs:element name="Description" type="xs:string" minOccurs="0"/>
<xs:element name="Name" type="xs:string"/>
<xs:element name="IsVirtual" type="BooleanValueType">
<xs:annotation>
<xs:documentation xml:lang="en">
A virtual collection is a collection with a membership condition that identifies its members at run time
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="IsUserCollection" type="BooleanValueType">
<xs:annotation>
<xs:documentation xml:lang="en">
Non user collections include GCUBE internal data (e.g. service states, persistent indexes, etc.). They are not displayed in the end-user Portals as for search purposes
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="CreationTime" type="xs:dateTime"/>
<xs:element name="Creator" type="xs:string" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="en">
Distinguished Name of the creator, if the Collection has been created in a secure context (otherwise, it is, of course, impossible to detect)
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="NumberOfMembers" type="xs:nonNegativeInteger"/>
<xs:element name="LastUpdateTime" type="xs:dateTime">
<xs:annotation>
<xs:documentation xml:lang="en">
At creation time, it's the same as for the CreationTime
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="PreviousUpdateTime" type="xs:dateTime" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="en">
When a Collection is updated, the LastUpdateTime is shifted here
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="LastModifier" type="xs:string" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="en">
Distinguished Name of the last identity that have modified the Collection, if the Collection has been created in a secure context (otherwise, it is, of course, impossible to detect)
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element ref="IsMemberOf"/>
<xs:element ref="SchemaURIs" minOccurs="0"/>
</xs:sequence>
</xs:restriction>
</xs:complexContent>
</xs:complexType>
</xs:redefine>
<xs:element name="IsMemberOf">
<xs:complexType>
<xs:sequence>
<xs:element name="ID" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="SchemaURIs">
<xs:complexType>
<xs:sequence>
<xs:element name="URI" type="xs:anyURI" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:schema>

View File

@ -0,0 +1,38 @@
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:default="http://schemas.xmlsoap.org/wsdl/" xmlns:default1="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" elementFormDefault="qualified">
<xs:annotation>
<xs:documentation xml:lang="en">
XML Schema for gCube CSs Version 1.2 Last modified: 13/02/2008 Contact: http://www.gcube-system.org
</xs:documentation>
</xs:annotation>
<xs:redefine schemaLocation="CommonTypeDefinitions.xsd">
<xs:complexType name="ProfileType">
<xs:complexContent>
<xs:restriction base="ProfileType">
<xs:sequence>
<xs:element name="Base64" type="xs:boolean" minOccurs="0"/>
<xs:element name="Description" type="xs:string" minOccurs="0"/>
<xs:element name="WSDL" type="FreeTextType"/>
<xs:element ref="BPEL"/>
<xs:element ref="Osiris"/>
<xs:element name="Creator" type="xs:string" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="en">
Distinguished Name of the creator, if the CS has been registered in a secure context (otherwise, it is, of course, impossible to detect)
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="CreationTime" type="xs:dateTime"/>
<xs:element name="ProcessName" type="xs:string" minOccurs="0"/>
</xs:sequence>
</xs:restriction>
</xs:complexContent>
</xs:complexType>
</xs:redefine>
<xs:element name="BPEL" type="FreeTextType"/>
<xs:element name="Osiris" type="FreeTextType"/>
</xs:schema>

View File

@ -0,0 +1,41 @@
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified">
<xs:annotation>
<xs:documentation xml:lang="en">
XML Schema for gCube CS Instances Version 1.2 Last modified: 13/02/2008 Contact: http://www.gcube-system.org
</xs:documentation>
</xs:annotation>
<xs:redefine schemaLocation="CommonTypeDefinitions.xsd">
<xs:complexType name="ProfileType">
<xs:complexContent>
<xs:restriction base="ProfileType">
<xs:sequence>
<xs:element name="Description" type="xs:string" minOccurs="0"/>
<xs:element ref="CS"/>
<xs:element name="Owner" type="xs:string">
<xs:annotation>
<xs:documentation xml:lang="en">
Distinguished Name of the creator, if the CS has been executed in a secure context (otherwise, it is, of course, impossible to detect)
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="RegistrationTime" type="xs:dateTime" minOccurs="0"/>
<xs:element name="StartupTime" type="xs:dateTime"/>
<xs:element name="EndTime" type="xs:dateTime" minOccurs="0"/>
<xs:element name="Status" type="xs:string"/>
<xs:element name="MessageStatus" type="xs:string" minOccurs="0"/>
</xs:sequence>
</xs:restriction>
</xs:complexContent>
</xs:complexType>
</xs:redefine>
<xs:element name="CS">
<xs:complexType>
<xs:attribute name="UniqueID" type="xs:string" use="required"/>
</xs:complexType>
</xs:element>
</xs:schema>

View File

@ -0,0 +1,62 @@
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" elementFormDefault="qualified">
<xs:annotation>
<xs:documentation xml:lang="en">
XML Schema for GCUBE External Running Instances Version 1.2 Last modified: 13/02/2008 Contact: http://www.gcube-system.org
</xs:documentation>
</xs:annotation>
<xs:redefine schemaLocation="CommonTypeDefinitions.xsd">
<xs:complexType name="ProfileType">
<xs:complexContent>
<xs:restriction base="ProfileType">
<xs:sequence>
<xs:element name="Description" type="xs:string" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="en">
insert here a human readable description about the functionalities provided by the RI
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element ref="AccessPoint"/>
<xs:element ref="SpecificData" minOccurs="0"/>
</xs:sequence>
</xs:restriction>
</xs:complexContent>
</xs:complexType>
</xs:redefine>
<xs:complexType name="DateType">
<xs:attribute name="value" type="xs:dateTime" use="required"/>
</xs:complexType>
<xs:complexType name="SerializedType"/>
<!-- to be defined -->
<xs:element name="AccessPoint">
<xs:complexType>
<xs:sequence>
<xs:element ref="RunningInstanceInterfaces" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="RunningInstanceInterfaces">
<xs:complexType>
<xs:sequence>
<xs:element name="Endpoint" type="xs:anyURI"/>
<xs:element name="WSDL" type="FreeTextType"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="SpecificData" type="FreeTextType">
<xs:annotation>
<xs:documentation xml:lang="en">
insert here any other property you think is useful to describe a RI-specific feature
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:schema>

View File

@ -0,0 +1,23 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified">
<xs:annotation>
<xs:documentation xml:lang="en">
XML Schema for GCUBE Generic Resource Version 1.2 Last modified: 13/02/2008 Contact: http://www.gcube-system.org
</xs:documentation>
</xs:annotation>
<xs:redefine schemaLocation="CommonTypeDefinitions.xsd">
<xs:complexType name="ProfileType">
<xs:complexContent>
<xs:restriction base="ProfileType">
<xs:sequence>
<xs:element name="Name" type="xs:string"/>
<xs:element name="Description" type="xs:string" minOccurs="0"/>
<xs:element name="Body" type="FreeTextType"/>
</xs:sequence>
</xs:restriction>
</xs:complexContent>
</xs:complexType>
</xs:redefine>
</xs:schema>

View File

@ -0,0 +1,96 @@
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:annotation>
<xs:documentation xml:lang="en">
XML Schema for GCUBE Metadata Collection Version 1.4 Last modified: 13/02/2008 Contact: http://www.gcube-system.org
</xs:documentation>
</xs:annotation>
<xs:redefine schemaLocation="CommonTypeDefinitions.xsd">
<xs:complexType name="ProfileType">
<xs:complexContent>
<xs:restriction base="ProfileType">
<xs:sequence>
<xs:element name="Description" type="xs:string" minOccurs="0"/>
<xs:element name="Name" type="xs:string"/>
<xs:element name="IsUserCollection" type="BooleanValueType"/>
<xs:element name="IsIndexable" type="BooleanValueType"/>
<xs:element name="IsEditable" type="BooleanValueType" minOccurs="0"/>
<xs:element name="CreationTime" type="xs:dateTime"/>
<xs:element name="Creator" type="xs:string" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="en">
Distinguished Name of the creator, if the Collection has been created in a secure context (otherwise, it is, of course, impossible to detect)
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="NumberOfMembers" type="xs:nonNegativeInteger"/>
<xs:element name="LastUpdateTime" type="xs:dateTime">
<xs:annotation>
<xs:documentation xml:lang="en">
At creation time, it's the same as for the CreationTime
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="PreviousUpdateTime" type="xs:dateTime" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="en">
Each time the Metadata Collection is updated, the LastUpdateTime is shifted here
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="LastModifier" type="xs:string" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="en">
Distinguished Name of the last identity that have modified the Metadata Collection, if it has been created in a secure context (otherwise, it is, of course, impossible to detect)
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="OID" type="xs:string"/>
<xs:element ref="RelatedCollection"/>
<xs:element ref="MetadataFormat"/>
<xs:element ref="GeneratedBy" minOccurs="0"/>
</xs:sequence>
</xs:restriction>
</xs:complexContent>
</xs:complexType>
</xs:redefine>
<xs:element name="SecondaryRole">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:pattern value="is-\w+-by"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="RelatedCollection">
<xs:complexType>
<xs:sequence>
<xs:element name="CollectionID" type="xs:string"/>
<xs:element ref="SecondaryRole"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="MetadataFormat">
<xs:complexType>
<xs:sequence>
<xs:element name="SchemaURI" type="xs:anyURI"/>
<xs:element name="Language" type="xs:string"/>
<xs:element name="Name" type="xs:string"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="GeneratedBy">
<xs:complexType>
<xs:sequence>
<xs:element name="CollectionID" type="xs:string"/>
<xs:element name="SourceSchemaURI" type="xs:anyURI"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:schema>

View File

@ -0,0 +1,236 @@
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:annotation>
<xs:documentation xml:lang="en">
XML Schema for gCube Services Version 1.2 Last modified:19/02/2008 Contact: http://www.gcube-system.org
</xs:documentation>
</xs:annotation>
<xs:redefine schemaLocation="CommonTypeDefinitions.xsd">
<xs:complexType name="ProfileType">
<xs:complexContent>
<xs:restriction base="ProfileType">
<xs:sequence>
<xs:element name="Infrastructure" type="xs:string"/>
<xs:element ref="GHNDescription"/>
<xs:element ref="Site"/>
<xs:element name="DeployedPackages" minOccurs="0">
<xs:complexType>
<xs:sequence>
<xs:element ref="Package" minOccurs="1" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:restriction>
</xs:complexContent>
</xs:complexType>
</xs:redefine>
<xs:element name="GHNDescription">
<xs:complexType>
<xs:sequence>
<xs:element name="Name" type="xs:string"/>
<xs:element name="Status" type="xs:string" minOccurs="0"/>
<xs:element ref="Type"/>
<xs:element name="SecurityEnabled" type="BooleanValueType"/>
<!--<xs:element name="ManagementURL" type="xs:string" minOccurs="0"/>-->
<xs:element name="CredentialsExpireOn" type="xs:dateTime" minOccurs="0"/>
<xs:element ref="Architecture"/>
<xs:element ref="OperatingSystem"/>
<xs:element ref="Processor" minOccurs="0" maxOccurs="unbounded"/>
<xs:element ref="NetworkAdapter" minOccurs="0" maxOccurs="unbounded"/>
<xs:element ref="Benchmark" minOccurs="0"/>
<xs:element ref="RunTimeEnv"/>
<xs:element ref="StorageDevice" minOccurs="0" maxOccurs="unbounded"/>
<xs:element ref="StoragePartition" minOccurs="0" maxOccurs="unbounded"/>
<xs:element ref="LocalFileSystem" minOccurs="0" maxOccurs="unbounded"/>
<xs:element ref="RemoteFileSystem" minOccurs="0" maxOccurs="unbounded"/>
<xs:element ref="StorageDevice2StoragePartition" minOccurs="0" maxOccurs="unbounded"/>
<xs:element ref="StoragePartition2FileSystem" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="Uptime" type="xs:string"/>
<xs:element ref="Load" minOccurs="0"/>
<xs:element ref="HistoricalLoad" minOccurs="0"/>
<xs:element ref="MainMemory"/>
<xs:element name="LocalAvailableSpace" type="xs:integer" minOccurs="0"/>
<xs:element name="LastUpdate" type="xs:dateTime"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="Type">
<xs:annotation>
<xs:documentation xml:lang="en">
Dynamic: the GHN supports dynamic deployment of new packages
Static: the GHN does not support dynamic deployment of new packages
SelfClening: the GHN supports dynamic deployment of new packages, but only for a short limited period
</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:enumeration value="Dynamic"/>
<xs:enumeration value="Static"/>
<xs:enumeration value="SelfCleaning"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="Architecture">
<xs:complexType>
<xs:attribute name="PlatformType" type="xs:string" use="required"/>
<xs:attribute name="SMPSize" type="xs:integer" use="required"/>
<xs:attribute name="SMTSize" type="xs:integer" use="required"/>
</xs:complexType>
</xs:element>
<xs:element name="Benchmark">
<xs:complexType>
<xs:attribute name="SI00" type="xs:integer" use="required"/>
<xs:attribute name="SF00" type="xs:integer" use="required"/>
</xs:complexType>
</xs:element>
<xs:element name="Load">
<xs:complexType>
<xs:attribute name="Last1Min" type="xs:double" use="optional"/>
<xs:attribute name="Last5Min" type="xs:double" use="optional"/>
<xs:attribute name="Last15Min" type="xs:double" use="optional"/>
</xs:complexType>
</xs:element>
<xs:element name="HistoricalLoad">
<xs:complexType>
<xs:attribute name="Last1H" type="xs:double" use="optional"/>
<xs:attribute name="Last1Day" type="xs:double" use="optional"/>
<xs:attribute name="Last1Week" type="xs:double" use="optional"/>
</xs:complexType>
</xs:element>
<xs:element name="MainMemory">
<xs:complexType>
<xs:attribute name="RAMSize" type="xs:integer"/>
<xs:attribute name="VirtualSize" type="xs:integer"/>
<xs:attribute name="RAMAvailable" type="xs:integer"/>
<xs:attribute name="VirtualAvailable" type="xs:integer"/>
</xs:complexType>
</xs:element>
<xs:element name="NetworkAdapter">
<xs:complexType>
<xs:attribute name="InboundIP" type="xs:string" use="required"/>
<xs:attribute name="OutboundIP" type="xs:string" use="required"/>
<xs:attribute name="Name" type="xs:string" use="required"/>
<xs:attribute name="IPAddress" type="xs:string" use="required"/>
<xs:attribute name="MTU" type="xs:integer" use="required"/>
</xs:complexType>
</xs:element>
<xs:element name="OperatingSystem">
<xs:complexType>
<xs:attribute name="Name" type="xs:string" use="required"/>
<xs:attribute name="Release" type="xs:string" use="required"/>
<xs:attribute name="Version" type="xs:string" use="required"/>
</xs:complexType>
</xs:element>
<xs:element name="Processor">
<xs:complexType>
<xs:attribute name="Vendor" type="xs:string" use="required"/>
<xs:attribute name="Model" type="xs:string" use="required"/>
<xs:attribute name="ModelName" type="xs:string" use="required"/>
<xs:attribute name="Family" type="xs:string" use="required"/>
<xs:attribute name="ClockSpeedMhz" type="xs:decimal" use="required"/>
<xs:attribute name="Bogomips" type="xs:decimal" use="required"/>
<xs:attribute name="CacheL1" type="xs:integer" use="required"/>
<xs:attribute name="CacheL1I" type="xs:integer" use="required"/>
<xs:attribute name="CacheL1D" type="xs:integer" use="required"/>
<xs:attribute name="CacheL2" type="xs:integer" use="required"/>
</xs:complexType>
</xs:element>
<xs:element name="RunTimeEnv">
<xs:complexType>
<xs:sequence>
<xs:element name="Variable" maxOccurs="unbounded">
<xs:complexType>
<xs:sequence>
<xs:element name="Key" type="xs:string" minOccurs="1" maxOccurs="1"/>
<xs:element name="Value" type="xs:string" minOccurs="1" maxOccurs="1"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="Site">
<xs:complexType>
<xs:sequence>
<xs:element name="Location" type="xs:string"/>
<xs:element name="Country">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:length value="2"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="Latitude" type="xs:string"/>
<xs:element name="Longitude" type="xs:string"/>
<xs:element name="Domain" type="xs:string"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="StorageDevice">
<xs:complexType>
<xs:attribute name="Name" type="xs:string" use="required"/>
<xs:attribute name="Type" type="xs:string" use="required"/>
<xs:attribute name="TransferRate" type="xs:integer" use="required"/>
<xs:attribute name="Size" type="xs:integer" use="required"/>
</xs:complexType>
</xs:element>
<xs:element name="StorageDevice2StoragePartition">
<xs:complexType>
<xs:attribute name="StorageDeviceName" type="xs:string" use="required"/>
<xs:attribute name="StoragePartitionName" type="xs:string" use="required"/>
</xs:complexType>
</xs:element>
<xs:element name="StoragePartition">
<xs:complexType>
<xs:attribute name="Name" type="xs:string" use="required"/>
<xs:attribute name="Size" type="xs:string" use="required"/>
<xs:attribute name="ReadRate" type="xs:integer" use="required"/>
<xs:attribute name="WriteRate" type="xs:integer" use="required"/>
</xs:complexType>
</xs:element>
<xs:element name="StoragePartition2FileSystem">
<xs:complexType>
<xs:attribute name="StoragePartitionName" type="xs:string" use="required"/>
<xs:attribute name="FileSystemName" type="xs:string" use="required"/>
</xs:complexType>
</xs:element>
<xs:element name="RemoteFileSystem" type="FileSystemType" />
<xs:element name="LocalFileSystem" type="FileSystemType" />
<xs:complexType name="FileSystemType">
<xs:attribute name="Name" type="xs:string" use="required"/>
<xs:attribute name="Root" type="xs:string" use="required"/>
<xs:attribute name="Size" type="xs:integer" use="required"/>
<xs:attribute name="ReadOnly" type="xs:boolean" use="required"/>
<xs:attribute name="Type" type="xs:string" use="required"/>
</xs:complexType>
<xs:element name="Package">
<xs:complexType>
<xs:sequence>
<xs:element name="PackageName" type="xs:string"/>
<xs:element name="PackageVersion" type="xs:string"/>
<xs:element name="ServiceName" type="xs:string"/>
<xs:element name="ServiceClass" type="xs:string"/>
<xs:element name="ServiceVersion" type="xs:string"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:schema>

View File

@ -0,0 +1,194 @@
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified">
<xs:annotation>
<xs:documentation xml:lang="en">
XML Schema for GCUBE Running Instances Version 1.2 Last modified: 29/04/2010 Contact: http://www.gcube-system.org
</xs:documentation>
</xs:annotation>
<!-- RUNNING INSTANCE -->
<xs:redefine schemaLocation="CommonTypeDefinitions.xsd">
<xs:complexType name="ProfileType">
<xs:complexContent>
<xs:restriction base="ProfileType">
<xs:sequence>
<xs:element name="Description" type="xs:string" minOccurs="0"/>
<xs:element name="Version" type="xs:string"/>
<xs:element ref="GHN"/>
<xs:element ref="Service"/>
<xs:element name="ServiceName" type="xs:string"/>
<xs:element name="ServiceClass" type="xs:string"/>
<xs:element ref="RunningInstanceSecurity" minOccurs="0"/>
<xs:element ref="DeploymentData"/>
<xs:element name="RIEquivalenceFunctions" type="RIFunctionType" minOccurs="0"/>
<xs:element ref="AccessPoint"/>
<xs:element ref="SpecificData" minOccurs="0"/>
<xs:element ref="Accounting" minOccurs="0"/>
</xs:sequence>
</xs:restriction>
</xs:complexContent>
</xs:complexType>
</xs:redefine>
<xs:complexType name="RunningInstanceSecurityType">
<xs:sequence>
<xs:element name="RunningInstanceIdentity" type="identity" minOccurs="0"/>
</xs:sequence>
<xs:attribute name="EntryName" type="xs:string" use="required"/>
</xs:complexType>
<xs:complexType name="DateType">
<xs:attribute name="value" type="xs:dateTime" use="required"/>
</xs:complexType>
<xs:complexType name="RIFunctionType">
<xs:sequence>
<xs:element name="Function" minOccurs="0" maxOccurs="unbounded">
<xs:complexType>
<xs:sequence>
<xs:element name="Name" type="xs:string"/>
<xs:element name="ActualParameters">
<xs:complexType>
<xs:sequence>
<xs:element name="Param" minOccurs="0" maxOccurs="unbounded">
<xs:complexType>
<xs:sequence>
<xs:element name="Name" type="xs:string"/>
<xs:element name="Value" type="xs:string" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
<xs:element name="RunningInstanceSecurity">
<xs:complexType>
<xs:sequence>
<xs:element name="RunningInstanceInterface" type="RunningInstanceSecurityType" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="AccessPoint">
<xs:complexType>
<xs:sequence>
<xs:element ref="RunningInstanceInterfaces"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="GHN">
<xs:complexType>
<xs:attribute name="UniqueID" type="xs:string" use="required"/>
</xs:complexType>
</xs:element>
<xs:element name="DeploymentData">
<xs:complexType>
<xs:sequence>
<xs:element name="ActivationTime" type="DateType"/>
<xs:element name="TerminationTime" type="DateType" minOccurs="0"/>
<xs:element name="Status" type="xs:string" minOccurs="0"/>
<xs:element name="MessageState" type="xs:string" minOccurs="0"/>
<xs:element name="AvailablePlugins" minOccurs="0">
<xs:complexType>
<xs:sequence>
<xs:element ref="Plugin" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="RunningInstanceInterfaces">
<xs:complexType>
<xs:sequence>
<xs:element ref="Endpoint" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="Endpoint">
<xs:complexType>
<xs:simpleContent>
<xs:extension base="xs:anyURI">
<xs:attribute name="EntryName" type="xs:string" use="required"/>
</xs:extension>
</xs:simpleContent>
</xs:complexType>
</xs:element>
<xs:element name="FactoryURI" type="xs:anyURI"/>
<xs:element name="Service">
<xs:complexType>
<xs:attribute name="UniqueID" type="xs:string" use="required"/>
</xs:complexType>
</xs:element>
<xs:element name="Plugin">
<xs:complexType>
<xs:sequence>
<xs:element name="Service">
<xs:complexType>
<xs:sequence>
<xs:element name="Class" type="xs:string"/>
<xs:element name="Name" type="xs:string"/>
<xs:element name="Version" type="xs:string"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="Package" type="xs:string" minOccurs="1" maxOccurs="1"/>
<xs:element name="Version" type="xs:string" minOccurs="1" maxOccurs="1"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="Accounting">
<xs:complexType>
<xs:sequence>
<xs:element ref="ScopedAccounting" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="ScopedAccounting">
<xs:complexType>
<xs:sequence>
<xs:element name="TotalINCalls" type="xs:string" minOccurs="1" maxOccurs="1"/>
<xs:element name="AverageINCalls" type="AverageType" minOccurs="1" maxOccurs="unbounded"/>
<xs:element name="AverageInvocationTime" type="AverageType" minOccurs="1" maxOccurs="unbounded"/>
<xs:element name="TopCallerGHN" type="TopCallerGHNType" minOccurs="1" maxOccurs="1"/>
</xs:sequence>
<xs:attribute name="scope" type="xs:string" use="required"/>
</xs:complexType>
</xs:element>
<xs:complexType name="TopCallerGHNType">
<xs:sequence>
<xs:element name="GHNName" type="xs:string" minOccurs="1" maxOccurs="1"/>
</xs:sequence>
<xs:attribute name="avgHourlyCalls" type="xs:long" use="required"/>
<xs:attribute name="avgDailyCalls" type="xs:long" use="required"/>
<xs:attribute name="totalCalls" type="xs:long" use="required"/>
</xs:complexType>
<xs:complexType name="AverageType">
<xs:attribute name="interval" type="xs:long" use="required"/>
<xs:attribute name="average" type="xs:double" use="required"/>
</xs:complexType>
<xs:element name="SpecificData" type="FreeXMLType">
<xs:annotation>
<xs:documentation xml:lang="en">
insert here any other property you think is useful to describe a RI-specific feature
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:schema>

View File

@ -0,0 +1,344 @@
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:annotation>
<xs:documentation xml:lang="en">
XML Schema for gCube Services Version 0.5.0 Last modified:29/05/2009 Contact: http://www.gcube-system.org
</xs:documentation>
</xs:annotation>
<!-- SERVICE -->
<xs:redefine schemaLocation="CommonTypeDefinitions.xsd">
<xs:complexType name="ProfileType">
<xs:complexContent>
<xs:restriction base="ProfileType">
<xs:sequence>
<xs:element name="Description" type="xs:string" minOccurs="0"/>
<xs:element ref="Class"/>
<xs:element ref="Name"/>
<xs:element ref="Version"/>
<xs:element ref="Configuration" minOccurs="0"/>
<xs:element name="Dependencies" minOccurs="0">
<xs:complexType>
<xs:sequence>
<xs:element name="Dependency" maxOccurs="unbounded">
<xs:complexType>
<xs:sequence>
<xs:element ref="Class"/>
<xs:element ref="Name"/>
<xs:element ref="Version"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="Packages">
<xs:complexType>
<xs:choice>
<xs:sequence>
<xs:element ref="Main"/>
<xs:element ref="Software" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
<xs:element ref="Software" maxOccurs="unbounded"/>
<xs:sequence>
<xs:element ref="Plugin"/>
<xs:element ref="Software" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
</xs:choice>
</xs:complexType>
</xs:element>
<xs:element name="SpecificData" type="FreeTextType" minOccurs="0"/>
</xs:sequence>
</xs:restriction>
</xs:complexContent>
</xs:complexType>
</xs:redefine>
<xs:element name="Class" type="xs:string"/>
<xs:element name="Name" type="xs:string"/>
<xs:element name="Version" type="xs:string"/>
<xs:element name="Configuration">
<xs:complexType>
<xs:sequence>
<xs:element name="Static" minOccurs="0">
<xs:complexType>
<xs:sequence>
<xs:element name="Configs" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="en">
These configurations have to refer to predefined configuration files distributed with the MAIN package.
At VRE creation time, the VRE designer will choose one.
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="Config" type="ConfigurationType" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="Template" minOccurs="0">
<xs:complexType>
<xs:sequence>
<xs:element name="Params">
<xs:complexType>
<xs:sequence>
<xs:element name="Param" type="TemplateParam" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="Dynamic" minOccurs="0">
<xs:complexType/>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:complexType name="ConfigurationType">
<xs:sequence>
<xs:element name="File" type="xs:string"/>
<xs:element name="Description" type="xs:string"/>
<xs:element name="Label" type="xs:string"/>
</xs:sequence>
<xs:attribute name="default" type="xs:boolean" use="required"/>
</xs:complexType>
<xs:complexType name="TemplateParam">
<xs:sequence>
<xs:element name="Name" type="xs:string"/>
<xs:element name="Description" type="xs:string"/>
<xs:element name="AllowedValues">
<xs:complexType>
<xs:sequence>
<xs:element name="Value" maxOccurs="unbounded">
<xs:complexType>
<xs:sequence>
<xs:element name="Description" type="xs:string"/>
<xs:element name="Literal" type="xs:string"/>
<xs:element name="Label" type="xs:string"/>
</xs:sequence>
<xs:attribute name="default" type="xs:boolean" use="required"/>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
<!-- PACKAGE -->
<xs:complexType name="Package">
<xs:sequence>
<xs:element name="Description" type="xs:string" minOccurs="0"/>
<xs:element name="Name" type="xs:string"/>
<xs:element name="Version" type="xs:string"/>
<xs:element name="MultiVersion" type="BooleanValueType" minOccurs="0"/>
<xs:element name="Mandatory" minOccurs="0">
<xs:complexType>
<xs:attribute name="level" type="Scopes" use="required"/>
</xs:complexType>
</xs:element>
<xs:element name="Shareable" minOccurs="0">
<xs:complexType>
<xs:attribute name="level" type="Scopes" default="VO"/>
</xs:complexType>
</xs:element>
<xs:element name="GHNRequirements" minOccurs="0">
<xs:complexType>
<xs:sequence>
<xs:element ref="Requirement" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="InstallScripts" type="FileListType" minOccurs="0"/>
<xs:element name="UninstallScripts" type="FileListType" minOccurs="0"/>
<xs:element name="RebootScripts" type="FileListType" minOccurs="0"/>
<xs:element name="Dependencies" minOccurs="0">
<xs:complexType>
<xs:sequence>
<xs:element ref="Dependency" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="SpecificData" type="FreeTextType" minOccurs="0"/>
</xs:sequence>
<xs:attribute name="deployable" type="xs:boolean" use="optional" default="true"/>
</xs:complexType>
<xs:element name="Dependency">
<xs:complexType>
<xs:sequence>
<xs:element ref="Service"/>
<xs:element name="Package" type="xs:string"/>
<xs:element name="Version" type="xs:string" default="1.0" minOccurs="0" maxOccurs="1"/>
<xs:element name="Scope">
<xs:complexType>
<xs:attribute name="level" type="Scopes" use="optional" default="GHN"/>
</xs:complexType>
</xs:element>
<xs:element name="Optional" type="xs:boolean"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="Service">
<xs:complexType>
<xs:sequence>
<xs:element ref="Class"/>
<xs:element ref="Name"/>
<xs:element ref="Version" minOccurs="0" maxOccurs="1"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:simpleType name="Scopes">
<xs:restriction base="xs:string">
<xs:enumeration value="NONE"/>
<xs:enumeration value="GHN"/>
<xs:enumeration value="VRE"/>
<xs:enumeration value="VO"/>
</xs:restriction>
</xs:simpleType>
<xs:element name="Requirement">
<xs:annotation>
<xs:documentation xml:lang="en">
- the "category" is represented by a tag name of a GHN profile
- the "requirement" is one of the attributes defined for the selected category in the GHN profile
- the "value" is the value of the selected attribute defined for the category in the GHN profile
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:attribute name="category" type="xs:string" use="required"/>
<xs:attribute name="requirement" type="xs:string" use="required"/>
<xs:attribute name="value" type="xs:string" use="required"/>
<xs:attribute name="operator" type="OpType" use="required"/>
</xs:complexType>
</xs:element>
<xs:simpleType name="OpType">
<xs:restriction base="xs:string">
<xs:enumeration value="eq"/>
<xs:enumeration value="exist"/>
<xs:enumeration value="ge"/>
<xs:enumeration value="gt"/>
<xs:enumeration value="le"/>
<xs:enumeration value="lt"/>
<xs:enumeration value="ne"/>
</xs:restriction>
</xs:simpleType>
<xs:element name="Main">
<xs:complexType>
<xs:complexContent>
<xs:extension base="Package">
<xs:sequence>
<xs:element name="GARArchive" type="xs:string"/>
<xs:element name="ServiceEquivalenceFunctions" type="ServiceFunctionType" minOccurs="0"/>
<xs:element name="PortType" maxOccurs="unbounded">
<xs:complexType>
<xs:sequence>
<xs:element name="Name" type="xs:string"/>
<xs:element name="Security" type="SecurityType" minOccurs="0"/>
<xs:element name="WSDL" type="FreeTextType"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
</xs:element>
<xs:complexType name="ServiceFunctionType">
<xs:sequence>
<xs:element name="Function" minOccurs="0" maxOccurs="unbounded">
<xs:complexType>
<xs:sequence>
<xs:element name="Name" type="xs:string"/>
<xs:element name="FormalParameters">
<xs:complexType>
<xs:sequence minOccurs="0" maxOccurs="unbounded">
<xs:element name="Name" type="xs:string"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="Body" type="FreeTextType"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
<xs:element name="Software">
<xs:complexType>
<xs:complexContent>
<xs:extension base="Package">
<xs:sequence>
<xs:element name="Type" default="library" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:enumeration value="library"/>
<xs:enumeration value="application"/>
<xs:enumeration value="plugin"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:choice>
<xs:element name="Files" type="FileListType"/>
<xs:element name="URI" type="xs:anyURI"/>
</xs:choice>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
</xs:element>
<xs:element name="Plugin">
<xs:complexType>
<xs:complexContent>
<xs:extension base="Package">
<xs:sequence>
<xs:element name="TargetService" minOccurs="1" maxOccurs="1">
<xs:complexType>
<xs:sequence>
<xs:element ref="Service" minOccurs="1" maxOccurs="1"/>
<xs:element name="Package" type="xs:string" minOccurs="1" maxOccurs="1"/>
<xs:element name="Version" type="xs:string" minOccurs="1" maxOccurs="1"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="EntryPoint" type="xs:string" minOccurs="0"/>
<xs:element name="Files" type="FileListType"/>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
</xs:element>
<xs:complexType name="SecurityType">
<xs:sequence>
<xs:element name="Descriptor" type="FreeXMLType" minOccurs="0"/>
<xs:element name="Operations" minOccurs="0">
<xs:complexType>
<xs:sequence>
<xs:element ref="Operation" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element ref="Roles" minOccurs="0"/>
</xs:sequence>
<xs:attribute name="name" type="xs:string"/>
</xs:complexType>
<xs:element name="Roles">
<xs:complexType>
<xs:sequence>
<xs:element name="Role" maxOccurs="unbounded">
<xs:complexType>
<xs:attribute name="value" type="xs:string" use="required"/>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="Operation">
<xs:complexType>
<xs:sequence>
<xs:element ref="Roles" minOccurs="0"/>
</xs:sequence>
<xs:attribute name="id" type="xs:string" use="required"/>
<xs:attribute name="name" type="xs:string" use="required"/>
<xs:attribute name="description" type="xs:string" use="required"/>
</xs:complexType>
</xs:element>
</xs:schema>

View File

@ -0,0 +1,163 @@
<?xml version="1.0" encoding="UTF-8"?>
<definitions name="GCUBENotificationProvider"
targetNamespace="http://gcube-system.org/namespaces/common/core/porttypes/GCUBEProvider"
xmlns:tns="http://gcube-system.org/namespaces/common/core/porttypes/GCUBEProvider"
xmlns="http://schemas.xmlsoap.org/wsdl/"
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/03/addressing"
xmlns:wsrpw="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceProperties-1.2-draft-01.wsdl"
xmlns:wsrp="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceProperties-1.2-draft-01.xsd"
xmlns:wsrlw="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceLifetime-1.2-draft-01.wsdl"
xmlns:wsrl="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceLifetime-1.2-draft-01.xsd"
xmlns:wsdlpp="http://www.globus.org/namespaces/2004/10/WSDLPreprocessor"
xmlns:wsntw="http://docs.oasis-open.org/wsn/2004/06/wsn-WS-BaseNotification-1.2-draft-01.wsdl"
xmlns:wsnt="http://docs.oasis-open.org/wsn/2004/06/wsn-WS-BaseNotification-1.2-draft-01.xsd"
xmlns:corefaults="http://gcube-system.org/namespaces/common/core/faults"
elementFormDefault="qualified" attributeFormDefault="unqualified">
<import namespace= "http://gcube-system.org/namespaces/common/core/porttypes/GCUBEProvider" location="GCUBEProvider.wsdl"/>
<wsdl:import namespace="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceProperties-1.2-draft-01.wsdl" location="../../../../wsrf/properties/WS-ResourceProperties.wsdl" />
<wsdl:import namespace="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceLifetime-1.2-draft-01.wsdl" location="../../../../wsrf/lifetime/WS-ResourceLifetime.wsdl" />
<wsdl:import namespace="http://gcube-system.org/namespaces/common/core/faults" location="../faults/GCUBEFaults.wsdl"/>
<import namespace= "http://docs.oasis-open.org/wsn/2004/06/wsn-WS-BaseNotification-1.2-draft-01.wsdl" location="../../../../wsrf/notification/WS-BaseN.wsdl"/>
<!--============================================================
T Y P E S
============================================================-->
<types>
<xsd:schema targetNamespace="http://gcube-system.org/namespaces/common/core/porttypes/GCUBEProvider"
xmlns:tns="http://gcube-system.org/namespaces/common/core/porttypes/GCUBEProvider"
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<xsd:import namespace="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceLifetime-1.2-draft-01.xsd" schemaLocation="../../../../wsrf/lifetime/WS-ResourceLifetime.xsd" />
<xsd:import namespace= "http://docs.oasis-open.org/wsn/2004/06/wsn-WS-BaseNotification-1.2-draft-01.xsd" schemaLocation="../../../../wsrf/notification/WS-BaseN.xsd"/>
<xsd:include schemaLocation="./GCUBEProvider.xsd"/>
<xsd:element name="GCUBENotificationProviderRPs">
<xsd:complexType>
<xsd:sequence>
<xsd:element ref="tns:GHN" minOccurs="1" maxOccurs="1"/>
<xsd:element ref="tns:RI" minOccurs="1" maxOccurs="1"/>
<xsd:element ref="tns:ServiceID" minOccurs="1" maxOccurs="1"/>
<xsd:element ref="tns:ServiceName" minOccurs="1" maxOccurs="1"/>
<xsd:element ref="tns:ServiceClass" minOccurs="1" maxOccurs="1"/>
<xsd:element ref="tns:VO" minOccurs="1" maxOccurs="1"/>
<xsd:element ref="tns:Scope" minOccurs="1" maxOccurs="unbounded"/>
<xsd:element maxOccurs="1" minOccurs="1" ref="wsrl:CurrentTime"/>
<xsd:element maxOccurs="1" minOccurs="1" ref="wsrl:TerminationTime"/>
<xsd:element maxOccurs="1" minOccurs="1" ref="wsnt:Topic"/>
<xsd:element maxOccurs="1" minOccurs="1" ref="wsnt:FixedTopicSet"/>
<xsd:element maxOccurs="1" minOccurs="1" ref="wsnt:TopicExpressionDialects"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:schema>
</types>
<!--============================================================
M E S S A G E S
============================================================-->
<!--============================================================
P O R T T Y P E
============================================================-->
<portType name="GCUBENotificationProvider" wsrp:ResourceProperties="tns:GCUBENotificationProviderRPs">
<operation name="GetMultipleResourceProperties">
<input name="GetMultipleResourcePropertiesRequest" message="wsrpw:GetMultipleResourcePropertiesRequest" wsa:Action="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceProperties/GetMultipleResourceProperties"/>
<output name="GetMultipleResourcePropertiesResponse" message="wsrpw:GetMultipleResourcePropertiesResponse" wsa:Action="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceProperties/GetMultipleResourcePropertiesResponse"/>
<fault name="InvalidResourcePropertyQNameFault" message="wsrpw:InvalidResourcePropertyQNameFault"/>
<fault name="ResourceUnknownFault" message="wsrpw:ResourceUnknownFault"/>
</operation>
<operation name="GetResourceProperty">
<input name="GetResourcePropertyRequest" message="wsrpw:GetResourcePropertyRequest" wsa:Action="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceProperties/GetResourceProperty"/>
<output name="GetResourcePropertyResponse" message="wsrpw:GetResourcePropertyResponse" wsa:Action="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceProperties/GetResourcePropertyResponse"/>
<fault name="InvalidResourcePropertyQNameFault" message="wsrpw:InvalidResourcePropertyQNameFault"/>
<fault name="ResourceUnknownFault" message="wsrpw:ResourceUnknownFault"/>
</operation>
<operation name="Destroy">
<input message="wsrlw:DestroyRequest" wsa:Action="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceLifetime/Destroy"/>
<output message="wsrlw:DestroyResponse" wsa:Action="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceLifetime/DestroyResponse"/>
<fault name="ResourceNotDestroyedFault" message="wsrlw:ResourceNotDestroyedFault"/>
<fault name="ResourceUnknownFault" message="wsrlw:ResourceUnknownFault"/>
</operation>
<operation name="QueryResourceProperties">
<input name="QueryResourcePropertiesRequest" message="wsrpw:QueryResourcePropertiesRequest" wsa:Action="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceProperties/QueryResourceProperties"/>
<output name="QueryResourcePropertiesResponse" message="wsrpw:QueryResourcePropertiesResponse" wsa:Action="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceProperties/QueryResourcePropertiesResponse"/>
<fault name="InvalidResourcePropertyQNameFault" message="wsrpw:InvalidResourcePropertyQNameFault"/>
<fault name="InvalidQueryExpressionFault" message="wsrpw:InvalidQueryExpressionFault"/>
<fault name="QueryEvaluationErrorFault" message="wsrpw:QueryEvaluationErrorFault"/>
<fault name="ResourceUnknownFault" message="wsrpw:ResourceUnknownFault"/>
<fault name="UnknownQueryExpressionDialectFault" message="wsrpw:UnknownQueryExpressionDialectFault"/>
</operation>
<operation name="SetResourceProperties">
<input name="SetResourcePropertiesRequest" message="wsrpw:SetResourcePropertiesRequest" wsa:Action="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceProperties/SetResourceProperties"/>
<output name="SetResourcePropertiesResponse" message="wsrpw:SetResourcePropertiesResponse" wsa:Action="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceProperties/SetResourcePropertiesResponse"/>
<fault name="InvalidResourcePropertyQNameFault" message="wsrpw:InvalidResourcePropertyQNameFault"/>
<fault name="UnableToModifyResourcePropertyFault" message="wsrpw:UnableToModifyResourcePropertyFault"/>
<fault name="SetResourcePropertyRequestFailedFault" message="wsrpw:SetResourcePropertyRequestFailedFault"/>
<fault name="ResourceUnknownFault" message="wsrpw:ResourceUnknownFault"/>
<fault name="InvalidSetResourcePropertiesRequestContentFault" message="wsrpw:InvalidSetResourcePropertiesRequestContentFault"/>
</operation>
<operation name="SetTerminationTime">
<input message="wsrlw:SetTerminationTimeRequest" wsa:Action="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceLifetime/SetTerminationTime"/>
<output message="wsrlw:SetTerminationTimeResponse" wsa:Action="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceLifetime/SetTerminationTimeResponse"/>
<fault message="wsrlw:UnableToSetTerminationTimeFault" name="UnableToSetTerminationTimeFault"/>
<fault message="wsrlw:ResourceUnknownFault" name="ResourceUnknownFault"/>
<fault message="wsrlw:TerminationTimeChangeRejectedFault" name="TerminationTimeChangeRejectedFault"/>
</operation>
<wsdl:operation name="Subscribe">
<wsdl:input message="wsntw:SubscribeRequest"
wsa:Action="http://docs.oasis-open.org/wsn/2004/06/wsn-WS-BaseNotification/Subscribe"/>
<wsdl:output message="wsntw:SubscribeResponse"
wsa:Action="http://docs.oasis-open.org/wsn/2004/06/wsn-WS-BaseNotification/SubscribeResponse"/>
<wsdl:fault name="ResourceUnknownFault"
message="wsntw:ResourceUnknownFault" />
<wsdl:fault name="SubscribeCreationFailedFault"
message="wsntw:SubscribeCreationFailedFault"/>
<wsdl:fault name="TopicPathDialectUnknownFault"
message="wsntw:TopicPathDialectUnknownFault"/>
<wsdl:fault name="InvalidTopicExpressionFault"
message="wsntw:InvalidTopicExpressionFault" />
<wsdl:fault name="TopicNotSupportedFault"
message="wsntw:TopicNotSupportedFault" />
</wsdl:operation>
<wsdl:operation name="GetCurrentMessage">
<wsdl:input message="wsntw:GetCurrentMessageRequest"
wsa:Action="http://docs.oasis-open.org/wsn/2004/06/wsn-WS-BaseNotification/GetCurrentMessage"/>
<wsdl:output message="wsntw:GetCurrentMessageResponse"
wsa:Action="http://docs.oasis-open.org/wsn/2004/06/wsn-WS-BaseNotification/GetCurrentMessageResponse"/>
<wsdl:fault name="ResourceUnknownFault"
message="wsntw:ResourceUnknownFault" />
<wsdl:fault name="InvalidTopicExpressionFault"
message="wsntw:InvalidTopicExpressionFault" />
<wsdl:fault name="TopicNotSupportedFault"
message="wsntw:TopicNotSupportedFault" />
<wsdl:fault name="NoCurrentMessageOnTopicFault"
message="wsntw:NoCurrentMessageOnTopicFault" />
</wsdl:operation>
</portType>
</definitions>

View File

@ -0,0 +1,126 @@
<?xml version="1.0" encoding="UTF-8"?>
<definitions name="GCUBEProvider"
targetNamespace="http://gcube-system.org/namespaces/common/core/porttypes/GCUBEProvider"
xmlns:tns="http://gcube-system.org/namespaces/common/core/porttypes/GCUBEProvider"
xmlns="http://schemas.xmlsoap.org/wsdl/"
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/03/addressing"
xmlns:wsrpw="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceProperties-1.2-draft-01.wsdl"
xmlns:wsrp="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceProperties-1.2-draft-01.xsd"
xmlns:wsrlw="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceLifetime-1.2-draft-01.wsdl"
xmlns:wsrl="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceLifetime-1.2-draft-01.xsd"
xmlns:wsdlpp="http://www.globus.org/namespaces/2004/10/WSDLPreprocessor"
xmlns:corefaults="http://gcube-system.org/namespaces/common/core/faults"
elementFormDefault="qualified" attributeFormDefault="unqualified">
<wsdl:import namespace="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceProperties-1.2-draft-01.wsdl" location="../../../../wsrf/properties/WS-ResourceProperties.wsdl" />
<wsdl:import namespace="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceLifetime-1.2-draft-01.wsdl" location="../../../../wsrf/lifetime/WS-ResourceLifetime.wsdl" />
<wsdl:import namespace="http://gcube-system.org/namespaces/common/core/faults" location="../faults/GCUBEFaults.wsdl"/>
<!--============================================================
T Y P E S
============================================================-->
<types>
<xsd:schema targetNamespace="http://gcube-system.org/namespaces/common/core/porttypes/GCUBEProvider"
xmlns:tns="http://gcube-system.org/namespaces/common/core/porttypes/GCUBEProvider"
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<xsd:import namespace="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceLifetime-1.2-draft-01.xsd" schemaLocation="../../../../wsrf/lifetime/WS-ResourceLifetime.xsd" />
<xsd:include schemaLocation="./GCUBEProvider.xsd"/>
<xsd:element name="GCUBEProviderRPs">
<xsd:complexType>
<xsd:sequence>
<xsd:element ref="tns:GHN" minOccurs="1" maxOccurs="1"/>
<xsd:element ref="tns:RI" minOccurs="1" maxOccurs="1"/>
<xsd:element ref="tns:ServiceID" minOccurs="1" maxOccurs="1"/>
<xsd:element ref="tns:ServiceName" minOccurs="1" maxOccurs="1"/>
<xsd:element ref="tns:ServiceClass" minOccurs="1" maxOccurs="1"/>
<xsd:element ref="tns:VO" minOccurs="1" maxOccurs="1"/>
<xsd:element ref="tns:Scope" minOccurs="1" maxOccurs="unbounded"/>
<xsd:element maxOccurs="1" minOccurs="1" ref="wsrl:CurrentTime"/>
<xsd:element maxOccurs="1" minOccurs="1" ref="wsrl:TerminationTime"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:schema>
</types>
<!--============================================================
M E S S A G E S
============================================================-->
<!--============================================================
P O R T T Y P E
============================================================-->
<portType name="GCUBEProvider" wsrp:ResourceProperties="tns:GCUBEProviderRPs">
<operation name="GetMultipleResourceProperties">
<input name="GetMultipleResourcePropertiesRequest" message="wsrpw:GetMultipleResourcePropertiesRequest" wsa:Action="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceProperties/GetMultipleResourceProperties"/>
<output name="GetMultipleResourcePropertiesResponse" message="wsrpw:GetMultipleResourcePropertiesResponse" wsa:Action="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceProperties/GetMultipleResourcePropertiesResponse"/>
<fault name="InvalidResourcePropertyQNameFault" message="wsrpw:InvalidResourcePropertyQNameFault"/>
<fault name="ResourceUnknownFault" message="wsrpw:ResourceUnknownFault"/>
</operation>
<operation name="GetResourceProperty">
<input name="GetResourcePropertyRequest" message="wsrpw:GetResourcePropertyRequest" wsa:Action="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceProperties/GetResourceProperty"/>
<output name="GetResourcePropertyResponse" message="wsrpw:GetResourcePropertyResponse" wsa:Action="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceProperties/GetResourcePropertyResponse"/>
<fault name="InvalidResourcePropertyQNameFault" message="wsrpw:InvalidResourcePropertyQNameFault"/>
<fault name="ResourceUnknownFault" message="wsrpw:ResourceUnknownFault"/>
</operation>
<operation name="Destroy">
<input message="wsrlw:DestroyRequest" wsa:Action="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceLifetime/Destroy"/>
<output message="wsrlw:DestroyResponse" wsa:Action="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceLifetime/DestroyResponse"/>
<fault name="ResourceNotDestroyedFault" message="wsrlw:ResourceNotDestroyedFault"/>
<fault name="ResourceUnknownFault" message="wsrlw:ResourceUnknownFault"/>
</operation>
<operation name="QueryResourceProperties">
<input name="QueryResourcePropertiesRequest" message="wsrpw:QueryResourcePropertiesRequest" wsa:Action="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceProperties/QueryResourceProperties"/>
<output name="QueryResourcePropertiesResponse" message="wsrpw:QueryResourcePropertiesResponse" wsa:Action="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceProperties/QueryResourcePropertiesResponse"/>
<fault name="InvalidResourcePropertyQNameFault" message="wsrpw:InvalidResourcePropertyQNameFault"/>
<fault name="InvalidQueryExpressionFault" message="wsrpw:InvalidQueryExpressionFault"/>
<fault name="QueryEvaluationErrorFault" message="wsrpw:QueryEvaluationErrorFault"/>
<fault name="ResourceUnknownFault" message="wsrpw:ResourceUnknownFault"/>
<fault name="UnknownQueryExpressionDialectFault" message="wsrpw:UnknownQueryExpressionDialectFault"/>
</operation>
<operation name="SetResourceProperties">
<input name="SetResourcePropertiesRequest" message="wsrpw:SetResourcePropertiesRequest" wsa:Action="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceProperties/SetResourceProperties"/>
<output name="SetResourcePropertiesResponse" message="wsrpw:SetResourcePropertiesResponse" wsa:Action="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceProperties/SetResourcePropertiesResponse"/>
<fault name="InvalidResourcePropertyQNameFault" message="wsrpw:InvalidResourcePropertyQNameFault"/>
<fault name="UnableToModifyResourcePropertyFault" message="wsrpw:UnableToModifyResourcePropertyFault"/>
<fault name="SetResourcePropertyRequestFailedFault" message="wsrpw:SetResourcePropertyRequestFailedFault"/>
<fault name="ResourceUnknownFault" message="wsrpw:ResourceUnknownFault"/>
<fault name="InvalidSetResourcePropertiesRequestContentFault" message="wsrpw:InvalidSetResourcePropertiesRequestContentFault"/>
</operation>
<operation name="SetTerminationTime">
<input message="wsrlw:SetTerminationTimeRequest" wsa:Action="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceLifetime/SetTerminationTime"/>
<output message="wsrlw:SetTerminationTimeResponse" wsa:Action="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceLifetime/SetTerminationTimeResponse"/>
<fault message="wsrlw:UnableToSetTerminationTimeFault" name="UnableToSetTerminationTimeFault"/>
<fault message="wsrlw:ResourceUnknownFault" name="ResourceUnknownFault"/>
<fault message="wsrlw:TerminationTimeChangeRejectedFault" name="TerminationTimeChangeRejectedFault"/>
</operation>
</portType>
</definitions>

View File

@ -0,0 +1,20 @@
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
targetNamespace="http://gcube-system.org/namespaces/common/core/porttypes/GCUBEProvider"
xmlns:tns="http://gcube-system.org/namespaces/common/core/porttypes/GCUBEProvider"
xmlns:coretypes="http://gcube-system.org/namespaces/common/core/types"
elementFormDefault="qualified" attributeFormDefault="unqualified">
<xs:import namespace="http://gcube-system.org/namespaces/common/core/types" schemaLocation="../types/GCUBETypes.xsd"/>
<!-- Resource properties -->
<xs:element name="GHN" type="xs:string"/>
<xs:element name="RI" type="xs:string"/>
<xs:element name="ServiceID" type="xs:string"/>
<xs:element name="ServiceName" type="xs:string"/>
<xs:element name="ServiceClass" type="xs:string"/>
<xs:element name="VO" type="xs:string"/>
<xs:element name="Scope" type="xs:string"/>
</xs:schema>

View File

@ -0,0 +1,3 @@
http\://gcube-system.org/namespaces/common/core/porttypes/GCUBEProvider=org.gcube.common.core.porttypes.gcubeprovider.stubs
http\://gcube-system.org/namespaces/common/core/porttypes/GCUBEProvider/service=org.gcube.common.core.porttypes.gcubeprovider.stubs
http\://gcube-system.org/namespaces/common/core/porttypes/GCUBEProvider/bindings=org.gcube.common.core.porttypes.gcubeprovider.stubs

View File

@ -0,0 +1,26 @@
<?xml version="1.0" encoding="UTF-8"?>
<definitions name="GCUBETypes"
targetNamespace="http://gcube-system.org/namespaces/common/core/types"
xmlns:tns="http://gcube-system.org/namespaces/common/core/types"
xmlns="http://schemas.xmlsoap.org/wsdl/"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/03/addressing"
elementFormDefault="qualified" attributeFormDefault="unqualified">
<!--============================================================
T Y P E S
============================================================-->
<types>
<xs:schema
targetNamespace="http://gcube-system.org/namespaces/common/core/types"
xmlns:tns="http://gcube-system.org/namespaces/common/core/types">
<xs:import namespace="http://schemas.xmlsoap.org/ws/2004/03/addressing" schemaLocation="../../../../ws/addressing/WS-Addressing.xsd" />
<xs:include schemaLocation="GCUBETypes.xsd" />
</xs:schema>
</types>
</definitions>

View File

@ -0,0 +1,63 @@
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
targetNamespace="http://gcube-system.org/namespaces/common/core/types"
xmlns:tns="http://gcube-system.org/namespaces/common/core/types"
xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/03/addressing"
elementFormDefault="qualified" attributeFormDefault="unqualified">
<xs:import namespace="http://schemas.xmlsoap.org/ws/2004/03/addressing" schemaLocation="../../../../ws/addressing/WS-Addressing.xsd" />
<!-- String-based types -->
<xs:simpleType name="OID">
<xs:restriction base="xs:string" />
</xs:simpleType>
<xs:complexType name="VOID" />
<xs:complexType name="descriptiveProperty">
<xs:sequence>
<xs:element name="name" nillable="false" type="xs:string" minOccurs="1" maxOccurs="1"/>
<xs:element name="description" nillable="true" type="xs:string" minOccurs="1" maxOccurs="1"/>
<xs:element name="value" nillable="false" type="xs:anyType" minOccurs="1" maxOccurs="1"/>
</xs:sequence>
</xs:complexType>
<xs:simpleType name="RSLOCATOR">
<xs:restriction base="xs:string" />
</xs:simpleType>
<xs:simpleType name="scope">
<xs:restriction base="xs:string">
<xs:pattern value="(/\w+){1,3}"/>
<xs:whiteSpace value="collapse"/>
</xs:restriction>
</xs:simpleType>
<xs:complexType name="stringArray">
<xs:sequence>
<xs:element name="items" type="xs:string" maxOccurs="unbounded" nillable="true"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="stringArrayArray">
<xs:sequence>
<xs:element name="arrays" type="tns:stringArray" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="stringMap">
<xs:sequence>
<xs:element name="items" type="tns:mapItemType" maxOccurs="unbounded" />
</xs:sequence>
</xs:complexType>
<xs:complexType name="mapItemType">
<xs:sequence>
<xs:element name="key" type="xs:string" minOccurs="1" maxOccurs="1" />
<xs:element name="value" type="xs:string" minOccurs="1" maxOccurs="1" />
</xs:sequence>
</xs:complexType>
</xs:schema>

View File

@ -0,0 +1,86 @@
<?xml version="1.0" encoding="UTF-8"?>
<definitions name="Reporting"
targetNamespace="http://gcube-system.org/namespaces/vremanagement/resourcemanager/administration"
xmlns="http://schemas.xmlsoap.org/wsdl/"
xmlns:tns="http://gcube-system.org/namespaces/vremanagement/resourcemanager/administration"
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
xmlns:provider="http://gcube-system.org/namespaces/common/core/porttypes/GCUBEProvider"
xmlns:coretypes="http://gcube-system.org/namespaces/common/core/types"
xmlns:corefaults="http://gcube-system.org/namespaces/common/core/faults"
xmlns:vretypes="http://gcube-system.org/common/vremanagement/types"
xmlns:wsrlw="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceLifetime-1.2-draft-01.wsdl"
xmlns:wsrp="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceProperties-1.2-draft-01.xsd"
xmlns:wsntw="http://docs.oasis-open.org/wsn/2004/06/wsn-WS-BaseNotification-1.2-draft-01.wsdl"
xmlns:wsdlpp="http://www.globus.org/namespaces/2004/10/WSDLPreprocessor"
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<import namespace="http://gcube-system.org/namespaces/common/core/porttypes/GCUBEProvider" location="../gcube/common/core/providers/GCUBEProvider.wsdl"/>
<import namespace="http://gcube-system.org/namespaces/common/core/faults" location="../gcube/common/core/faults/GCUBEFaults.wsdl"/>
<import namespace="http://gcube-system.org/common/vremanagement/types" location="VREManagementTypes.wsdl"/>
<!--============================================================
T Y P E S
============================================================-->
<types>
<xsd:schema targetNamespace="http://gcube-system.org/namespaces/vremanagement/resourcemanager/administration"
xmlns:tns="http://gcube-system.org/namespaces/vremanagement/resourcemanager/administration"
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<xsd:import namespace="http://gcube-system.org/namespaces/common/core/types" schemaLocation="../gcube/common/core/types/GCUBETypes.xsd"/>
<xsd:import namespace="http://gcube-system.org/common/vremanagement/types" schemaLocation="VREManagementTypes.xsd"/>
<xsd:element name="targetScope" type="coretypes:scope"/>
<xsd:element name="VOID">
<xsd:complexType/>
</xsd:element>
<xsd:element name="InvalidScopeFaultType">
<xsd:complexType>
<xsd:complexContent>
<xsd:extension base="corefaults:GCUBEUnrecoverableFault">
<xsd:sequence/>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
</xsd:element>
</xsd:schema>
</types>
<!--============================================================
M E S S A G E S
============================================================-->
<message name="VoidMessage">
<part name="response" element="tns:VOID"/>
</message>
<message name="InvalidScopeFaultMessage">
<part name="fault" element="vretypes:InvalidScopeFaultType"/>
</message>
<!--============================================================
P O R T T Y P E
============================================================-->
<portType name="AdministrationPortType"
wsdlpp:extends="provider:GCUBEProvider">
<operation name="CleanSoftwareState">
<input message="tns:VoidMessage"/>
<output message="tns:VoidMessage"/>
<fault name="fault" message="tns:InvalidScopeFaultMessage" />
</operation>
</portType>
</definitions>

View File

@ -0,0 +1,130 @@
<?xml version="1.0" encoding="UTF-8"?>
<wsdl:definitions name="Reporting" targetNamespace="http://gcube-system.org/namespaces/vremanagement/resourcemanager/administration/bindings" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:porttype="http://gcube-system.org/namespaces/vremanagement/resourcemanager/administration" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/">
<wsdl:import namespace="http://gcube-system.org/namespaces/vremanagement/resourcemanager/administration" location="Administration_flattened.wsdl"/>
<wsdl:binding name="AdministrationPortTypeSOAPBinding" type="porttype:AdministrationPortType">
<soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
<wsdl:operation name="CleanSoftwareState">
<soap:operation soapAction="http://gcube-system.org/namespaces/vremanagement/resourcemanager/administration/AdministrationPortType/CleanSoftwareStateRequest"/>
<wsdl:input>
<soap:body use="literal"/>
</wsdl:input>
<wsdl:output>
<soap:body use="literal"/>
</wsdl:output>
<wsdl:fault name="fault">
<soap:fault name="fault" use="literal"/>
</wsdl:fault>
</wsdl:operation>
<wsdl:operation name="GetMultipleResourceProperties">
<soap:operation soapAction="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceProperties/GetMultipleResourceProperties"/>
<wsdl:input>
<soap:body use="literal"/>
</wsdl:input>
<wsdl:output>
<soap:body use="literal"/>
</wsdl:output>
<wsdl:fault name="InvalidResourcePropertyQNameFault">
<soap:fault name="InvalidResourcePropertyQNameFault" use="literal"/>
</wsdl:fault>
<wsdl:fault name="ResourceUnknownFault">
<soap:fault name="ResourceUnknownFault" use="literal"/>
</wsdl:fault>
</wsdl:operation>
<wsdl:operation name="GetResourceProperty">
<soap:operation soapAction="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceProperties/GetResourceProperty"/>
<wsdl:input>
<soap:body use="literal"/>
</wsdl:input>
<wsdl:output>
<soap:body use="literal"/>
</wsdl:output>
<wsdl:fault name="InvalidResourcePropertyQNameFault">
<soap:fault name="InvalidResourcePropertyQNameFault" use="literal"/>
</wsdl:fault>
<wsdl:fault name="ResourceUnknownFault">
<soap:fault name="ResourceUnknownFault" use="literal"/>
</wsdl:fault>
</wsdl:operation>
<wsdl:operation name="Destroy">
<soap:operation soapAction="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceLifetime/Destroy"/>
<wsdl:input>
<soap:body use="literal"/>
</wsdl:input>
<wsdl:output>
<soap:body use="literal"/>
</wsdl:output>
<wsdl:fault name="ResourceUnknownFault">
<soap:fault name="ResourceUnknownFault" use="literal"/>
</wsdl:fault>
<wsdl:fault name="ResourceNotDestroyedFault">
<soap:fault name="ResourceNotDestroyedFault" use="literal"/>
</wsdl:fault>
</wsdl:operation>
<wsdl:operation name="QueryResourceProperties">
<soap:operation soapAction="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceProperties/QueryResourceProperties"/>
<wsdl:input>
<soap:body use="literal"/>
</wsdl:input>
<wsdl:output>
<soap:body use="literal"/>
</wsdl:output>
<wsdl:fault name="UnknownQueryExpressionDialectFault">
<soap:fault name="UnknownQueryExpressionDialectFault" use="literal"/>
</wsdl:fault>
<wsdl:fault name="QueryEvaluationErrorFault">
<soap:fault name="QueryEvaluationErrorFault" use="literal"/>
</wsdl:fault>
<wsdl:fault name="InvalidQueryExpressionFault">
<soap:fault name="InvalidQueryExpressionFault" use="literal"/>
</wsdl:fault>
<wsdl:fault name="InvalidResourcePropertyQNameFault">
<soap:fault name="InvalidResourcePropertyQNameFault" use="literal"/>
</wsdl:fault>
<wsdl:fault name="ResourceUnknownFault">
<soap:fault name="ResourceUnknownFault" use="literal"/>
</wsdl:fault>
</wsdl:operation>
<wsdl:operation name="SetResourceProperties">
<soap:operation soapAction="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceProperties/SetResourceProperties"/>
<wsdl:input>
<soap:body use="literal"/>
</wsdl:input>
<wsdl:output>
<soap:body use="literal"/>
</wsdl:output>
<wsdl:fault name="InvalidSetResourcePropertiesRequestContentFault">
<soap:fault name="InvalidSetResourcePropertiesRequestContentFault" use="literal"/>
</wsdl:fault>
<wsdl:fault name="InvalidResourcePropertyQNameFault">
<soap:fault name="InvalidResourcePropertyQNameFault" use="literal"/>
</wsdl:fault>
<wsdl:fault name="ResourceUnknownFault">
<soap:fault name="ResourceUnknownFault" use="literal"/>
</wsdl:fault>
<wsdl:fault name="SetResourcePropertyRequestFailedFault">
<soap:fault name="SetResourcePropertyRequestFailedFault" use="literal"/>
</wsdl:fault>
<wsdl:fault name="UnableToModifyResourcePropertyFault">
<soap:fault name="UnableToModifyResourcePropertyFault" use="literal"/>
</wsdl:fault>
</wsdl:operation>
<wsdl:operation name="SetTerminationTime">
<soap:operation soapAction="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceLifetime/SetTerminationTime"/>
<wsdl:input>
<soap:body use="literal"/>
</wsdl:input>
<wsdl:output>
<soap:body use="literal"/>
</wsdl:output>
<wsdl:fault name="ResourceUnknownFault">
<soap:fault name="ResourceUnknownFault" use="literal"/>
</wsdl:fault>
<wsdl:fault name="UnableToSetTerminationTimeFault">
<soap:fault name="UnableToSetTerminationTimeFault" use="literal"/>
</wsdl:fault>
<wsdl:fault name="TerminationTimeChangeRejectedFault">
<soap:fault name="TerminationTimeChangeRejectedFault" use="literal"/>
</wsdl:fault>
</wsdl:operation>
</wsdl:binding>
</wsdl:definitions>

View File

@ -0,0 +1,108 @@
<?xml version="1.0" encoding="UTF-8"?>
<definitions name="Reporting" targetNamespace="http://gcube-system.org/namespaces/vremanagement/resourcemanager/administration" xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:coretypes="http://gcube-system.org/namespaces/common/core/types" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:wsntw="http://docs.oasis-open.org/wsn/2004/06/wsn-WS-BaseNotification-1.2-draft-01.wsdl" xmlns:provider="http://gcube-system.org/namespaces/common/core/porttypes/GCUBEProvider" xmlns:corefaults="http://gcube-system.org/namespaces/common/core/faults" xmlns:wsdlpp="http://www.globus.org/namespaces/2004/10/WSDLPreprocessor" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/03/addressing" xmlns:gtwsdl0="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceProperties-1.2-draft-01.wsdl" xmlns:tns="http://gcube-system.org/namespaces/vremanagement/resourcemanager/administration" xmlns:wsrlw="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceLifetime-1.2-draft-01.wsdl" xmlns:wsrp="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceProperties-1.2-draft-01.xsd" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:vretypes="http://gcube-system.org/common/vremanagement/types">
<import namespace="http://gcube-system.org/namespaces/common/core/faults" location="../gcube/common/core/faults/GCUBEFaults.wsdl"/>
<import namespace="http://gcube-system.org/namespaces/common/core/porttypes/GCUBEProvider" location="../gcube/common/core/providers/GCUBEProvider.wsdl"/>
<import namespace="http://gcube-system.org/common/vremanagement/types" location="VREManagementTypes.wsdl"/>
<import namespace="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceLifetime-1.2-draft-01.wsdl" location="../wsrf/lifetime/WS-ResourceLifetime.wsdl"/>
<import namespace="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceProperties-1.2-draft-01.wsdl" location="../wsrf/properties/WS-ResourceProperties.wsdl"/>
<types>
<xsd:schema targetNamespace="http://gcube-system.org/namespaces/vremanagement/resourcemanager/administration" xmlns:rpns0="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceLifetime-1.2-draft-01.xsd" xmlns:tns="http://gcube-system.org/namespaces/vremanagement/resourcemanager/administration" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<xsd:import namespace="http://schemas.xmlsoap.org/ws/2004/03/addressing" schemaLocation="../ws/addressing/WS-Addressing.xsd"/>
<xsd:import namespace="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceLifetime-1.2-draft-01.xsd" schemaLocation="../wsrf/lifetime/WS-ResourceLifetime.xsd"/>
<xsd:import namespace="http://gcube-system.org/namespaces/common/core/porttypes/GCUBEProvider" schemaLocation="../gcube/common/core/providers/GCUBEProvider.xsd"/>
<xsd:import namespace="http://gcube-system.org/namespaces/common/core/types" schemaLocation="../gcube/common/core/types/GCUBETypes.xsd"/>
<xsd:import namespace="http://gcube-system.org/common/vremanagement/types" schemaLocation="VREManagementTypes.xsd"/>
<xsd:element name="targetScope" type="coretypes:scope"/>
<xsd:element name="VOID">
<xsd:complexType/>
</xsd:element>
<xsd:element name="InvalidScopeFaultType">
<xsd:complexType>
<xsd:complexContent>
<xsd:extension base="corefaults:GCUBEUnrecoverableFault">
<xsd:sequence/>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
</xsd:element>
<xsd:element name="AdministrationPortTypeGTWSDLResourceProperties">
<xsd:complexType>
<xsd:sequence>
<xsd:element maxOccurs="1" minOccurs="1" ref="provider:ServiceID"/>
<xsd:element maxOccurs="1" minOccurs="1" ref="provider:ServiceName"/>
<xsd:element maxOccurs="1" minOccurs="1" ref="provider:VO"/>
<xsd:element maxOccurs="1" minOccurs="1" ref="provider:RI"/>
<xsd:element maxOccurs="1" minOccurs="1" ref="provider:ServiceClass"/>
<xsd:element maxOccurs="1" minOccurs="1" ref="provider:GHN"/>
<xsd:element maxOccurs="1" minOccurs="1" ref="rpns0:TerminationTime"/>
<xsd:element maxOccurs="unbounded" minOccurs="1" ref="provider:Scope"/>
<xsd:element maxOccurs="1" minOccurs="1" ref="rpns0:CurrentTime"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:schema>
</types>
<message name="InvalidScopeFaultMessage">
<part name="fault" element="vretypes:InvalidScopeFaultType"/>
</message>
<message name="VoidMessage">
<part name="response" element="tns:VOID"/>
</message>
<portType name="AdministrationPortType" wsrp:ResourceProperties="AdministrationPortTypeGTWSDLResourceProperties">
<operation name="CleanSoftwareState">
<input message="tns:VoidMessage"/>
<output message="tns:VoidMessage"/>
<fault name="fault" message="tns:InvalidScopeFaultMessage"/>
</operation>
<operation name="GetMultipleResourceProperties">
<input name="GetMultipleResourcePropertiesRequest" message="gtwsdl0:GetMultipleResourcePropertiesRequest" wsa:Action="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceProperties/GetMultipleResourceProperties"/>
<output name="GetMultipleResourcePropertiesResponse" message="gtwsdl0:GetMultipleResourcePropertiesResponse" wsa:Action="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceProperties/GetMultipleResourcePropertiesResponse"/>
<fault name="InvalidResourcePropertyQNameFault" message="gtwsdl0:InvalidResourcePropertyQNameFault"/>
<fault name="ResourceUnknownFault" message="gtwsdl0:ResourceUnknownFault"/>
</operation>
<operation name="GetResourceProperty">
<input name="GetResourcePropertyRequest" message="gtwsdl0:GetResourcePropertyRequest" wsa:Action="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceProperties/GetResourceProperty"/>
<output name="GetResourcePropertyResponse" message="gtwsdl0:GetResourcePropertyResponse" wsa:Action="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceProperties/GetResourcePropertyResponse"/>
<fault name="InvalidResourcePropertyQNameFault" message="gtwsdl0:InvalidResourcePropertyQNameFault"/>
<fault name="ResourceUnknownFault" message="gtwsdl0:ResourceUnknownFault"/>
</operation>
<operation name="Destroy">
<input message="wsrlw:DestroyRequest" wsa:Action="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceLifetime/Destroy"/>
<output message="wsrlw:DestroyResponse" wsa:Action="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceLifetime/DestroyResponse"/>
<fault name="ResourceUnknownFault" message="wsrlw:ResourceUnknownFault"/>
<fault name="ResourceNotDestroyedFault" message="wsrlw:ResourceNotDestroyedFault"/>
</operation>
<operation name="QueryResourceProperties">
<input name="QueryResourcePropertiesRequest" message="gtwsdl0:QueryResourcePropertiesRequest" wsa:Action="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceProperties/QueryResourceProperties"/>
<output name="QueryResourcePropertiesResponse" message="gtwsdl0:QueryResourcePropertiesResponse" wsa:Action="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceProperties/QueryResourcePropertiesResponse"/>
<fault name="UnknownQueryExpressionDialectFault" message="gtwsdl0:UnknownQueryExpressionDialectFault"/>
<fault name="QueryEvaluationErrorFault" message="gtwsdl0:QueryEvaluationErrorFault"/>
<fault name="InvalidQueryExpressionFault" message="gtwsdl0:InvalidQueryExpressionFault"/>
<fault name="InvalidResourcePropertyQNameFault" message="gtwsdl0:InvalidResourcePropertyQNameFault"/>
<fault name="ResourceUnknownFault" message="gtwsdl0:ResourceUnknownFault"/>
</operation>
<operation name="SetResourceProperties">
<input name="SetResourcePropertiesRequest" message="gtwsdl0:SetResourcePropertiesRequest" wsa:Action="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceProperties/SetResourceProperties"/>
<output name="SetResourcePropertiesResponse" message="gtwsdl0:SetResourcePropertiesResponse" wsa:Action="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceProperties/SetResourcePropertiesResponse"/>
<fault name="InvalidSetResourcePropertiesRequestContentFault" message="gtwsdl0:InvalidSetResourcePropertiesRequestContentFault"/>
<fault name="InvalidResourcePropertyQNameFault" message="gtwsdl0:InvalidResourcePropertyQNameFault"/>
<fault name="ResourceUnknownFault" message="gtwsdl0:ResourceUnknownFault"/>
<fault name="SetResourcePropertyRequestFailedFault" message="gtwsdl0:SetResourcePropertyRequestFailedFault"/>
<fault name="UnableToModifyResourcePropertyFault" message="gtwsdl0:UnableToModifyResourcePropertyFault"/>
</operation>
<operation name="SetTerminationTime">
<input message="wsrlw:SetTerminationTimeRequest" wsa:Action="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceLifetime/SetTerminationTime"/>
<output message="wsrlw:SetTerminationTimeResponse" wsa:Action="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceLifetime/SetTerminationTimeResponse"/>
<fault name="ResourceUnknownFault" message="wsrlw:ResourceUnknownFault"/>
<fault name="UnableToSetTerminationTimeFault" message="wsrlw:UnableToSetTerminationTimeFault"/>
<fault name="TerminationTimeChangeRejectedFault" message="wsrlw:TerminationTimeChangeRejectedFault"/>
</operation>
</portType>
</definitions>

View File

@ -0,0 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<wsdl:definitions name="Reporting" targetNamespace="http://gcube-system.org/namespaces/vremanagement/resourcemanager/administration/service" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:binding="http://gcube-system.org/namespaces/vremanagement/resourcemanager/administration/bindings" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/">
<wsdl:import namespace="http://gcube-system.org/namespaces/vremanagement/resourcemanager/administration/bindings" location="Administration_bindings.wsdl"/>
<wsdl:service name="ReportingService">
<wsdl:port name="AdministrationPortTypePort" binding="binding:AdministrationPortTypeSOAPBinding">
<soap:address location="http://localhost:8080/wsrf/services/"/>
</wsdl:port>
</wsdl:service>
</wsdl:definitions>

View File

@ -0,0 +1,131 @@
<?xml version="1.0" encoding="UTF-8"?>
<definitions name="Reporting"
targetNamespace="http://gcube-system.org/namespaces/vremanagement/resourcemanager/reporting"
xmlns="http://schemas.xmlsoap.org/wsdl/"
xmlns:tns="http://gcube-system.org/namespaces/vremanagement/resourcemanager/reporting"
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
xmlns:provider="http://gcube-system.org/namespaces/common/core/porttypes/GCUBEProvider"
xmlns:coretypes="http://gcube-system.org/namespaces/common/core/types"
xmlns:corefaults="http://gcube-system.org/namespaces/common/core/faults"
xmlns:vretypes="http://gcube-system.org/common/vremanagement/types"
xmlns:wsrlw="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceLifetime-1.2-draft-01.wsdl"
xmlns:wsrp="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceProperties-1.2-draft-01.xsd"
xmlns:wsntw="http://docs.oasis-open.org/wsn/2004/06/wsn-WS-BaseNotification-1.2-draft-01.wsdl"
xmlns:wsdlpp="http://www.globus.org/namespaces/2004/10/WSDLPreprocessor"
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<import namespace="http://gcube-system.org/namespaces/common/core/porttypes/GCUBEProvider" location="../gcube/common/core/providers/GCUBEProvider.wsdl"/>
<import namespace="http://gcube-system.org/namespaces/common/core/faults" location="../gcube/common/core/faults/GCUBEFaults.wsdl"/>
<import namespace="http://gcube-system.org/common/vremanagement/types" location="VREManagementTypes.wsdl"/>
<!--============================================================
T Y P E S
============================================================-->
<types>
<xsd:schema targetNamespace="http://gcube-system.org/namespaces/vremanagement/resourcemanager/reporting"
xmlns:tns="http://gcube-system.org/namespaces/vremanagement/resourcemanager/reporting"
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<xsd:import namespace="http://gcube-system.org/namespaces/common/core/types" schemaLocation="../gcube/common/core/types/GCUBETypes.xsd"/>
<xsd:import namespace="http://gcube-system.org/common/vremanagement/types" schemaLocation="VREManagementTypes.xsd"/>
<xsd:element name="targetScope" type="coretypes:scope"/>
<xsd:element name="VOID">
<xsd:complexType/>
</xsd:element>
<xsd:element name="sendReportParameters">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="callbackID" type="xsd:string"/>
<xsd:element name="report" type="xsd:string"/>
<xsd:element ref="tns:targetScope"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="reportID" type="xsd:string"/>
<xsd:element name="report" type="xsd:string"/>
<xsd:element name="NoSuchReportFaultType">
<xsd:complexType>
<xsd:complexContent>
<xsd:extension base="corefaults:GCUBEUnrecoverableFault">
<xsd:sequence/>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
</xsd:element>
<xsd:element name="InvalidScopeFaultType">
<xsd:complexType>
<xsd:complexContent>
<xsd:extension base="corefaults:GCUBEUnrecoverableFault">
<xsd:sequence/>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
</xsd:element>
</xsd:schema>
</types>
<!--============================================================
M E S S A G E S
============================================================-->
<message name="ReportID">
<part name="request" element="tns:reportID"/>
</message>
<message name="SendReportInputMessage">
<part name="request" element="tns:sendReportParameters"/>
</message>
<message name="GetReportInputMessage">
<part name="request" element="tns:reportID"/>
</message>
<message name="GetReportResponseMessage">
<part name="request" element="tns:report"/>
</message>
<message name="VoidMessage">
<part name="response" element="tns:VOID"/>
</message>
<message name="InvalidScopeFaultMessage">
<part name="fault" element="vretypes:InvalidScopeFaultType"/>
</message>
<message name="NoSuchReportFaultMessage">
<part name="fault" element="tns:NoSuchReportFaultType"/>
</message>
<!--============================================================
P O R T T Y P E
============================================================-->
<portType name="ReportingPortType"
wsdlpp:extends="provider:GCUBEProvider">
<operation name="SendReport">
<input message="tns:SendReportInputMessage"/>
<output message="tns:VoidMessage"/>
<fault name="fault" message="tns:InvalidScopeFaultMessage" />
</operation>
<operation name="GetReport">
<input message="tns:GetReportInputMessage"/>
<output message="tns:GetReportResponseMessage"/>
<fault name="fault1" message="tns:InvalidScopeFaultMessage"/>
<fault name="fault2" message="tns:NoSuchReportFaultMessage"/>
</operation>
</portType>
</definitions>

View File

@ -0,0 +1,145 @@
<?xml version="1.0" encoding="UTF-8"?>
<wsdl:definitions name="Reporting" targetNamespace="http://gcube-system.org/namespaces/vremanagement/resourcemanager/reporting/bindings" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:porttype="http://gcube-system.org/namespaces/vremanagement/resourcemanager/reporting" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/">
<wsdl:import namespace="http://gcube-system.org/namespaces/vremanagement/resourcemanager/reporting" location="Reporting_flattened.wsdl"/>
<wsdl:binding name="ReportingPortTypeSOAPBinding" type="porttype:ReportingPortType">
<soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
<wsdl:operation name="SendReport">
<soap:operation soapAction="http://gcube-system.org/namespaces/vremanagement/resourcemanager/reporting/ReportingPortType/SendReportRequest"/>
<wsdl:input>
<soap:body use="literal"/>
</wsdl:input>
<wsdl:output>
<soap:body use="literal"/>
</wsdl:output>
<wsdl:fault name="fault">
<soap:fault name="fault" use="literal"/>
</wsdl:fault>
</wsdl:operation>
<wsdl:operation name="GetReport">
<soap:operation soapAction="http://gcube-system.org/namespaces/vremanagement/resourcemanager/reporting/ReportingPortType/GetReportRequest"/>
<wsdl:input>
<soap:body use="literal"/>
</wsdl:input>
<wsdl:output>
<soap:body use="literal"/>
</wsdl:output>
<wsdl:fault name="fault2">
<soap:fault name="fault2" use="literal"/>
</wsdl:fault>
<wsdl:fault name="fault1">
<soap:fault name="fault1" use="literal"/>
</wsdl:fault>
</wsdl:operation>
<wsdl:operation name="GetMultipleResourceProperties">
<soap:operation soapAction="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceProperties/GetMultipleResourceProperties"/>
<wsdl:input>
<soap:body use="literal"/>
</wsdl:input>
<wsdl:output>
<soap:body use="literal"/>
</wsdl:output>
<wsdl:fault name="InvalidResourcePropertyQNameFault">
<soap:fault name="InvalidResourcePropertyQNameFault" use="literal"/>
</wsdl:fault>
<wsdl:fault name="ResourceUnknownFault">
<soap:fault name="ResourceUnknownFault" use="literal"/>
</wsdl:fault>
</wsdl:operation>
<wsdl:operation name="GetResourceProperty">
<soap:operation soapAction="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceProperties/GetResourceProperty"/>
<wsdl:input>
<soap:body use="literal"/>
</wsdl:input>
<wsdl:output>
<soap:body use="literal"/>
</wsdl:output>
<wsdl:fault name="InvalidResourcePropertyQNameFault">
<soap:fault name="InvalidResourcePropertyQNameFault" use="literal"/>
</wsdl:fault>
<wsdl:fault name="ResourceUnknownFault">
<soap:fault name="ResourceUnknownFault" use="literal"/>
</wsdl:fault>
</wsdl:operation>
<wsdl:operation name="Destroy">
<soap:operation soapAction="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceLifetime/Destroy"/>
<wsdl:input>
<soap:body use="literal"/>
</wsdl:input>
<wsdl:output>
<soap:body use="literal"/>
</wsdl:output>
<wsdl:fault name="ResourceUnknownFault">
<soap:fault name="ResourceUnknownFault" use="literal"/>
</wsdl:fault>
<wsdl:fault name="ResourceNotDestroyedFault">
<soap:fault name="ResourceNotDestroyedFault" use="literal"/>
</wsdl:fault>
</wsdl:operation>
<wsdl:operation name="QueryResourceProperties">
<soap:operation soapAction="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceProperties/QueryResourceProperties"/>
<wsdl:input>
<soap:body use="literal"/>
</wsdl:input>
<wsdl:output>
<soap:body use="literal"/>
</wsdl:output>
<wsdl:fault name="UnknownQueryExpressionDialectFault">
<soap:fault name="UnknownQueryExpressionDialectFault" use="literal"/>
</wsdl:fault>
<wsdl:fault name="QueryEvaluationErrorFault">
<soap:fault name="QueryEvaluationErrorFault" use="literal"/>
</wsdl:fault>
<wsdl:fault name="InvalidQueryExpressionFault">
<soap:fault name="InvalidQueryExpressionFault" use="literal"/>
</wsdl:fault>
<wsdl:fault name="InvalidResourcePropertyQNameFault">
<soap:fault name="InvalidResourcePropertyQNameFault" use="literal"/>
</wsdl:fault>
<wsdl:fault name="ResourceUnknownFault">
<soap:fault name="ResourceUnknownFault" use="literal"/>
</wsdl:fault>
</wsdl:operation>
<wsdl:operation name="SetResourceProperties">
<soap:operation soapAction="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceProperties/SetResourceProperties"/>
<wsdl:input>
<soap:body use="literal"/>
</wsdl:input>
<wsdl:output>
<soap:body use="literal"/>
</wsdl:output>
<wsdl:fault name="InvalidSetResourcePropertiesRequestContentFault">
<soap:fault name="InvalidSetResourcePropertiesRequestContentFault" use="literal"/>
</wsdl:fault>
<wsdl:fault name="InvalidResourcePropertyQNameFault">
<soap:fault name="InvalidResourcePropertyQNameFault" use="literal"/>
</wsdl:fault>
<wsdl:fault name="ResourceUnknownFault">
<soap:fault name="ResourceUnknownFault" use="literal"/>
</wsdl:fault>
<wsdl:fault name="SetResourcePropertyRequestFailedFault">
<soap:fault name="SetResourcePropertyRequestFailedFault" use="literal"/>
</wsdl:fault>
<wsdl:fault name="UnableToModifyResourcePropertyFault">
<soap:fault name="UnableToModifyResourcePropertyFault" use="literal"/>
</wsdl:fault>
</wsdl:operation>
<wsdl:operation name="SetTerminationTime">
<soap:operation soapAction="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceLifetime/SetTerminationTime"/>
<wsdl:input>
<soap:body use="literal"/>
</wsdl:input>
<wsdl:output>
<soap:body use="literal"/>
</wsdl:output>
<wsdl:fault name="ResourceUnknownFault">
<soap:fault name="ResourceUnknownFault" use="literal"/>
</wsdl:fault>
<wsdl:fault name="UnableToSetTerminationTimeFault">
<soap:fault name="UnableToSetTerminationTimeFault" use="literal"/>
</wsdl:fault>
<wsdl:fault name="TerminationTimeChangeRejectedFault">
<soap:fault name="TerminationTimeChangeRejectedFault" use="literal"/>
</wsdl:fault>
</wsdl:operation>
</wsdl:binding>
</wsdl:definitions>

View File

@ -0,0 +1,152 @@
<?xml version="1.0" encoding="UTF-8"?>
<definitions name="Reporting" targetNamespace="http://gcube-system.org/namespaces/vremanagement/resourcemanager/reporting" xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:coretypes="http://gcube-system.org/namespaces/common/core/types" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:wsntw="http://docs.oasis-open.org/wsn/2004/06/wsn-WS-BaseNotification-1.2-draft-01.wsdl" xmlns:provider="http://gcube-system.org/namespaces/common/core/porttypes/GCUBEProvider" xmlns:corefaults="http://gcube-system.org/namespaces/common/core/faults" xmlns:wsdlpp="http://www.globus.org/namespaces/2004/10/WSDLPreprocessor" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/03/addressing" xmlns:gtwsdl0="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceProperties-1.2-draft-01.wsdl" xmlns:tns="http://gcube-system.org/namespaces/vremanagement/resourcemanager/reporting" xmlns:wsrlw="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceLifetime-1.2-draft-01.wsdl" xmlns:wsrp="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceProperties-1.2-draft-01.xsd" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:vretypes="http://gcube-system.org/common/vremanagement/types">
<import namespace="http://gcube-system.org/namespaces/common/core/faults" location="../gcube/common/core/faults/GCUBEFaults.wsdl"/>
<import namespace="http://gcube-system.org/namespaces/common/core/porttypes/GCUBEProvider" location="../gcube/common/core/providers/GCUBEProvider.wsdl"/>
<import namespace="http://gcube-system.org/common/vremanagement/types" location="VREManagementTypes.wsdl"/>
<import namespace="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceLifetime-1.2-draft-01.wsdl" location="../wsrf/lifetime/WS-ResourceLifetime.wsdl"/>
<import namespace="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceProperties-1.2-draft-01.wsdl" location="../wsrf/properties/WS-ResourceProperties.wsdl"/>
<types>
<xsd:schema targetNamespace="http://gcube-system.org/namespaces/vremanagement/resourcemanager/reporting" xmlns:rpns0="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceLifetime-1.2-draft-01.xsd" xmlns:tns="http://gcube-system.org/namespaces/vremanagement/resourcemanager/reporting" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<xsd:import namespace="http://schemas.xmlsoap.org/ws/2004/03/addressing" schemaLocation="../ws/addressing/WS-Addressing.xsd"/>
<xsd:import namespace="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceLifetime-1.2-draft-01.xsd" schemaLocation="../wsrf/lifetime/WS-ResourceLifetime.xsd"/>
<xsd:import namespace="http://gcube-system.org/namespaces/common/core/porttypes/GCUBEProvider" schemaLocation="../gcube/common/core/providers/GCUBEProvider.xsd"/>
<xsd:import namespace="http://gcube-system.org/namespaces/common/core/types" schemaLocation="../gcube/common/core/types/GCUBETypes.xsd"/>
<xsd:import namespace="http://gcube-system.org/common/vremanagement/types" schemaLocation="VREManagementTypes.xsd"/>
<xsd:element name="targetScope" type="coretypes:scope"/>
<xsd:element name="VOID">
<xsd:complexType/>
</xsd:element>
<xsd:element name="sendReportParameters">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="callbackID" type="xsd:string"/>
<xsd:element name="report" type="xsd:string"/>
<xsd:element ref="tns:targetScope"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="reportID" type="xsd:string"/>
<xsd:element name="report" type="xsd:string"/>
<xsd:element name="NoSuchReportFaultType">
<xsd:complexType>
<xsd:complexContent>
<xsd:extension base="corefaults:GCUBEUnrecoverableFault">
<xsd:sequence/>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
</xsd:element>
<xsd:element name="InvalidScopeFaultType">
<xsd:complexType>
<xsd:complexContent>
<xsd:extension base="corefaults:GCUBEUnrecoverableFault">
<xsd:sequence/>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
</xsd:element>
<xsd:element name="ReportingPortTypeGTWSDLResourceProperties">
<xsd:complexType>
<xsd:sequence>
<xsd:element maxOccurs="1" minOccurs="1" ref="provider:ServiceID"/>
<xsd:element maxOccurs="1" minOccurs="1" ref="provider:ServiceName"/>
<xsd:element maxOccurs="1" minOccurs="1" ref="provider:VO"/>
<xsd:element maxOccurs="1" minOccurs="1" ref="provider:RI"/>
<xsd:element maxOccurs="1" minOccurs="1" ref="provider:ServiceClass"/>
<xsd:element maxOccurs="1" minOccurs="1" ref="provider:GHN"/>
<xsd:element maxOccurs="1" minOccurs="1" ref="rpns0:TerminationTime"/>
<xsd:element maxOccurs="unbounded" minOccurs="1" ref="provider:Scope"/>
<xsd:element maxOccurs="1" minOccurs="1" ref="rpns0:CurrentTime"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:schema>
</types>
<message name="ReportID">
<part name="request" element="tns:reportID"/>
</message>
<message name="NoSuchReportFaultMessage">
<part name="fault" element="tns:NoSuchReportFaultType"/>
</message>
<message name="GetReportResponseMessage">
<part name="request" element="tns:report"/>
</message>
<message name="GetReportInputMessage">
<part name="request" element="tns:reportID"/>
</message>
<message name="InvalidScopeFaultMessage">
<part name="fault" element="vretypes:InvalidScopeFaultType"/>
</message>
<message name="VoidMessage">
<part name="response" element="tns:VOID"/>
</message>
<message name="SendReportInputMessage">
<part name="request" element="tns:sendReportParameters"/>
</message>
<portType name="ReportingPortType" wsrp:ResourceProperties="ReportingPortTypeGTWSDLResourceProperties">
<operation name="SendReport">
<input message="tns:SendReportInputMessage"/>
<output message="tns:VoidMessage"/>
<fault name="fault" message="tns:InvalidScopeFaultMessage"/>
</operation>
<operation name="GetReport">
<input message="tns:GetReportInputMessage"/>
<output message="tns:GetReportResponseMessage"/>
<fault name="fault2" message="tns:NoSuchReportFaultMessage"/>
<fault name="fault1" message="tns:InvalidScopeFaultMessage"/>
</operation>
<operation name="GetMultipleResourceProperties">
<input name="GetMultipleResourcePropertiesRequest" message="gtwsdl0:GetMultipleResourcePropertiesRequest" wsa:Action="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceProperties/GetMultipleResourceProperties"/>
<output name="GetMultipleResourcePropertiesResponse" message="gtwsdl0:GetMultipleResourcePropertiesResponse" wsa:Action="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceProperties/GetMultipleResourcePropertiesResponse"/>
<fault name="InvalidResourcePropertyQNameFault" message="gtwsdl0:InvalidResourcePropertyQNameFault"/>
<fault name="ResourceUnknownFault" message="gtwsdl0:ResourceUnknownFault"/>
</operation>
<operation name="GetResourceProperty">
<input name="GetResourcePropertyRequest" message="gtwsdl0:GetResourcePropertyRequest" wsa:Action="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceProperties/GetResourceProperty"/>
<output name="GetResourcePropertyResponse" message="gtwsdl0:GetResourcePropertyResponse" wsa:Action="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceProperties/GetResourcePropertyResponse"/>
<fault name="InvalidResourcePropertyQNameFault" message="gtwsdl0:InvalidResourcePropertyQNameFault"/>
<fault name="ResourceUnknownFault" message="gtwsdl0:ResourceUnknownFault"/>
</operation>
<operation name="Destroy">
<input message="wsrlw:DestroyRequest" wsa:Action="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceLifetime/Destroy"/>
<output message="wsrlw:DestroyResponse" wsa:Action="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceLifetime/DestroyResponse"/>
<fault name="ResourceUnknownFault" message="wsrlw:ResourceUnknownFault"/>
<fault name="ResourceNotDestroyedFault" message="wsrlw:ResourceNotDestroyedFault"/>
</operation>
<operation name="QueryResourceProperties">
<input name="QueryResourcePropertiesRequest" message="gtwsdl0:QueryResourcePropertiesRequest" wsa:Action="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceProperties/QueryResourceProperties"/>
<output name="QueryResourcePropertiesResponse" message="gtwsdl0:QueryResourcePropertiesResponse" wsa:Action="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceProperties/QueryResourcePropertiesResponse"/>
<fault name="UnknownQueryExpressionDialectFault" message="gtwsdl0:UnknownQueryExpressionDialectFault"/>
<fault name="QueryEvaluationErrorFault" message="gtwsdl0:QueryEvaluationErrorFault"/>
<fault name="InvalidQueryExpressionFault" message="gtwsdl0:InvalidQueryExpressionFault"/>
<fault name="InvalidResourcePropertyQNameFault" message="gtwsdl0:InvalidResourcePropertyQNameFault"/>
<fault name="ResourceUnknownFault" message="gtwsdl0:ResourceUnknownFault"/>
</operation>
<operation name="SetResourceProperties">
<input name="SetResourcePropertiesRequest" message="gtwsdl0:SetResourcePropertiesRequest" wsa:Action="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceProperties/SetResourceProperties"/>
<output name="SetResourcePropertiesResponse" message="gtwsdl0:SetResourcePropertiesResponse" wsa:Action="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceProperties/SetResourcePropertiesResponse"/>
<fault name="InvalidSetResourcePropertiesRequestContentFault" message="gtwsdl0:InvalidSetResourcePropertiesRequestContentFault"/>
<fault name="InvalidResourcePropertyQNameFault" message="gtwsdl0:InvalidResourcePropertyQNameFault"/>
<fault name="ResourceUnknownFault" message="gtwsdl0:ResourceUnknownFault"/>
<fault name="SetResourcePropertyRequestFailedFault" message="gtwsdl0:SetResourcePropertyRequestFailedFault"/>
<fault name="UnableToModifyResourcePropertyFault" message="gtwsdl0:UnableToModifyResourcePropertyFault"/>
</operation>
<operation name="SetTerminationTime">
<input message="wsrlw:SetTerminationTimeRequest" wsa:Action="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceLifetime/SetTerminationTime"/>
<output message="wsrlw:SetTerminationTimeResponse" wsa:Action="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceLifetime/SetTerminationTimeResponse"/>
<fault name="ResourceUnknownFault" message="wsrlw:ResourceUnknownFault"/>
<fault name="UnableToSetTerminationTimeFault" message="wsrlw:UnableToSetTerminationTimeFault"/>
<fault name="TerminationTimeChangeRejectedFault" message="wsrlw:TerminationTimeChangeRejectedFault"/>
</operation>
</portType>
</definitions>

View File

@ -0,0 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<wsdl:definitions name="Reporting" targetNamespace="http://gcube-system.org/namespaces/vremanagement/resourcemanager/reporting/service" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:binding="http://gcube-system.org/namespaces/vremanagement/resourcemanager/reporting/bindings" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/">
<wsdl:import namespace="http://gcube-system.org/namespaces/vremanagement/resourcemanager/reporting/bindings" location="Reporting_bindings.wsdl"/>
<wsdl:service name="ReportingService">
<wsdl:port name="ReportingPortTypePort" binding="binding:ReportingPortTypeSOAPBinding">
<soap:address location="http://localhost:8080/wsrf/services/"/>
</wsdl:port>
</wsdl:service>
</wsdl:definitions>

View File

@ -0,0 +1,194 @@
<?xml version="1.0" encoding="UTF-8"?>
<definitions name="ResourceBinder"
targetNamespace="http://gcube-system.org/namespaces/vremanagement/resourcemanager/binder"
xmlns="http://schemas.xmlsoap.org/wsdl/"
xmlns:tns="http://gcube-system.org/namespaces/vremanagement/resourcemanager/binder"
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
xmlns:provider="http://gcube-system.org/namespaces/common/core/porttypes/GCUBEProvider"
xmlns:coretypes="http://gcube-system.org/namespaces/common/core/types"
xmlns:corefaults="http://gcube-system.org/namespaces/common/core/faults"
xmlns:vretypes="http://gcube-system.org/common/vremanagement/types"
xmlns:wsrlw="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceLifetime-1.2-draft-01.wsdl"
xmlns:wsrp="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceProperties-1.2-draft-01.xsd"
xmlns:wsntw="http://docs.oasis-open.org/wsn/2004/06/wsn-WS-BaseNotification-1.2-draft-01.wsdl"
xmlns:wsdlpp="http://www.globus.org/namespaces/2004/10/WSDLPreprocessor"
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<import namespace="http://gcube-system.org/namespaces/common/core/porttypes/GCUBEProvider" location="../gcube/common/core/providers/GCUBEProvider.wsdl"/>
<import namespace="http://gcube-system.org/namespaces/common/core/faults" location="../gcube/common/core/faults/GCUBEFaults.wsdl"/>
<import namespace="http://gcube-system.org/common/vremanagement/types" location="VREManagementTypes.wsdl"/>
<!--============================================================
T Y P E S
============================================================-->
<types>
<xsd:schema targetNamespace="http://gcube-system.org/namespaces/vremanagement/resourcemanager/binder"
xmlns:tns="http://gcube-system.org/namespaces/vremanagement/resourcemanager/binder"
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<xsd:import namespace="http://gcube-system.org/namespaces/common/core/types" schemaLocation="../gcube/common/core/types/GCUBETypes.xsd"/>
<xsd:import namespace="http://gcube-system.org/common/vremanagement/types" schemaLocation="VREManagementTypes.xsd"/>
<xsd:simpleType name="resourceID">
<xsd:restriction base="xsd:string" />
</xsd:simpleType>
<xsd:complexType name="PackageItem">
<xsd:sequence>
<xsd:element name="ServiceClass" type="xsd:string"/>
<xsd:element name="ServiceName" type="xsd:string"/>
<xsd:element name="ServiceVersion" type="xsd:string" minOccurs="0" maxOccurs="1"/>
<xsd:element name="PackageName" type="xsd:string"/>
<xsd:element name="PackageVersion" type="xsd:string" minOccurs="0" maxOccurs="1"/>
<xsd:element name="TargetGHNName" type="xsd:string" minOccurs="0" maxOccurs="1"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="SoftwareList">
<xsd:sequence>
<xsd:element name="software" type="tns:PackageItem" minOccurs="1" maxOccurs="unbounded"/>
<xsd:element name="suggestedTargetGHNNames" type="tns:resourceID" minOccurs="0" maxOccurs="unbounded"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="ResourceItem">
<xsd:sequence>
<xsd:element name="ID" type="tns:resourceID"/>
<xsd:element name="Type" type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="ResourceList">
<xsd:sequence>
<xsd:element name="resource" type="tns:ResourceItem" minOccurs="1" maxOccurs="unbounded"/>
</xsd:sequence>
</xsd:complexType>
<xsd:element name="targetScope" type="coretypes:scope"/>
<xsd:element name="addResourcesParameters">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="software" type="tns:SoftwareList" minOccurs="0" maxOccurs="1"/>
<xsd:element name="resources" type="tns:ResourceList" minOccurs="0" maxOccurs="1"/>
<xsd:element ref="tns:targetScope"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="updateResourcesParameters">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="software" type="tns:SoftwareList" minOccurs="0" maxOccurs="1"/>
<xsd:element name="newSoftware" type="tns:SoftwareList" minOccurs="0" maxOccurs="1"/>
<xsd:element name="resources" type="tns:ResourceList" minOccurs="0" maxOccurs="1"/>
<xsd:element name="newResources" type="tns:ResourceList" minOccurs="0" maxOccurs="1"/>
<xsd:element ref="tns:targetScope"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="removeResourcesParameters">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="software" type="tns:SoftwareList" minOccurs="0" maxOccurs="1"/>
<xsd:element name="resources" type="tns:ResourceList" minOccurs="0" maxOccurs="1"/>
<xsd:element ref="tns:targetScope"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="GHN" type="tns:resourceID"/>
<xsd:element name="reportID" type="xsd:string"/>
<xsd:element name="ResourcesCreationFaultType">
<xsd:complexType>
<xsd:complexContent>
<xsd:extension base="corefaults:GCUBEUnrecoverableFault">
<xsd:sequence/>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
</xsd:element>
<xsd:element name="ResourcesRemovalFaultType">
<xsd:complexType>
<xsd:complexContent>
<xsd:extension base="corefaults:GCUBEUnrecoverableFault">
<xsd:sequence/>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
</xsd:element>
</xsd:schema>
</types>
<!--============================================================
M E S S A G E S
============================================================-->
<message name="AddResourcesInputMessage">
<part name="request" element="tns:addResourcesParameters"/>
</message>
<!--message name="UpdateResourcesInputMessage">
<part name="request" element="tns:addResourcesParameters"/>
</message-->
<message name="ReportID">
<part name="request" element="tns:reportID"/>
</message>
<message name="RemoveResourcesInputMessage">
<part name="request" element="tns:removeResourcesParameters"/>
</message>
<wsdl:message name="InvalidScopeFaultMessage">
<part name="fault" element="vretypes:InvalidScopeFaultType"/>
</wsdl:message>
<wsdl:message name="ResourcesCreationFaultMessage">
<part name="fault" element="tns:ResourcesCreationFaultType"/>
</wsdl:message>
<wsdl:message name="ResourcesRemovalFaultMessage">
<part name="fault" element="tns:ResourcesRemovalFaultType"/>
</wsdl:message>
<!--============================================================
P O R T T Y P E
============================================================-->
<portType name="ResourceBinderPortType"
wsdlpp:extends="provider:GCUBEProvider">
<operation name="AddResources">
<input message="tns:AddResourcesInputMessage"/>
<output message="tns:ReportID"/>
<fault name="fault" message="tns:ResourcesCreationFaultMessage"/>
<fault name="fault1" message="tns:InvalidScopeFaultMessage"/>
</operation>
<operation name="RemoveResources">
<input message="tns:RemoveResourcesInputMessage"/>
<output message="tns:ReportID"/>
<fault name="fault" message="tns:ResourcesRemovalFaultMessage"/>
<fault name="fault1" message="tns:InvalidScopeFaultMessage"/>
</operation>
<!--operation name="UpdateResources">
<input message="tns:UpdateResourcesInputMessage"/>
<output message="tns:ReportID"/>
<fault name="fault" message="tns:ResourcesCreationFaultMessage"/>
<fault name="fault1" message="tns:InvalidScopeFaultMessage"/>
</operation-->
</portType>
</definitions>

View File

@ -0,0 +1,148 @@
<?xml version="1.0" encoding="UTF-8"?>
<wsdl:definitions name="ResourceBinder" targetNamespace="http://gcube-system.org/namespaces/vremanagement/resourcemanager/binder/bindings" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:porttype="http://gcube-system.org/namespaces/vremanagement/resourcemanager/binder" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/">
<wsdl:import namespace="http://gcube-system.org/namespaces/vremanagement/resourcemanager/binder" location="ResourceBinder_flattened.wsdl"/>
<wsdl:binding name="ResourceBinderPortTypeSOAPBinding" type="porttype:ResourceBinderPortType">
<soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
<wsdl:operation name="AddResources">
<soap:operation soapAction="http://gcube-system.org/namespaces/vremanagement/resourcemanager/binder/ResourceBinderPortType/AddResourcesRequest"/>
<wsdl:input>
<soap:body use="literal"/>
</wsdl:input>
<wsdl:output>
<soap:body use="literal"/>
</wsdl:output>
<wsdl:fault name="fault1">
<soap:fault name="fault1" use="literal"/>
</wsdl:fault>
<wsdl:fault name="fault">
<soap:fault name="fault" use="literal"/>
</wsdl:fault>
</wsdl:operation>
<wsdl:operation name="RemoveResources">
<soap:operation soapAction="http://gcube-system.org/namespaces/vremanagement/resourcemanager/binder/ResourceBinderPortType/RemoveResourcesRequest"/>
<wsdl:input>
<soap:body use="literal"/>
</wsdl:input>
<wsdl:output>
<soap:body use="literal"/>
</wsdl:output>
<wsdl:fault name="fault1">
<soap:fault name="fault1" use="literal"/>
</wsdl:fault>
<wsdl:fault name="fault">
<soap:fault name="fault" use="literal"/>
</wsdl:fault>
</wsdl:operation>
<wsdl:operation name="GetMultipleResourceProperties">
<soap:operation soapAction="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceProperties/GetMultipleResourceProperties"/>
<wsdl:input>
<soap:body use="literal"/>
</wsdl:input>
<wsdl:output>
<soap:body use="literal"/>
</wsdl:output>
<wsdl:fault name="InvalidResourcePropertyQNameFault">
<soap:fault name="InvalidResourcePropertyQNameFault" use="literal"/>
</wsdl:fault>
<wsdl:fault name="ResourceUnknownFault">
<soap:fault name="ResourceUnknownFault" use="literal"/>
</wsdl:fault>
</wsdl:operation>
<wsdl:operation name="GetResourceProperty">
<soap:operation soapAction="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceProperties/GetResourceProperty"/>
<wsdl:input>
<soap:body use="literal"/>
</wsdl:input>
<wsdl:output>
<soap:body use="literal"/>
</wsdl:output>
<wsdl:fault name="InvalidResourcePropertyQNameFault">
<soap:fault name="InvalidResourcePropertyQNameFault" use="literal"/>
</wsdl:fault>
<wsdl:fault name="ResourceUnknownFault">
<soap:fault name="ResourceUnknownFault" use="literal"/>
</wsdl:fault>
</wsdl:operation>
<wsdl:operation name="Destroy">
<soap:operation soapAction="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceLifetime/Destroy"/>
<wsdl:input>
<soap:body use="literal"/>
</wsdl:input>
<wsdl:output>
<soap:body use="literal"/>
</wsdl:output>
<wsdl:fault name="ResourceUnknownFault">
<soap:fault name="ResourceUnknownFault" use="literal"/>
</wsdl:fault>
<wsdl:fault name="ResourceNotDestroyedFault">
<soap:fault name="ResourceNotDestroyedFault" use="literal"/>
</wsdl:fault>
</wsdl:operation>
<wsdl:operation name="QueryResourceProperties">
<soap:operation soapAction="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceProperties/QueryResourceProperties"/>
<wsdl:input>
<soap:body use="literal"/>
</wsdl:input>
<wsdl:output>
<soap:body use="literal"/>
</wsdl:output>
<wsdl:fault name="UnknownQueryExpressionDialectFault">
<soap:fault name="UnknownQueryExpressionDialectFault" use="literal"/>
</wsdl:fault>
<wsdl:fault name="QueryEvaluationErrorFault">
<soap:fault name="QueryEvaluationErrorFault" use="literal"/>
</wsdl:fault>
<wsdl:fault name="InvalidQueryExpressionFault">
<soap:fault name="InvalidQueryExpressionFault" use="literal"/>
</wsdl:fault>
<wsdl:fault name="InvalidResourcePropertyQNameFault">
<soap:fault name="InvalidResourcePropertyQNameFault" use="literal"/>
</wsdl:fault>
<wsdl:fault name="ResourceUnknownFault">
<soap:fault name="ResourceUnknownFault" use="literal"/>
</wsdl:fault>
</wsdl:operation>
<wsdl:operation name="SetResourceProperties">
<soap:operation soapAction="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceProperties/SetResourceProperties"/>
<wsdl:input>
<soap:body use="literal"/>
</wsdl:input>
<wsdl:output>
<soap:body use="literal"/>
</wsdl:output>
<wsdl:fault name="InvalidSetResourcePropertiesRequestContentFault">
<soap:fault name="InvalidSetResourcePropertiesRequestContentFault" use="literal"/>
</wsdl:fault>
<wsdl:fault name="InvalidResourcePropertyQNameFault">
<soap:fault name="InvalidResourcePropertyQNameFault" use="literal"/>
</wsdl:fault>
<wsdl:fault name="ResourceUnknownFault">
<soap:fault name="ResourceUnknownFault" use="literal"/>
</wsdl:fault>
<wsdl:fault name="SetResourcePropertyRequestFailedFault">
<soap:fault name="SetResourcePropertyRequestFailedFault" use="literal"/>
</wsdl:fault>
<wsdl:fault name="UnableToModifyResourcePropertyFault">
<soap:fault name="UnableToModifyResourcePropertyFault" use="literal"/>
</wsdl:fault>
</wsdl:operation>
<wsdl:operation name="SetTerminationTime">
<soap:operation soapAction="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceLifetime/SetTerminationTime"/>
<wsdl:input>
<soap:body use="literal"/>
</wsdl:input>
<wsdl:output>
<soap:body use="literal"/>
</wsdl:output>
<wsdl:fault name="ResourceUnknownFault">
<soap:fault name="ResourceUnknownFault" use="literal"/>
</wsdl:fault>
<wsdl:fault name="UnableToSetTerminationTimeFault">
<soap:fault name="UnableToSetTerminationTimeFault" use="literal"/>
</wsdl:fault>
<wsdl:fault name="TerminationTimeChangeRejectedFault">
<soap:fault name="TerminationTimeChangeRejectedFault" use="literal"/>
</wsdl:fault>
</wsdl:operation>
</wsdl:binding>
</wsdl:definitions>

View File

@ -0,0 +1,205 @@
<?xml version="1.0" encoding="UTF-8"?>
<definitions name="ResourceBinder" targetNamespace="http://gcube-system.org/namespaces/vremanagement/resourcemanager/binder" xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:coretypes="http://gcube-system.org/namespaces/common/core/types" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:wsntw="http://docs.oasis-open.org/wsn/2004/06/wsn-WS-BaseNotification-1.2-draft-01.wsdl" xmlns:provider="http://gcube-system.org/namespaces/common/core/porttypes/GCUBEProvider" xmlns:corefaults="http://gcube-system.org/namespaces/common/core/faults" xmlns:wsdlpp="http://www.globus.org/namespaces/2004/10/WSDLPreprocessor" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/03/addressing" xmlns:gtwsdl0="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceProperties-1.2-draft-01.wsdl" xmlns:tns="http://gcube-system.org/namespaces/vremanagement/resourcemanager/binder" xmlns:wsrlw="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceLifetime-1.2-draft-01.wsdl" xmlns:wsrp="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceProperties-1.2-draft-01.xsd" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:vretypes="http://gcube-system.org/common/vremanagement/types">
<import namespace="http://gcube-system.org/namespaces/common/core/faults" location="../gcube/common/core/faults/GCUBEFaults.wsdl"/>
<import namespace="http://gcube-system.org/namespaces/common/core/porttypes/GCUBEProvider" location="../gcube/common/core/providers/GCUBEProvider.wsdl"/>
<import namespace="http://gcube-system.org/common/vremanagement/types" location="VREManagementTypes.wsdl"/>
<import namespace="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceLifetime-1.2-draft-01.wsdl" location="../wsrf/lifetime/WS-ResourceLifetime.wsdl"/>
<import namespace="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceProperties-1.2-draft-01.wsdl" location="../wsrf/properties/WS-ResourceProperties.wsdl"/>
<types>
<xsd:schema targetNamespace="http://gcube-system.org/namespaces/vremanagement/resourcemanager/binder" xmlns:rpns0="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceLifetime-1.2-draft-01.xsd" xmlns:tns="http://gcube-system.org/namespaces/vremanagement/resourcemanager/binder" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<xsd:import namespace="http://schemas.xmlsoap.org/ws/2004/03/addressing" schemaLocation="../ws/addressing/WS-Addressing.xsd"/>
<xsd:import namespace="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceLifetime-1.2-draft-01.xsd" schemaLocation="../wsrf/lifetime/WS-ResourceLifetime.xsd"/>
<xsd:import namespace="http://gcube-system.org/namespaces/common/core/porttypes/GCUBEProvider" schemaLocation="../gcube/common/core/providers/GCUBEProvider.xsd"/>
<xsd:import namespace="http://gcube-system.org/namespaces/common/core/types" schemaLocation="../gcube/common/core/types/GCUBETypes.xsd"/>
<xsd:import namespace="http://gcube-system.org/common/vremanagement/types" schemaLocation="VREManagementTypes.xsd"/>
<xsd:simpleType name="resourceID">
<xsd:restriction base="xsd:string"/>
</xsd:simpleType>
<xsd:complexType name="PackageItem">
<xsd:sequence>
<xsd:element name="ServiceClass" type="xsd:string"/>
<xsd:element name="ServiceName" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="ServiceVersion" type="xsd:string"/>
<xsd:element name="PackageName" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="PackageVersion" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="TargetGHNName" type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="SoftwareList">
<xsd:sequence>
<xsd:element maxOccurs="unbounded" minOccurs="1" name="software" type="tns:PackageItem"/>
<xsd:element maxOccurs="unbounded" minOccurs="0" name="suggestedTargetGHNNames" type="tns:resourceID"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="ResourceItem">
<xsd:sequence>
<xsd:element name="ID" type="tns:resourceID"/>
<xsd:element name="Type" type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="ResourceList">
<xsd:sequence>
<xsd:element maxOccurs="unbounded" minOccurs="1" name="resource" type="tns:ResourceItem"/>
</xsd:sequence>
</xsd:complexType>
<xsd:element name="targetScope" type="coretypes:scope"/>
<xsd:element name="addResourcesParameters">
<xsd:complexType>
<xsd:sequence>
<xsd:element maxOccurs="1" minOccurs="0" name="software" type="tns:SoftwareList"/>
<xsd:element maxOccurs="1" minOccurs="0" name="resources" type="tns:ResourceList"/>
<xsd:element ref="tns:targetScope"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="updateResourcesParameters">
<xsd:complexType>
<xsd:sequence>
<xsd:element maxOccurs="1" minOccurs="0" name="software" type="tns:SoftwareList"/>
<xsd:element maxOccurs="1" minOccurs="0" name="newSoftware" type="tns:SoftwareList"/>
<xsd:element maxOccurs="1" minOccurs="0" name="resources" type="tns:ResourceList"/>
<xsd:element maxOccurs="1" minOccurs="0" name="newResources" type="tns:ResourceList"/>
<xsd:element ref="tns:targetScope"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="removeResourcesParameters">
<xsd:complexType>
<xsd:sequence>
<xsd:element maxOccurs="1" minOccurs="0" name="software" type="tns:SoftwareList"/>
<xsd:element maxOccurs="1" minOccurs="0" name="resources" type="tns:ResourceList"/>
<xsd:element ref="tns:targetScope"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="GHN" type="tns:resourceID"/>
<xsd:element name="reportID" type="xsd:string"/>
<xsd:element name="ResourcesCreationFaultType">
<xsd:complexType>
<xsd:complexContent>
<xsd:extension base="corefaults:GCUBEUnrecoverableFault">
<xsd:sequence/>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
</xsd:element>
<xsd:element name="ResourcesRemovalFaultType">
<xsd:complexType>
<xsd:complexContent>
<xsd:extension base="corefaults:GCUBEUnrecoverableFault">
<xsd:sequence/>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
</xsd:element>
<xsd:element name="ResourceBinderPortTypeGTWSDLResourceProperties">
<xsd:complexType>
<xsd:sequence>
<xsd:element maxOccurs="1" minOccurs="1" ref="provider:ServiceID"/>
<xsd:element maxOccurs="1" minOccurs="1" ref="provider:ServiceName"/>
<xsd:element maxOccurs="1" minOccurs="1" ref="provider:VO"/>
<xsd:element maxOccurs="1" minOccurs="1" ref="provider:RI"/>
<xsd:element maxOccurs="1" minOccurs="1" ref="provider:ServiceClass"/>
<xsd:element maxOccurs="1" minOccurs="1" ref="provider:GHN"/>
<xsd:element maxOccurs="1" minOccurs="1" ref="rpns0:TerminationTime"/>
<xsd:element maxOccurs="unbounded" minOccurs="1" ref="provider:Scope"/>
<xsd:element maxOccurs="1" minOccurs="1" ref="rpns0:CurrentTime"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:schema>
</types>
<message name="ReportID">
<part name="request" element="tns:reportID"/>
</message>
<message name="ResourcesRemovalFaultMessage">
<part name="fault" element="tns:ResourcesRemovalFaultType"/>
</message>
<message name="ResourcesCreationFaultMessage">
<part name="fault" element="tns:ResourcesCreationFaultType"/>
</message>
<message name="AddResourcesInputMessage">
<part name="request" element="tns:addResourcesParameters"/>
</message>
<message name="InvalidScopeFaultMessage">
<part name="fault" element="vretypes:InvalidScopeFaultType"/>
</message>
<message name="RemoveResourcesInputMessage">
<part name="request" element="tns:removeResourcesParameters"/>
</message>
<portType name="ResourceBinderPortType" wsrp:ResourceProperties="ResourceBinderPortTypeGTWSDLResourceProperties">
<operation name="AddResources">
<input message="tns:AddResourcesInputMessage"/>
<output message="tns:ReportID"/>
<fault name="fault1" message="tns:InvalidScopeFaultMessage"/>
<fault name="fault" message="tns:ResourcesCreationFaultMessage"/>
</operation>
<operation name="RemoveResources">
<input message="tns:RemoveResourcesInputMessage"/>
<output message="tns:ReportID"/>
<fault name="fault1" message="tns:InvalidScopeFaultMessage"/>
<fault name="fault" message="tns:ResourcesRemovalFaultMessage"/>
</operation>
<operation name="GetMultipleResourceProperties">
<input name="GetMultipleResourcePropertiesRequest" message="gtwsdl0:GetMultipleResourcePropertiesRequest" wsa:Action="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceProperties/GetMultipleResourceProperties"/>
<output name="GetMultipleResourcePropertiesResponse" message="gtwsdl0:GetMultipleResourcePropertiesResponse" wsa:Action="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceProperties/GetMultipleResourcePropertiesResponse"/>
<fault name="InvalidResourcePropertyQNameFault" message="gtwsdl0:InvalidResourcePropertyQNameFault"/>
<fault name="ResourceUnknownFault" message="gtwsdl0:ResourceUnknownFault"/>
</operation>
<operation name="GetResourceProperty">
<input name="GetResourcePropertyRequest" message="gtwsdl0:GetResourcePropertyRequest" wsa:Action="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceProperties/GetResourceProperty"/>
<output name="GetResourcePropertyResponse" message="gtwsdl0:GetResourcePropertyResponse" wsa:Action="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceProperties/GetResourcePropertyResponse"/>
<fault name="InvalidResourcePropertyQNameFault" message="gtwsdl0:InvalidResourcePropertyQNameFault"/>
<fault name="ResourceUnknownFault" message="gtwsdl0:ResourceUnknownFault"/>
</operation>
<operation name="Destroy">
<input message="wsrlw:DestroyRequest" wsa:Action="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceLifetime/Destroy"/>
<output message="wsrlw:DestroyResponse" wsa:Action="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceLifetime/DestroyResponse"/>
<fault name="ResourceUnknownFault" message="wsrlw:ResourceUnknownFault"/>
<fault name="ResourceNotDestroyedFault" message="wsrlw:ResourceNotDestroyedFault"/>
</operation>
<operation name="QueryResourceProperties">
<input name="QueryResourcePropertiesRequest" message="gtwsdl0:QueryResourcePropertiesRequest" wsa:Action="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceProperties/QueryResourceProperties"/>
<output name="QueryResourcePropertiesResponse" message="gtwsdl0:QueryResourcePropertiesResponse" wsa:Action="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceProperties/QueryResourcePropertiesResponse"/>
<fault name="UnknownQueryExpressionDialectFault" message="gtwsdl0:UnknownQueryExpressionDialectFault"/>
<fault name="QueryEvaluationErrorFault" message="gtwsdl0:QueryEvaluationErrorFault"/>
<fault name="InvalidQueryExpressionFault" message="gtwsdl0:InvalidQueryExpressionFault"/>
<fault name="InvalidResourcePropertyQNameFault" message="gtwsdl0:InvalidResourcePropertyQNameFault"/>
<fault name="ResourceUnknownFault" message="gtwsdl0:ResourceUnknownFault"/>
</operation>
<operation name="SetResourceProperties">
<input name="SetResourcePropertiesRequest" message="gtwsdl0:SetResourcePropertiesRequest" wsa:Action="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceProperties/SetResourceProperties"/>
<output name="SetResourcePropertiesResponse" message="gtwsdl0:SetResourcePropertiesResponse" wsa:Action="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceProperties/SetResourcePropertiesResponse"/>
<fault name="InvalidSetResourcePropertiesRequestContentFault" message="gtwsdl0:InvalidSetResourcePropertiesRequestContentFault"/>
<fault name="InvalidResourcePropertyQNameFault" message="gtwsdl0:InvalidResourcePropertyQNameFault"/>
<fault name="ResourceUnknownFault" message="gtwsdl0:ResourceUnknownFault"/>
<fault name="SetResourcePropertyRequestFailedFault" message="gtwsdl0:SetResourcePropertyRequestFailedFault"/>
<fault name="UnableToModifyResourcePropertyFault" message="gtwsdl0:UnableToModifyResourcePropertyFault"/>
</operation>
<operation name="SetTerminationTime">
<input message="wsrlw:SetTerminationTimeRequest" wsa:Action="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceLifetime/SetTerminationTime"/>
<output message="wsrlw:SetTerminationTimeResponse" wsa:Action="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceLifetime/SetTerminationTimeResponse"/>
<fault name="ResourceUnknownFault" message="wsrlw:ResourceUnknownFault"/>
<fault name="UnableToSetTerminationTimeFault" message="wsrlw:UnableToSetTerminationTimeFault"/>
<fault name="TerminationTimeChangeRejectedFault" message="wsrlw:TerminationTimeChangeRejectedFault"/>
</operation>
</portType>
</definitions>

View File

@ -0,0 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<wsdl:definitions name="ResourceBinder" targetNamespace="http://gcube-system.org/namespaces/vremanagement/resourcemanager/binder/service" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:binding="http://gcube-system.org/namespaces/vremanagement/resourcemanager/binder/bindings" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/">
<wsdl:import namespace="http://gcube-system.org/namespaces/vremanagement/resourcemanager/binder/bindings" location="ResourceBinder_bindings.wsdl"/>
<wsdl:service name="ResourceBinderService">
<wsdl:port name="ResourceBinderPortTypePort" binding="binding:ResourceBinderPortTypeSOAPBinding">
<soap:address location="http://localhost:8080/wsrf/services/"/>
</wsdl:port>
</wsdl:service>
</wsdl:definitions>

View File

@ -0,0 +1,147 @@
<?xml version="1.0" encoding="UTF-8"?>
<definitions name="ScopeController"
targetNamespace="http://gcube-system.org/namespaces/vremanagement/resourcemanager/controller"
xmlns="http://schemas.xmlsoap.org/wsdl/"
xmlns:tns="http://gcube-system.org/namespaces/vremanagement/resourcemanager/controller"
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
xmlns:provider="http://gcube-system.org/namespaces/common/core/porttypes/GCUBEProvider"
xmlns:coretypes="http://gcube-system.org/namespaces/common/core/types"
xmlns:corefaults="http://gcube-system.org/namespaces/common/core/faults"
xmlns:vretypes="http://gcube-system.org/common/vremanagement/types"
xmlns:wsrlw="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceLifetime-1.2-draft-01.wsdl"
xmlns:wsrp="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceProperties-1.2-draft-01.xsd"
xmlns:wsntw="http://docs.oasis-open.org/wsn/2004/06/wsn-WS-BaseNotification-1.2-draft-01.wsdl"
xmlns:wsdlpp="http://www.globus.org/namespaces/2004/10/WSDLPreprocessor"
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<import namespace="http://gcube-system.org/namespaces/common/core/porttypes/GCUBEProvider" location="../gcube/common/core/providers/GCUBEProvider.wsdl"/>
<import namespace="http://gcube-system.org/namespaces/common/core/faults" location="../gcube/common/core/faults/GCUBEFaults.wsdl"/>
<import namespace="http://gcube-system.org/common/vremanagement/types" location="VREManagementTypes.wsdl"/>
<!--============================================================
T Y P E S
============================================================-->
<types>
<xsd:schema targetNamespace="http://gcube-system.org/namespaces/vremanagement/resourcemanager/controller"
xmlns:tns="http://gcube-system.org/namespaces/vremanagement/resourcemanager/controller"
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<xsd:import namespace="http://gcube-system.org/namespaces/common/core/types" schemaLocation="../gcube/common/core/types/GCUBETypes.xsd"/>
<xsd:import namespace="http://gcube-system.org/common/vremanagement/types" schemaLocation="VREManagementTypes.xsd"/>
<xsd:element name="reportID" type="xsd:string"/>
<xsd:element name="VOID">
<xsd:complexType/>
</xsd:element>
<xsd:complexType name="ScopeOption">
<xsd:sequence>
<xsd:element name="name" type="xsd:string"/>
<xsd:element name="value" type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>
<xsd:element name="targetScope" type="coretypes:scope"/>
<xsd:element name="optionsParameters">
<xsd:complexType>
<xsd:sequence>
<xsd:element ref="tns:targetScope"/>
<xsd:element name="scopeOptionList" type="tns:ScopeOption" minOccurs="1" maxOccurs="unbounded"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="createScopeParameters">
<xsd:complexType>
<xsd:sequence>
<xsd:element ref="tns:targetScope"/>
<xsd:element name="serviceMap" type="xsd:string" minOccurs="0" maxOccurs="1"/>
<xsd:element ref="tns:optionsParameters"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="InvalidOptionsFaultType">
<xsd:complexType>
<xsd:complexContent>
<xsd:extension base="corefaults:GCUBEUnrecoverableFault">
<xsd:sequence/>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
</xsd:element>
</xsd:schema>
</types>
<!--============================================================
M E S S A G E S
============================================================-->
<message name="ChangeScopeOptionsInputMessage">
<part name="request" element="tns:optionsParameters"/>
</message>
<message name="DisposeScopeInputMessage">
<part name="request" element="tns:targetScope"/>
</message>
<message name="CreateScopeInputMessage">
<part name="request" element="tns:createScopeParameters"/>
</message>
<message name="ReportID">
<part name="request" element="tns:reportID"/>
</message>
<message name="VoidMessage">
<part name="response" element="tns:VOID"/>
</message>
<wsdl:message name="InvalidScopeFaultMessage">
<part name="fault" element="vretypes:InvalidScopeFaultType"/>
</wsdl:message>
<wsdl:message name="InvalidOptionsFaultMessage">
<part name="fault" element="tns:InvalidOptionsFaultType"/>
</wsdl:message>
<!--============================================================
P O R T T Y P E
============================================================-->
<portType name="ScopeControllerPortType"
wsdlpp:extends="provider:GCUBEProvider">
<operation name="ChangeScopeOptions">
<input message="tns:ChangeScopeOptionsInputMessage"/>
<output message="tns:VoidMessage"/>
<fault name="fault" message="tns:InvalidOptionsFaultMessage"/>
<fault name="fault1" message="tns:InvalidScopeFaultMessage"/>
</operation>
<operation name="DisposeScope">
<input message="tns:DisposeScopeInputMessage"/>
<output message="tns:ReportID"/>
<fault name="fault" message="tns:InvalidScopeFaultMessage"/>
</operation>
<operation name="CreateScope">
<input message="tns:CreateScopeInputMessage"/>
<output message="tns:VoidMessage"/>
<fault name="fault1" message="tns:InvalidScopeFaultMessage"/>
<fault name="fault2" message="tns:InvalidOptionsFaultMessage"/>
</operation>
</portType>
</definitions>

View File

@ -0,0 +1,160 @@
<?xml version="1.0" encoding="UTF-8"?>
<wsdl:definitions name="ScopeController" targetNamespace="http://gcube-system.org/namespaces/vremanagement/resourcemanager/controller/bindings" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:porttype="http://gcube-system.org/namespaces/vremanagement/resourcemanager/controller" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/">
<wsdl:import namespace="http://gcube-system.org/namespaces/vremanagement/resourcemanager/controller" location="ScopeController_flattened.wsdl"/>
<wsdl:binding name="ScopeControllerPortTypeSOAPBinding" type="porttype:ScopeControllerPortType">
<soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
<wsdl:operation name="ChangeScopeOptions">
<soap:operation soapAction="http://gcube-system.org/namespaces/vremanagement/resourcemanager/controller/ScopeControllerPortType/ChangeScopeOptionsRequest"/>
<wsdl:input>
<soap:body use="literal"/>
</wsdl:input>
<wsdl:output>
<soap:body use="literal"/>
</wsdl:output>
<wsdl:fault name="fault1">
<soap:fault name="fault1" use="literal"/>
</wsdl:fault>
<wsdl:fault name="fault">
<soap:fault name="fault" use="literal"/>
</wsdl:fault>
</wsdl:operation>
<wsdl:operation name="DisposeScope">
<soap:operation soapAction="http://gcube-system.org/namespaces/vremanagement/resourcemanager/controller/ScopeControllerPortType/DisposeScopeRequest"/>
<wsdl:input>
<soap:body use="literal"/>
</wsdl:input>
<wsdl:output>
<soap:body use="literal"/>
</wsdl:output>
<wsdl:fault name="fault">
<soap:fault name="fault" use="literal"/>
</wsdl:fault>
</wsdl:operation>
<wsdl:operation name="CreateScope">
<soap:operation soapAction="http://gcube-system.org/namespaces/vremanagement/resourcemanager/controller/ScopeControllerPortType/CreateScopeRequest"/>
<wsdl:input>
<soap:body use="literal"/>
</wsdl:input>
<wsdl:output>
<soap:body use="literal"/>
</wsdl:output>
<wsdl:fault name="fault2">
<soap:fault name="fault2" use="literal"/>
</wsdl:fault>
<wsdl:fault name="fault1">
<soap:fault name="fault1" use="literal"/>
</wsdl:fault>
</wsdl:operation>
<wsdl:operation name="GetMultipleResourceProperties">
<soap:operation soapAction="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceProperties/GetMultipleResourceProperties"/>
<wsdl:input>
<soap:body use="literal"/>
</wsdl:input>
<wsdl:output>
<soap:body use="literal"/>
</wsdl:output>
<wsdl:fault name="InvalidResourcePropertyQNameFault">
<soap:fault name="InvalidResourcePropertyQNameFault" use="literal"/>
</wsdl:fault>
<wsdl:fault name="ResourceUnknownFault">
<soap:fault name="ResourceUnknownFault" use="literal"/>
</wsdl:fault>
</wsdl:operation>
<wsdl:operation name="GetResourceProperty">
<soap:operation soapAction="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceProperties/GetResourceProperty"/>
<wsdl:input>
<soap:body use="literal"/>
</wsdl:input>
<wsdl:output>
<soap:body use="literal"/>
</wsdl:output>
<wsdl:fault name="InvalidResourcePropertyQNameFault">
<soap:fault name="InvalidResourcePropertyQNameFault" use="literal"/>
</wsdl:fault>
<wsdl:fault name="ResourceUnknownFault">
<soap:fault name="ResourceUnknownFault" use="literal"/>
</wsdl:fault>
</wsdl:operation>
<wsdl:operation name="Destroy">
<soap:operation soapAction="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceLifetime/Destroy"/>
<wsdl:input>
<soap:body use="literal"/>
</wsdl:input>
<wsdl:output>
<soap:body use="literal"/>
</wsdl:output>
<wsdl:fault name="ResourceUnknownFault">
<soap:fault name="ResourceUnknownFault" use="literal"/>
</wsdl:fault>
<wsdl:fault name="ResourceNotDestroyedFault">
<soap:fault name="ResourceNotDestroyedFault" use="literal"/>
</wsdl:fault>
</wsdl:operation>
<wsdl:operation name="QueryResourceProperties">
<soap:operation soapAction="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceProperties/QueryResourceProperties"/>
<wsdl:input>
<soap:body use="literal"/>
</wsdl:input>
<wsdl:output>
<soap:body use="literal"/>
</wsdl:output>
<wsdl:fault name="UnknownQueryExpressionDialectFault">
<soap:fault name="UnknownQueryExpressionDialectFault" use="literal"/>
</wsdl:fault>
<wsdl:fault name="QueryEvaluationErrorFault">
<soap:fault name="QueryEvaluationErrorFault" use="literal"/>
</wsdl:fault>
<wsdl:fault name="InvalidQueryExpressionFault">
<soap:fault name="InvalidQueryExpressionFault" use="literal"/>
</wsdl:fault>
<wsdl:fault name="InvalidResourcePropertyQNameFault">
<soap:fault name="InvalidResourcePropertyQNameFault" use="literal"/>
</wsdl:fault>
<wsdl:fault name="ResourceUnknownFault">
<soap:fault name="ResourceUnknownFault" use="literal"/>
</wsdl:fault>
</wsdl:operation>
<wsdl:operation name="SetResourceProperties">
<soap:operation soapAction="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceProperties/SetResourceProperties"/>
<wsdl:input>
<soap:body use="literal"/>
</wsdl:input>
<wsdl:output>
<soap:body use="literal"/>
</wsdl:output>
<wsdl:fault name="InvalidSetResourcePropertiesRequestContentFault">
<soap:fault name="InvalidSetResourcePropertiesRequestContentFault" use="literal"/>
</wsdl:fault>
<wsdl:fault name="InvalidResourcePropertyQNameFault">
<soap:fault name="InvalidResourcePropertyQNameFault" use="literal"/>
</wsdl:fault>
<wsdl:fault name="ResourceUnknownFault">
<soap:fault name="ResourceUnknownFault" use="literal"/>
</wsdl:fault>
<wsdl:fault name="SetResourcePropertyRequestFailedFault">
<soap:fault name="SetResourcePropertyRequestFailedFault" use="literal"/>
</wsdl:fault>
<wsdl:fault name="UnableToModifyResourcePropertyFault">
<soap:fault name="UnableToModifyResourcePropertyFault" use="literal"/>
</wsdl:fault>
</wsdl:operation>
<wsdl:operation name="SetTerminationTime">
<soap:operation soapAction="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceLifetime/SetTerminationTime"/>
<wsdl:input>
<soap:body use="literal"/>
</wsdl:input>
<wsdl:output>
<soap:body use="literal"/>
</wsdl:output>
<wsdl:fault name="ResourceUnknownFault">
<soap:fault name="ResourceUnknownFault" use="literal"/>
</wsdl:fault>
<wsdl:fault name="UnableToSetTerminationTimeFault">
<soap:fault name="UnableToSetTerminationTimeFault" use="literal"/>
</wsdl:fault>
<wsdl:fault name="TerminationTimeChangeRejectedFault">
<soap:fault name="TerminationTimeChangeRejectedFault" use="literal"/>
</wsdl:fault>
</wsdl:operation>
</wsdl:binding>
</wsdl:definitions>

View File

@ -0,0 +1,166 @@
<?xml version="1.0" encoding="UTF-8"?>
<definitions name="ScopeController" targetNamespace="http://gcube-system.org/namespaces/vremanagement/resourcemanager/controller" xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:coretypes="http://gcube-system.org/namespaces/common/core/types" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:wsntw="http://docs.oasis-open.org/wsn/2004/06/wsn-WS-BaseNotification-1.2-draft-01.wsdl" xmlns:provider="http://gcube-system.org/namespaces/common/core/porttypes/GCUBEProvider" xmlns:corefaults="http://gcube-system.org/namespaces/common/core/faults" xmlns:wsdlpp="http://www.globus.org/namespaces/2004/10/WSDLPreprocessor" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/03/addressing" xmlns:gtwsdl0="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceProperties-1.2-draft-01.wsdl" xmlns:tns="http://gcube-system.org/namespaces/vremanagement/resourcemanager/controller" xmlns:wsrlw="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceLifetime-1.2-draft-01.wsdl" xmlns:wsrp="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceProperties-1.2-draft-01.xsd" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:vretypes="http://gcube-system.org/common/vremanagement/types">
<import namespace="http://gcube-system.org/namespaces/common/core/faults" location="../gcube/common/core/faults/GCUBEFaults.wsdl"/>
<import namespace="http://gcube-system.org/namespaces/common/core/porttypes/GCUBEProvider" location="../gcube/common/core/providers/GCUBEProvider.wsdl"/>
<import namespace="http://gcube-system.org/common/vremanagement/types" location="VREManagementTypes.wsdl"/>
<import namespace="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceLifetime-1.2-draft-01.wsdl" location="../wsrf/lifetime/WS-ResourceLifetime.wsdl"/>
<import namespace="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceProperties-1.2-draft-01.wsdl" location="../wsrf/properties/WS-ResourceProperties.wsdl"/>
<types>
<xsd:schema targetNamespace="http://gcube-system.org/namespaces/vremanagement/resourcemanager/controller" xmlns:rpns0="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceLifetime-1.2-draft-01.xsd" xmlns:tns="http://gcube-system.org/namespaces/vremanagement/resourcemanager/controller" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<xsd:import namespace="http://schemas.xmlsoap.org/ws/2004/03/addressing" schemaLocation="../ws/addressing/WS-Addressing.xsd"/>
<xsd:import namespace="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceLifetime-1.2-draft-01.xsd" schemaLocation="../wsrf/lifetime/WS-ResourceLifetime.xsd"/>
<xsd:import namespace="http://gcube-system.org/namespaces/common/core/porttypes/GCUBEProvider" schemaLocation="../gcube/common/core/providers/GCUBEProvider.xsd"/>
<xsd:import namespace="http://gcube-system.org/namespaces/common/core/types" schemaLocation="../gcube/common/core/types/GCUBETypes.xsd"/>
<xsd:import namespace="http://gcube-system.org/common/vremanagement/types" schemaLocation="VREManagementTypes.xsd"/>
<xsd:element name="reportID" type="xsd:string"/>
<xsd:element name="VOID">
<xsd:complexType/>
</xsd:element>
<xsd:complexType name="ScopeOption">
<xsd:sequence>
<xsd:element name="name" type="xsd:string"/>
<xsd:element name="value" type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>
<xsd:element name="targetScope" type="coretypes:scope"/>
<xsd:element name="optionsParameters">
<xsd:complexType>
<xsd:sequence>
<xsd:element ref="tns:targetScope"/>
<xsd:element maxOccurs="unbounded" minOccurs="1" name="scopeOptionList" type="tns:ScopeOption"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="createScopeParameters">
<xsd:complexType>
<xsd:sequence>
<xsd:element ref="tns:targetScope"/>
<xsd:element maxOccurs="1" minOccurs="0" name="serviceMap" type="xsd:string"/>
<xsd:element ref="tns:optionsParameters"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="InvalidOptionsFaultType">
<xsd:complexType>
<xsd:complexContent>
<xsd:extension base="corefaults:GCUBEUnrecoverableFault">
<xsd:sequence/>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
</xsd:element>
<xsd:element name="ScopeControllerPortTypeGTWSDLResourceProperties">
<xsd:complexType>
<xsd:sequence>
<xsd:element maxOccurs="1" minOccurs="1" ref="provider:ServiceID"/>
<xsd:element maxOccurs="1" minOccurs="1" ref="provider:ServiceName"/>
<xsd:element maxOccurs="1" minOccurs="1" ref="provider:VO"/>
<xsd:element maxOccurs="1" minOccurs="1" ref="provider:RI"/>
<xsd:element maxOccurs="1" minOccurs="1" ref="provider:ServiceClass"/>
<xsd:element maxOccurs="1" minOccurs="1" ref="provider:GHN"/>
<xsd:element maxOccurs="1" minOccurs="1" ref="rpns0:TerminationTime"/>
<xsd:element maxOccurs="unbounded" minOccurs="1" ref="provider:Scope"/>
<xsd:element maxOccurs="1" minOccurs="1" ref="rpns0:CurrentTime"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:schema>
</types>
<message name="InvalidScopeFaultMessage">
<part name="fault" element="vretypes:InvalidScopeFaultType"/>
</message>
<message name="VoidMessage">
<part name="response" element="tns:VOID"/>
</message>
<message name="ChangeScopeOptionsInputMessage">
<part name="request" element="tns:optionsParameters"/>
</message>
<message name="DisposeScopeInputMessage">
<part name="request" element="tns:targetScope"/>
</message>
<message name="CreateScopeInputMessage">
<part name="request" element="tns:createScopeParameters"/>
</message>
<message name="InvalidOptionsFaultMessage">
<part name="fault" element="tns:InvalidOptionsFaultType"/>
</message>
<message name="ReportID">
<part name="request" element="tns:reportID"/>
</message>
<portType name="ScopeControllerPortType" wsrp:ResourceProperties="ScopeControllerPortTypeGTWSDLResourceProperties">
<operation name="ChangeScopeOptions">
<input message="tns:ChangeScopeOptionsInputMessage"/>
<output message="tns:VoidMessage"/>
<fault name="fault1" message="tns:InvalidScopeFaultMessage"/>
<fault name="fault" message="tns:InvalidOptionsFaultMessage"/>
</operation>
<operation name="DisposeScope">
<input message="tns:DisposeScopeInputMessage"/>
<output message="tns:ReportID"/>
<fault name="fault" message="tns:InvalidScopeFaultMessage"/>
</operation>
<operation name="CreateScope">
<input message="tns:CreateScopeInputMessage"/>
<output message="tns:VoidMessage"/>
<fault name="fault2" message="tns:InvalidOptionsFaultMessage"/>
<fault name="fault1" message="tns:InvalidScopeFaultMessage"/>
</operation>
<operation name="GetMultipleResourceProperties">
<input name="GetMultipleResourcePropertiesRequest" message="gtwsdl0:GetMultipleResourcePropertiesRequest" wsa:Action="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceProperties/GetMultipleResourceProperties"/>
<output name="GetMultipleResourcePropertiesResponse" message="gtwsdl0:GetMultipleResourcePropertiesResponse" wsa:Action="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceProperties/GetMultipleResourcePropertiesResponse"/>
<fault name="InvalidResourcePropertyQNameFault" message="gtwsdl0:InvalidResourcePropertyQNameFault"/>
<fault name="ResourceUnknownFault" message="gtwsdl0:ResourceUnknownFault"/>
</operation>
<operation name="GetResourceProperty">
<input name="GetResourcePropertyRequest" message="gtwsdl0:GetResourcePropertyRequest" wsa:Action="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceProperties/GetResourceProperty"/>
<output name="GetResourcePropertyResponse" message="gtwsdl0:GetResourcePropertyResponse" wsa:Action="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceProperties/GetResourcePropertyResponse"/>
<fault name="InvalidResourcePropertyQNameFault" message="gtwsdl0:InvalidResourcePropertyQNameFault"/>
<fault name="ResourceUnknownFault" message="gtwsdl0:ResourceUnknownFault"/>
</operation>
<operation name="Destroy">
<input message="wsrlw:DestroyRequest" wsa:Action="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceLifetime/Destroy"/>
<output message="wsrlw:DestroyResponse" wsa:Action="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceLifetime/DestroyResponse"/>
<fault name="ResourceUnknownFault" message="wsrlw:ResourceUnknownFault"/>
<fault name="ResourceNotDestroyedFault" message="wsrlw:ResourceNotDestroyedFault"/>
</operation>
<operation name="QueryResourceProperties">
<input name="QueryResourcePropertiesRequest" message="gtwsdl0:QueryResourcePropertiesRequest" wsa:Action="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceProperties/QueryResourceProperties"/>
<output name="QueryResourcePropertiesResponse" message="gtwsdl0:QueryResourcePropertiesResponse" wsa:Action="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceProperties/QueryResourcePropertiesResponse"/>
<fault name="UnknownQueryExpressionDialectFault" message="gtwsdl0:UnknownQueryExpressionDialectFault"/>
<fault name="QueryEvaluationErrorFault" message="gtwsdl0:QueryEvaluationErrorFault"/>
<fault name="InvalidQueryExpressionFault" message="gtwsdl0:InvalidQueryExpressionFault"/>
<fault name="InvalidResourcePropertyQNameFault" message="gtwsdl0:InvalidResourcePropertyQNameFault"/>
<fault name="ResourceUnknownFault" message="gtwsdl0:ResourceUnknownFault"/>
</operation>
<operation name="SetResourceProperties">
<input name="SetResourcePropertiesRequest" message="gtwsdl0:SetResourcePropertiesRequest" wsa:Action="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceProperties/SetResourceProperties"/>
<output name="SetResourcePropertiesResponse" message="gtwsdl0:SetResourcePropertiesResponse" wsa:Action="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceProperties/SetResourcePropertiesResponse"/>
<fault name="InvalidSetResourcePropertiesRequestContentFault" message="gtwsdl0:InvalidSetResourcePropertiesRequestContentFault"/>
<fault name="InvalidResourcePropertyQNameFault" message="gtwsdl0:InvalidResourcePropertyQNameFault"/>
<fault name="ResourceUnknownFault" message="gtwsdl0:ResourceUnknownFault"/>
<fault name="SetResourcePropertyRequestFailedFault" message="gtwsdl0:SetResourcePropertyRequestFailedFault"/>
<fault name="UnableToModifyResourcePropertyFault" message="gtwsdl0:UnableToModifyResourcePropertyFault"/>
</operation>
<operation name="SetTerminationTime">
<input message="wsrlw:SetTerminationTimeRequest" wsa:Action="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceLifetime/SetTerminationTime"/>
<output message="wsrlw:SetTerminationTimeResponse" wsa:Action="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceLifetime/SetTerminationTimeResponse"/>
<fault name="ResourceUnknownFault" message="wsrlw:ResourceUnknownFault"/>
<fault name="UnableToSetTerminationTimeFault" message="wsrlw:UnableToSetTerminationTimeFault"/>
<fault name="TerminationTimeChangeRejectedFault" message="wsrlw:TerminationTimeChangeRejectedFault"/>
</operation>
</portType>
</definitions>

View File

@ -0,0 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<wsdl:definitions name="ScopeController" targetNamespace="http://gcube-system.org/namespaces/vremanagement/resourcemanager/controller/service" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:binding="http://gcube-system.org/namespaces/vremanagement/resourcemanager/controller/bindings" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/">
<wsdl:import namespace="http://gcube-system.org/namespaces/vremanagement/resourcemanager/controller/bindings" location="ScopeController_bindings.wsdl"/>
<wsdl:service name="ScopeControllerService">
<wsdl:port name="ScopeControllerPortTypePort" binding="binding:ScopeControllerPortTypeSOAPBinding">
<soap:address location="http://localhost:8080/wsrf/services/"/>
</wsdl:port>
</wsdl:service>
</wsdl:definitions>

View File

@ -0,0 +1,46 @@
<?xml version="1.0" encoding="UTF-8"?>
<definitions name="VREManagementTypes"
targetNamespace="http://gcube-system.org/common/vremanagement/types"
xmlns:tns="http://gcube-system.org/common/vremanagement/types"
xmlns:coretypes="http://gcube-system.org/namespaces/common/core/types"
xmlns:corefaults="http://gcube-system.org/namespaces/common/core/faults"
xmlns="http://schemas.xmlsoap.org/wsdl/"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/03/addressing"
elementFormDefault="qualified" attributeFormDefault="unqualified">
<import namespace="http://gcube-system.org/namespaces/common/core/faults" location="../gcube/common/core/faults/GCUBEFaults.wsdl"/>
<!--============================================================
T Y P E S
============================================================-->
<types>
<xs:schema
targetNamespace="http://gcube-system.org/common/vremanagement/types"
xmlns:tns="http://gcube-system.org/common/vremanagement/types">
<xs:import namespace="http://schemas.xmlsoap.org/ws/2004/03/addressing" schemaLocation="../ws/addressing/WS-Addressing.xsd" />
<xs:include schemaLocation="VREManagementTypes.xsd" />
<xs:element name="InvalidScopeFaultType">
<xs:complexType>
<xs:complexContent>
<xs:extension base="corefaults:GCUBEUnrecoverableFault">
<xs:sequence/>
</xs:extension>
</xs:complexContent>
</xs:complexType>
</xs:element>
</xs:schema>
</types>
<portType name="VREManagementTypesPortType" >
</portType>
</definitions>

View File

@ -0,0 +1,80 @@
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
targetNamespace="http://gcube-system.org/common/vremanagement/types"
xmlns:tns="http://gcube-system.org/common/vremanagement/types"
xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/03/addressing"
elementFormDefault="qualified" attributeFormDefault="unqualified">
<xs:complexType name="DeployInfoStatus">
<xs:sequence minOccurs="1" maxOccurs="1">
<xs:element name="ghnID" type="xs:string"/>
<xs:element name="packageInfo" type="tns:PackageInfoStatus"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="DeployInfo">
<xs:sequence minOccurs="1" maxOccurs="1">
<xs:element name="ghnID" type="xs:string"/>
<xs:element name="packageInfo" type="tns:PackageInfo"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="Pair">
<xs:sequence minOccurs="1" maxOccurs="1">
<xs:element name="name" type="xs:string"/>
<xs:element name="value" type="xs:string"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="PackageInfo">
<xs:sequence minOccurs="1" maxOccurs="1">
<xs:element name="serviceName" type="xs:string"/>
<xs:element name="serviceClass" type="xs:string"/>
<xs:element name="serviceVersion" type="xs:string"/>
<xs:element name="name" type="xs:string"/>
<xs:element name="version" type="xs:string"/>
<xs:element name="Options" type="tns:Pair" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="PackageInfoStatus">
<xs:sequence>
<xs:element name="package" type="tns:PackageInfo" />
<xs:element name="status" type="xs:string"/>
<xs:element name="message" type="xs:string"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="ServiceInfoStatus">
<xs:sequence minOccurs="1" maxOccurs="1">
<xs:element name="serviceName" type="xs:string"/>
<xs:element name="serviceClass" type="xs:string"/>
<xs:element name="ghnName" type="xs:string"/>
<xs:element name="status" type="xs:string"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="deployMessage">
<xs:sequence>
<xs:element name="serviceName" type="xs:string"/>
<xs:element name="serviceClass" type="xs:string"/>
<xs:element name="ghnID" type="xs:string" />
<xs:element name="Scope" type="xs:string" />
</xs:sequence>
</xs:complexType>
<xs:complexType name="feedbackMessage">
<xs:sequence>
<xs:element name="callbackID" type="xs:string" />
<xs:element name="log" type="xs:string" />
<xs:element name="type" type="xs:string" />
<xs:element name="runningInstanceIDsList" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="packageInfoStatus" type="tns:PackageInfoStatus" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
</xs:schema>

View File

@ -0,0 +1,128 @@
<?xml version="1.0"?>
<!--
Legal Disclaimer
The presentation, distribution or other dissemination of the information
contained in this document is not a license, either expressly or impliedly,
to any intellectual property owned or controlled by BEA or IBM or Microsoft
and\or any other third party. BEA and IBM and Microsoft and\or any other
third party may have patents, patent applications, trademarks, copyrights,
or other intellectual property rights covering subject matter in this
document. The furnishing of this document does not give you any license
to BEA's and IBM's and Microsoft's or any other third party's patents,
trademarks, copyrights, or other intellectual property.
This document and the information contained herein is provided on an "AS IS"
basis and to the maximum extent permitted by applicable law, BEA and IBM
and Microsoft provide the document AS IS AND WITH ALL FAULTS, and hereby
disclaims all other warranties and conditions, either express, implied or
statutory, including, but not limited to, any (if any) implied warranties,
duties or conditions of merchantability, of fitness for a particular
purpose, of accuracy or completeness of responses, of results, of
workmanlike effort, of lack of viruses, and of lack of negligence, all with
regard to the document. ALSO, THERE IS NO WARRANTY OR CONDITION OF
TITLE, QUIET ENJOYMENT, QUIET POSSESSION, CORRESPONDENCE TO DESCRIPTION OR
NON-INFRINGEMENT OF ANY INTELLECTUAL PROPERTY RIGHTS WITH REGARD TO THE
DOCUMENT.
IN NO EVENT WILL BEA or IBM or MICROSOFT BE LIABLE TO ANY OTHER PARTY FOR THE
COST OF PROCURING SUBSTITUTE GOODS OR SERVICES, LOST PROFITS, LOSS OF USE,
LOSS OF DATA, OR ANY INCIDENTAL, CONSEQUENTIAL, DIRECT, INDIRECT, OR SPECIAL
DAMAGES WHETHER UNDER CONTRACT, TORT, WARRANTY, OR OTHERWISE, ARISING IN ANY
WAY OUT OF THIS OR ANY OTHER AGREEMENT RELATING TO THIS DOCUMENT, WHETHER OR
NOT SUCH PARTY HAD ADVANCE NOTICE OF THE POSSIBILITY OF SUCH DAMAGES.
Copyright Notice
Copyright 2003,2004 BEA Systems Inc. and IBM Corporation and Microsoft Corporation. All rights reserved.
-->
<xs:schema targetNamespace="http://schemas.xmlsoap.org/ws/2004/03/addressing" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/03/addressing" elementFormDefault="qualified" blockDefault="#all">
<!-- //////////////////// WS-Addressing //////////////////// -->
<!-- Endpoint reference -->
<xs:element name="EndpointReference" type="wsa:EndpointReferenceType"/>
<xs:complexType name="EndpointReferenceType">
<xs:sequence>
<xs:element name="Address" type="wsa:AttributedURI"/>
<xs:element name="ReferenceProperties" type="wsa:ReferencePropertiesType" minOccurs="0"/>
<xs:element name="PortType" type="wsa:AttributedQName" minOccurs="0"/>
<xs:element name="ServiceName" type="wsa:ServiceNameType" minOccurs="0"/>
<xs:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>
If "Policy" elements from namespace "http://schemas.xmlsoap.org/ws/2002/12/policy#policy" are used, they must appear first (before any extensibility elements).
</xs:documentation>
</xs:annotation>
</xs:any>
</xs:sequence>
<xs:anyAttribute namespace="##other" processContents="lax"/>
</xs:complexType>
<xs:complexType name="ReferencePropertiesType">
<xs:sequence>
<xs:any processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="ServiceNameType">
<xs:simpleContent>
<xs:extension base="xs:QName">
<xs:attribute name="PortName" type="xs:NCName"/>
<xs:anyAttribute namespace="##other" processContents="lax"/>
</xs:extension>
</xs:simpleContent>
</xs:complexType>
<!-- Message information header blocks -->
<xs:element name="MessageID" type="wsa:AttributedURI"/>
<xs:element name="RelatesTo" type="wsa:Relationship"/>
<xs:element name="To" type="wsa:AttributedURI"/>
<xs:element name="Action" type="wsa:AttributedURI"/>
<xs:element name="From" type="wsa:EndpointReferenceType"/>
<xs:element name="ReplyTo" type="wsa:EndpointReferenceType"/>
<xs:element name="FaultTo" type="wsa:EndpointReferenceType"/>
<xs:complexType name="Relationship">
<xs:simpleContent>
<xs:extension base="xs:anyURI">
<xs:attribute name="RelationshipType" type="xs:QName" use="optional"/>
<xs:anyAttribute namespace="##other" processContents="lax"/>
</xs:extension>
</xs:simpleContent>
</xs:complexType>
<xs:simpleType name="RelationshipTypeValues">
<xs:restriction base="xs:QName">
<xs:enumeration value="wsa:Reply"/>
</xs:restriction>
</xs:simpleType>
<xs:element name="ReplyAfter"/>
<xs:complexType name="ReplyAfterType">
<xs:simpleContent>
<xs:extension base="xs:nonNegativeInteger">
<xs:anyAttribute namespace="##other"/>
</xs:extension>
</xs:simpleContent>
</xs:complexType>
<xs:simpleType name="FaultSubcodeValues">
<xs:restriction base="xs:QName">
<xs:enumeration value="wsa:InvalidMessageInformationHeader"/>
<xs:enumeration value="wsa:MessageInformationHeaderRequired"/>
<xs:enumeration value="wsa:DestinationUnreachable"/>
<xs:enumeration value="wsa:ActionNotSupported"/>
<xs:enumeration value="wsa:EndpointUnavailable"/>
</xs:restriction>
</xs:simpleType>
<xs:attribute name="Action" type="xs:anyURI"/>
<!-- Common declarations and definitions -->
<xs:complexType name="AttributedQName">
<xs:simpleContent>
<xs:extension base="xs:QName">
<xs:anyAttribute namespace="##other" processContents="lax"/>
</xs:extension>
</xs:simpleContent>
</xs:complexType>
<xs:complexType name="AttributedURI">
<xs:simpleContent>
<xs:extension base="xs:anyURI">
<xs:anyAttribute namespace="##other" processContents="lax"/>
</xs:extension>
</xs:simpleContent>
</xs:complexType>
</xs:schema>

View File

@ -0,0 +1,194 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
Legal Disclaimer
The presentation, distribution or other dissemination of the information
contained in this document is not a license, either expressly or impliedly,
to any intellectual property owned or controlled by IBM or Microsoft or BEA or SAP and\or any other
third party. IBM and Microsoft and BEA or SAP and\or any other third party may have patents, patent
applications, trademarks, copyrights, or other intellectual property rights
covering subject matter in this document. The furnishing of this document
does not give you any license to IBM's and Microsoft's and BEA or SAP or any other third party's patents,
trademarks, copyrights, or other intellectual property.
This document and the information contained herein is provided on an "AS IS"
basis and to the maximum extent permitted by applicable law, IBM and Microsoft and BEA or SAP provides
the document AS IS AND WITH ALL FAULTS, and hereby disclaims all other warranties
and conditions, either express, implied or statutory, including, but not limited
to, any (if any) implied warranties, duties or conditions of merchantability, of
fitness for a particular purpose, of accuracy or completeness of responses, of
results, of workmanlike effort, of lack of viruses, and of lack of negligence,
all with regard to the document. ALSO, THERE IS NO WARRANTY OR CONDITION OF
TITLE, QUIET ENJOYMENT, QUIET POSSESSION, CORRESPONDENCE TO DESCRIPTION OR
NON-INFRINGEMENT OF ANY INTELLECTUAL PROPERTY RIGHTS WITH REGARD TO THE DOCUMENT.
IN NO EVENT WILL IBM or MICROSOFT or BEA or SAP BE LIABLE TO ANY OTHER PARTY FOR THE COST OF PROCURING
SUBSTITUTE GOODS OR SERVICES, LOST PROFITS, LOSS OF USE, LOSS OF DATA, OR ANY
INCIDENTAL, CONSEQUENTIAL, DIRECT, INDIRECT, OR SPECIAL DAMAGES WHETHER UNDER
CONTRACT, TORT, WARRANTY, OR OTHERWISE, ARISING IN ANY WAY OUT OF THIS OR ANY
OTHER AGREEMENT RELATING TO THIS DOCUMENT, WHETHER OR NOT SUCH PARTY HAD ADVANCE
NOTICE OF THE POSSIBILITY OF SUCH DAMAGES.
Copyright Notice
Copyright 2001-2002 BEA Systems Inc. and IBM Corporation and Microsoft Corporation and SAP AG. All rights reserved.
-->
<xs:schema targetNamespace="http://schemas.xmlsoap.org/ws/2002/12/policy" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:wsp="http://schemas.xmlsoap.org/ws/2002/12/policy" xmlns:wsu="http://schemas.xmlsoap.org/ws/2002/07/utility" elementFormDefault="qualified" blockDefault="#all">
<xs:import namespace="http://schemas.xmlsoap.org/ws/2002/07/utility" schemaLocation="utility.xsd"/>
<!-- //////////////////// WS-Policy ////////////////////////////// -->
<xs:attribute name="Usage" type="wsp:OpenUsageType"/>
<xs:simpleType name="OpenUsageType">
<xs:annotation>
<xs:documentation>Per GXA norms, we allow other values that are not pre-defined.</xs:documentation>
</xs:annotation>
<xs:union memberTypes="wsp:UsageType xs:QName"/>
</xs:simpleType>
<xs:simpleType name="UsageType">
<xs:annotation>
<xs:documentation>Pre-defined Usage types that apply to individual assertions. Per GXA norms, we use QNames rather than traditional token-based enumerations.</xs:documentation>
</xs:annotation>
<xs:restriction base="xs:QName">
<xs:enumeration value="wsp:Required"/>
<xs:enumeration value="wsp:Optional"/>
<xs:enumeration value="wsp:Rejected"/>
<xs:enumeration value="wsp:Ignored"/>
<xs:enumeration value="wsp:Observed"/>
</xs:restriction>
</xs:simpleType>
<xs:attribute name="Preference" type="xs:int"/>
<xs:element name="PolicyReference" type="wsp:PolicyReferenceType"/>
<xs:complexType name="PolicyReferenceType">
<xs:sequence>
<xs:any namespace="##any" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
<xs:attribute name="URI" type="xs:anyURI" use="optional"/>
<xs:attribute name="Ref" type="xs:QName" use="optional"/>
<xs:attribute name="Digest" type="xs:base64Binary" use="optional"/>
<xs:attribute name="DigestAlgorithm" type="xs:QName" use="optional"/>
<xs:anyAttribute namespace="##any" processContents="lax"/>
</xs:complexType>
<xs:element name="All" type="wsp:Compositor"/>
<xs:element name="OneOrMore" type="wsp:Compositor"/>
<xs:element name="ExactlyOne" type="wsp:Compositor"/>
<xs:complexType name="Compositor">
<xs:group ref="wsp:CompositorContent" maxOccurs="unbounded"/>
<xs:attributeGroup ref="wsp:CompositorAndAssertionAttributes"/>
</xs:complexType>
<xs:group name="CompositorContent">
<xs:choice>
<xs:element ref="wsp:OneOrMore"/>
<xs:element ref="wsp:All"/>
<xs:element ref="wsp:ExactlyOne"/>
<xs:element ref="wsp:PolicyReference"/>
<xs:group ref="wsp:PolicyAssertions"/>
<xs:any namespace="##other" processContents="lax"/>
<!-- Include global elements from WS-PolicyAssertions -->
</xs:choice>
</xs:group>
<xs:attributeGroup name="CompositorAndAssertionAttributes">
<xs:attribute ref="wsp:Usage" use="optional"/>
<xs:attribute ref="wsp:Preference" use="optional"/>
<xs:attribute ref="wsu:Id" use="optional"/>
<xs:anyAttribute namespace="##any" processContents="lax"/>
</xs:attributeGroup>
<xs:element name="Policy" type="wsp:PolicyExpression"/>
<xs:complexType name="PolicyExpression">
<xs:group ref="wsp:CompositorContent" minOccurs="0" maxOccurs="unbounded"/>
<xs:attribute name="Name" type="xs:NCName" use="optional"/>
<xs:attribute name="TargetNamespace" type="xs:anyURI" use="optional"/>
<xs:attribute ref="wsu:Id" use="optional"/>
<xs:anyAttribute namespace="##any" processContents="lax"/>
</xs:complexType>
<!-- //////////////////// WS-PolicyAttachment ////////////////////////////// -->
<xs:attribute name="PolicyRefs" type="wsp:tPolicyRefs"/>
<xs:simpleType name="tPolicyRefs">
<xs:annotation>
<xs:documentation>Typedef to allow a list of policy names (as QNames).</xs:documentation>
</xs:annotation>
<xs:list itemType="xs:QName"/>
</xs:simpleType>
<xs:attribute name="PolicyURIs" type="wsp:tPolicyURIs"/>
<xs:simpleType name="tPolicyURIs">
<xs:annotation>
<xs:documentation>Typedef to allow a list of policy names (as URI).</xs:documentation>
</xs:annotation>
<xs:list itemType="xs:anyURI"/>
</xs:simpleType>
<xs:element name="UsingPolicy">
<xs:annotation>
<xs:documentation>Global element decl for use as a WSDL extension element</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:any namespace="##any" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
<xs:anyAttribute namespace="##any" processContents="lax"/>
</xs:complexType>
</xs:element>
<xs:element name="AppliesTo" type="wsp:AppliesTo"/>
<xs:complexType name="AppliesTo">
<xs:sequence>
<xs:any namespace="##any" processContents="lax" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>All children are interpreted as domain expressions.</xs:documentation>
</xs:annotation>
</xs:any>
</xs:sequence>
<xs:anyAttribute namespace="##any" processContents="lax"/>
</xs:complexType>
<xs:element name="PolicyAttachment" type="wsp:PolicyAttachmentType"/>
<xs:complexType name="PolicyAttachmentType">
<xs:sequence>
<xs:element ref="wsp:AppliesTo"/>
<xs:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
<xs:choice maxOccurs="unbounded">
<xs:element ref="wsp:Policy"/>
<xs:element ref="wsp:PolicyReference"/>
</xs:choice>
<xs:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
<xs:anyAttribute namespace="##any" processContents="lax"/>
</xs:complexType>
<!-- //////////////////// WS-PolicyAssertions ////////////////////////////// -->
<xs:element name="Language" type="wsp:LanguageAssertion"/>
<xs:complexType name="LanguageAssertion">
<xs:sequence>
<xs:any namespace="##any" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
<xs:attribute name="Language" type="xs:language" use="required"/>
<xs:attributeGroup ref="wsp:CompositorAndAssertionAttributes"/>
</xs:complexType>
<xs:element name="TextEncoding" type="wsp:TextEncodingAssertion"/>
<xs:complexType name="TextEncodingAssertion">
<xs:sequence>
<xs:any namespace="##any" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
<xs:attribute name="Encoding" type="xs:string" use="required"/>
<xs:attributeGroup ref="wsp:CompositorAndAssertionAttributes"/>
</xs:complexType>
<xs:element name="SpecVersion" type="wsp:SpecVersionAssertion"/>
<xs:complexType name="SpecVersionAssertion">
<xs:sequence>
<xs:any namespace="##any" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
<xs:attribute name="URI" type="xs:anyURI" use="required"/>
<xs:attributeGroup ref="wsp:CompositorAndAssertionAttributes"/>
</xs:complexType>
<xs:element name="MessagePredicate" type="wsp:MessagePredicateAssertion"/>
<xs:complexType name="MessagePredicateAssertion">
<xs:simpleContent>
<xs:extension base="xs:string">
<xs:attribute name="Dialect" type="xs:anyURI" use="optional" default="http://www.w3.org/TR/1999/REC-xpath-19991116"/>
<xs:attributeGroup ref="wsp:CompositorAndAssertionAttributes"/>
</xs:extension>
</xs:simpleContent>
</xs:complexType>
<xs:group name="PolicyAssertions">
<xs:choice>
<xs:element ref="wsp:TextEncoding"/>
<xs:element ref="wsp:Language"/>
<xs:element ref="wsp:SpecVersion"/>
<xs:element ref="wsp:MessagePredicate"/>
</xs:choice>
</xs:group>
</xs:schema>

View File

@ -0,0 +1,243 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
Legal Disclaimer
The presentation, distribution or other dissemination of the information
contained in this specification is not a license, either expressly or impliedly,
to any intellectual property owned or controlled by IBM or Microsoft and\or any other
third party. IBM and Microsoft and\or any other third party may have patents, patent
applications, trademarks, copyrights, or other intellectual property rights
covering subject matter in this document. The furnishing of this document
does not give you any license to IBM's and Microsoft's or any other third party's patents,
trademarks, copyrights, or other intellectual property.
This specification and the information contained herein is provided on an "AS IS"
basis and to the maximum extent permitted by applicable law, IBM and Microsoft provides
the document AS IS AND WITH ALL FAULTS, and hereby disclaims all other warranties
and conditions, either express, implied or statutory, including, but not limited
to, any (if any) implied warranties, duties or conditions of merchantability, of
fitness for a particular purpose, of accuracy or completeness of responses, of
results, of workmanlike effort, of lack of viruses, and of lack of negligence,
all with regard to the document. ALSO, THERE IS NO WARRANTY OR CONDITION OF
TITLE, QUIET ENJOYMENT, QUIET POSSESSION, CORRESPONDENCE TO DESCRIPTION OR
NON-INFRINGEMENT OF ANY INTELLECTUAL PROPERTY RIGHTS WITH REGARD TO THE DOCUMENT.
IN NO EVENT WILL IBM or MICROSOFT BE LIABLE TO ANY OTHER PARTY FOR THE COST OF PROCURING
SUBSTITUTE GOODS OR SERVICES, LOST PROFITS, LOSS OF USE, LOSS OF DATA, OR ANY
INCIDENTAL, CONSEQUENTIAL, DIRECT, INDIRECT, OR SPECIAL DAMAGES WHETHER UNDER
CONTRACT, TORT, WARRANTY, OR OTHERWISE, ARISING IN ANY WAY OUT OF THIS OR ANY
OTHER AGREEMENT RELATING TO THIS DOCUMENT, WHETHER OR NOT SUCH PARTY HAD ADVANCE
NOTICE OF THE POSSIBILITY OF SUCH DAMAGES.
Copyright Notice
Copyright 2001, 2002 IBM Corporation and Microsoft Corporation. All rights reserved.
-->
<xsd:schema targetNamespace="http://schemas.xmlsoap.org/ws/2002/07/utility" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:wsu="http://schemas.xmlsoap.org/ws/2002/07/utility" xmlns="http://schemas.xmlsoap.org/ws/2002/07/utility" elementFormDefault="qualified" attributeFormDefault="unqualified" version="0.1">
<!-- // Fault Codes /////////////////////////////////////////// -->
<xsd:simpleType name="tTimestampFault">
<xsd:annotation>
<xsd:documentation>
This type defines the fault code value for Timestamp message expiration.
</xsd:documentation>
</xsd:annotation>
<xsd:restriction base="xsd:QName">
<xsd:enumeration value="wsu:MessageExpired"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:simpleType name="tContextFault">
<xsd:annotation>
<xsd:documentation>
This type defines the fault code values for context-related faults.
</xsd:documentation>
</xsd:annotation>
<xsd:restriction base="xsd:QName">
<xsd:enumeration value="wsu:ContextEstablished"/>
<xsd:enumeration value="wsu:ContextUnknown"/>
<xsd:enumeration value="wsu:ContextNotSupported"/>
<xsd:enumeration value="wsu:ContextRefused"/>
<xsd:enumeration value="wsu:ContextExpired"/>
</xsd:restriction>
</xsd:simpleType>
<!-- // Global attributes //////////////////////////////////// -->
<xsd:attribute name="Id" type="xsd:ID">
<xsd:annotation>
<xsd:documentation>
This global attribute supports annotating arbitrary elements with an ID.
</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="MustUnderstand" type="xsd:boolean">
<xsd:annotation>
<xsd:documentation>
This global attribute is used on extensions to distinguish mandatory vs. optional extensions.
</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attributeGroup name="commonAtts">
<xsd:annotation>
<xsd:documentation>
Convenience attribute group used to simplify this schema.
</xsd:documentation>
</xsd:annotation>
<xsd:attribute ref="wsu:Id" use="optional"/>
<xsd:anyAttribute namespace="##other" processContents="lax"/>
</xsd:attributeGroup>
<!-- // Utility types //////////////////////////////////////// -->
<xsd:complexType name="AttributedDateTime">
<xsd:annotation>
<xsd:documentation>
This type is for elements whose [children] is a psuedo-dateTime and can have arbitrary attributes.
</xsd:documentation>
</xsd:annotation>
<xsd:simpleContent>
<xsd:extension base="xsd:string">
<xsd:attribute name="ValueType" type="xsd:QName">
<xsd:annotation>
<xsd:documentation>
This attribute indicates the actual schema type of the element [children].
If the ValueType attribute is present, conforming processors must process the string value of [children] as if it were affiliated with the type indicated by this attribute.
If the ValueType attribute is absent, the implied value of this attribute is xsd:dateTime.
</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attributeGroup ref="wsu:commonAtts"/>
</xsd:extension>
</xsd:simpleContent>
</xsd:complexType>
<xsd:complexType name="ReceivedType">
<xsd:annotation>
<xsd:documentation>
This type extends AnnotatedDateTime to add a Delay attribute.
</xsd:documentation>
</xsd:annotation>
<xsd:simpleContent>
<xsd:extension base="wsu:AttributedDateTime">
<xsd:attribute name="Delay" type="xsd:int" use="optional">
<xsd:annotation>
<xsd:documentation>
This attribute indicates the number of milliseconds that this actor processed this message.
</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="Actor" type="xsd:anyURI" use="required">
<xsd:annotation>
<xsd:documentation>
This attribute indicates the intermediary that processed this message.
</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
</xsd:extension>
</xsd:simpleContent>
</xsd:complexType>
<xsd:complexType name="AttributedURI">
<xsd:annotation>
<xsd:documentation>
This type is for elements whose [children] is an anyURI and can have arbitrary attributes.
</xsd:documentation>
</xsd:annotation>
<xsd:simpleContent>
<xsd:extension base="xsd:anyURI">
<xsd:attributeGroup ref="wsu:commonAtts"/>
</xsd:extension>
</xsd:simpleContent>
</xsd:complexType>
<!-- // Timestamp header components /////////////////////////// -->
<xsd:complexType name="TimestampType">
<xsd:annotation>
<xsd:documentation>
This complex type ties together the timestamp related elements into a composite type.
</xsd:documentation>
</xsd:annotation>
<xsd:sequence>
<xsd:element ref="wsu:Created" minOccurs="0"/>
<xsd:element ref="wsu:Expires" minOccurs="0"/>
<xsd:choice minOccurs="0" maxOccurs="unbounded">
<xsd:element ref="wsu:Received"/>
<xsd:any namespace="##other" processContents="lax"/>
</xsd:choice>
</xsd:sequence>
<xsd:attributeGroup ref="wsu:commonAtts"/>
</xsd:complexType>
<xsd:element name="Timestamp" type="wsu:TimestampType">
<xsd:annotation>
<xsd:documentation>
This element allows Timestamps to be applied anywhere element wildcards are present,
including as a SOAP header.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<!-- global element decls to allow individual elements to appear anywhere -->
<xsd:element name="Expires" type="wsu:AttributedDateTime">
<xsd:annotation>
<xsd:documentation>
This element allows an expiration time to be applied anywhere element wildcards are present.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="Created" type="wsu:AttributedDateTime">
<xsd:annotation>
<xsd:documentation>
This element allows a creation time to be applied anywhere element wildcards are present.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="Received" type="wsu:ReceivedType">
<xsd:annotation>
<xsd:documentation>
This element allows the ReceviedType to be applied anywhere element wildcards are present, including a Timestamp header.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="Identifier" type="wsu:AttributedURI" />
<!-- // Context ///////////////////////////////////// -->
<xsd:complexType name="ContextType" abstract="true">
<xsd:annotation>
<xsd:documentation>
This type is the generic base type for context headers.
</xsd:documentation>
</xsd:annotation>
<xsd:sequence>
<xsd:element ref="wsu:Expires" minOccurs="0"/>
<xsd:element ref="wsu:Identifier" />
</xsd:sequence>
<xsd:attributeGroup ref="wsu:commonAtts"/>
</xsd:complexType>
<xsd:element name="Context">
<xsd:annotation>
<xsd:documentation>
This element allows Contexts to be applied anywhere element wildcards are present,
including as a SOAP header.
</xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:complexContent>
<xsd:extension base="wsu:ContextType">
<xsd:sequence>
<xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
</xsd:element>
<!-- // PortReference ////////////////////////////// -->
<xsd:complexType name="PortReferenceType">
<xsd:annotation>
<xsd:documentation>
This complex type defines a lightweight type for transmitting ports.
</xsd:documentation>
</xsd:annotation>
<xsd:sequence>
<xsd:element name="Address" type="wsu:AttributedURI"/>
<xsd:any namespace="##any" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
</xsd:sequence>
<xsd:attributeGroup ref="wsu:commonAtts"/>
</xsd:complexType>
<xsd:element name="PortReference" type="wsu:PortReferenceType">
<xsd:annotation>
<xsd:documentation>
This element allows port references to be applied anywhere element wildcards are present.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
</xsd:schema>

View File

@ -0,0 +1,118 @@
<!--
Copyright Notice
(c) 2001-2004 BEA Systems, Inc., Computer Associates International,
Inc., International Business Machines Corporation, Layer 7
Technologies, Microsoft Corporation, Netegrity, Inc., Oblix Inc.,
OpenNetwork Technologies Inc., Ping Identity Corporation, Reactivity Inc.,
RSA Security Inc., VeriSign Inc., and Westbridge Technology, Inc.
All rights reserved.
BEA, Computer Associates, IBM, Layer 7, Microsoft, Netegrity, Oblix,
OpenNetwork, Ping Identity, Reactivity, RSA Security, VeriSign, and Westbridge
(collectively, the "Authors") hereby grant you permission to copy and
display the WS-SecureConversation Schema Document, in any medium without fee or
royalty, provided that you include the following on ALL copies of the
WS-SecureConversation Schema Document that you make:
1. A link or URL to the Specification at this location.
2. The copyright notice as shown in the WS-SecureConversation Specification.
BEA, Computer Associates, IBM, Layer7, Microsoft, Netegrity, Oblix,
OpenNetwork, Ping Identity, Reactivity, RSA Security, VeriSign, and Westbridge
(collectively, the "Authors") each agree to grant you a license, under
royalty-free and otherwise reasonable, non-discriminatory terms and
conditions, to their respective essential patent claims that they deem
necessary to implement the WS-SecureConversation Schema Document.
THE WS-SecureConversation SCHEMA DOCUMENT IS PROVIDED "AS IS," AND THE AUTHORS MAKE
NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR IMPLIED, INCLUDING, BUT
NOT LIMITED TO, WARRANTIES OF MERCHANTABILITY, FITNESS FOR A
PARTICULAR PURPOSE, NON-INFRINGEMENT, OR TITLE; THAT THE CONTENTS OF
THE WS-SecureConversation SCHEMA DOCUMENT ARE SUITABLE FOR ANY PURPOSE; NOR THAT THE
IMPLEMENTATION OF SUCH CONTENTS WILL NOT INFRINGE ANY THIRD PARTY
PATENTS, COPYRIGHTS, TRADEMARKS OR OTHER RIGHTS.
THE AUTHORS WILL NOT BE LIABLE FOR ANY DIRECT, INDIRECT, SPECIAL,
INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF OR RELATING TO ANY
USE OR DISTRIBUTION OF THE WS-SecureConversation SPECIFICATION.
The WS-SecureConversation Schema Document may change before final release and you are
cautioned against relying on the content of this specification.
The name and trademarks of the Authors may NOT be used in any manner,
including advertising or publicity pertaining to the Specification or
its contents without specific, written prior permission. Title to
copyright in the WS-SecureConversation Schema Document will at all times remain with
the Authors.
No other rights are granted by implication, estoppel or otherwise.
-->
<xs:schema xmlns:xs='http://www.w3.org/2001/XMLSchema'
xmlns:wsse='http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd'
xmlns:wsu='http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd'
xmlns:wsc='http://schemas.xmlsoap.org/ws/2004/04/sc'
targetNamespace='http://schemas.xmlsoap.org/ws/2004/04/sc'
elementFormDefault='qualified' >
<xs:import namespace='http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd'
schemaLocation='../security/oasis-200401-wss-wssecurity-secext-1.0.xsd' />
<xs:import namespace='http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd'
schemaLocation='../security/oasis-200401-wss-wssecurity-utility-1.0.xsd' />
<!-- WS-SecureConversation - Section 3 -->
<xs:element name='SecurityContextToken' type='wsc:SecurityContextTokenType' />
<xs:complexType name='SecurityContextTokenType' >
<xs:sequence>
<xs:element ref='wsc:Identifier' minOccurs='1' />
<xs:any namespace='##any' processContents='lax' minOccurs='0' maxOccurs='unbounded' />
</xs:sequence>
<xs:attribute ref='wsu:Id' use='optional' />
<xs:anyAttribute namespace='##other' processContents='lax' />
</xs:complexType>
<xs:element name='Identifier' type='xs:anyURI' />
<!-- WS-SecureConversation - Section 6.1 -->
<xs:element name='DerivedKeyToken' type='wsc:DerivedKeyTokenType' />
<xs:complexType name='DerivedKeyTokenType' >
<xs:sequence>
<xs:element ref='wsse:SecurityTokenReference' minOccurs='0' />
<xs:element name='Properties' type='wsc:PropertiesType' minOccurs='0' />
<xs:sequence minOccurs='0' >
<xs:choice>
<xs:element name='Generation' type='xs:unsignedLong' />
<xs:element name='Offset' type='xs:unsignedLong' />
</xs:choice>
<xs:element name='Length' type='xs:unsignedLong' minOccurs='0' />
</xs:sequence>
<xs:element ref='wsc:Label' minOccurs='0' />
<xs:element ref='wsc:Nonce' minOccurs='0' />
</xs:sequence>
<xs:attribute ref='wsu:Id' use='optional' />
<xs:attribute name='Algorithm' type='xs:anyURI' use='optional' />
</xs:complexType>
<xs:complexType name='PropertiesType' >
<xs:sequence>
<xs:any namespace='##any' processContents='lax' minOccurs='0' maxOccurs='unbounded' />
</xs:sequence>
</xs:complexType>
<xs:element name='Label' type='xs:string' />
<xs:element name='Nonce' type='xs:base64Binary' />
<!-- WS-SecureConversation - Section 7 -->
<xs:simpleType name='FaultCodes' >
<xs:restriction base='xs:QName' >
<xs:enumeration value='wsc:BadContextToken' />
<xs:enumeration value='wsc:UnsupportedContextToken' />
<xs:enumeration value='wsc:UnknownDerivationSource' />
</xs:restriction>
</xs:simpleType>
</xs:schema>

View File

@ -0,0 +1,198 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
OASIS takes no position regarding the validity or scope of any intellectual property or other rights that might be claimed to pertain to the implementation or use of the technology described in this document or the extent to which any license under such rights might or might not be available; neither does it represent that it has made any effort to identify any such rights. Information on OASIS's procedures with respect to rights in OASIS specifications can be found at the OASIS website. Copies of claims of rights made available for publication and any assurances of licenses to be made available, or the result of an attempt made to obtain a general license or permission for the use of such proprietary rights by implementors or users of this specification, can be obtained from the OASIS Executive Director.
OASIS invites any interested party to bring to its attention any copyrights, patents or patent applications, or other proprietary rights which may cover technology that may be required to implement this specification. Please address the information to the OASIS Executive Director.
Copyright (C) OASIS Open 2002-2004. All Rights Reserved.
This document and translations of it may be copied and furnished to others, and derivative works that comment on or otherwise explain it or assist in its implementation may be prepared, copied, published and distributed, in whole or in part, without restriction of any kind, provided that the above copyright notice and this paragraph are included on all such copies and derivative works. However, this document itself does not be modified in any way, such as by removing the copyright notice or references to OASIS, except as needed for the purpose of developing OASIS specifications, in which case the procedures for copyrights defined in the OASIS Intellectual Property Rights document must be followed, or as required to translate it into languages other than English.
The limited permissions granted above are perpetual and will not be revoked by OASIS or its successors or assigns.
This document and the information contained herein is provided on an AS IS basis and OASIS DISCLAIMS ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTY THAT THE USE OF THE INFORMATION HEREIN WILL NOT INFRINGE ANY RIGHTS OR ANY IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.
-->
<xsd:schema targetNamespace="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" elementFormDefault="qualified" attributeFormDefault="unqualified" blockDefault="#all" version="0.2">
<xsd:import namespace="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd"
schemaLocation="oasis-200401-wss-wssecurity-utility-1.0.xsd"/>
<xsd:import namespace="http://www.w3.org/XML/1998/namespace"
schemaLocation="../xml.xsd"/>
<xsd:import namespace="http://www.w3.org/2000/09/xmldsig#"
schemaLocation="xmldsig-core-schema.xsd"/>
<xsd:complexType name="AttributedString">
<xsd:annotation>
<xsd:documentation>This type represents an element with arbitrary attributes.</xsd:documentation>
</xsd:annotation>
<xsd:simpleContent>
<xsd:extension base="xsd:string">
<xsd:attribute ref="wsu:Id"/>
<xsd:anyAttribute namespace="##other" processContents="lax"/>
</xsd:extension>
</xsd:simpleContent>
</xsd:complexType>
<xsd:complexType name="PasswordString">
<xsd:annotation>
<xsd:documentation>This type is used for password elements per Section 4.1.</xsd:documentation>
</xsd:annotation>
<xsd:simpleContent>
<xsd:extension base="wsse:AttributedString">
<xsd:attribute name="Type" type="xsd:anyURI"/>
</xsd:extension>
</xsd:simpleContent>
</xsd:complexType>
<xsd:complexType name="EncodedString">
<xsd:annotation>
<xsd:documentation>This type is used for elements containing stringified binary data.</xsd:documentation>
</xsd:annotation>
<xsd:simpleContent>
<xsd:extension base="wsse:AttributedString">
<xsd:attribute name="EncodingType" type="xsd:anyURI"/>
</xsd:extension>
</xsd:simpleContent>
</xsd:complexType>
<xsd:complexType name="UsernameTokenType">
<xsd:annotation>
<xsd:documentation>This type represents a username token per Section 4.1</xsd:documentation>
</xsd:annotation>
<xsd:sequence>
<xsd:element name="Username" type="wsse:AttributedString"/>
<xsd:any processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
</xsd:sequence>
<xsd:attribute ref="wsu:Id"/>
<xsd:anyAttribute namespace="##other" processContents="lax"/>
</xsd:complexType>
<xsd:complexType name="BinarySecurityTokenType">
<xsd:annotation>
<xsd:documentation>A security token that is encoded in binary</xsd:documentation>
</xsd:annotation>
<xsd:simpleContent>
<xsd:extension base="wsse:EncodedString">
<xsd:attribute name="ValueType" type="xsd:anyURI"/>
</xsd:extension>
</xsd:simpleContent>
</xsd:complexType>
<xsd:complexType name="KeyIdentifierType">
<xsd:annotation>
<xsd:documentation>A security token key identifier</xsd:documentation>
</xsd:annotation>
<xsd:simpleContent>
<xsd:extension base="wsse:EncodedString">
<xsd:attribute name="ValueType" type="xsd:anyURI"/>
</xsd:extension>
</xsd:simpleContent>
</xsd:complexType>
<xsd:simpleType name="tUsage">
<xsd:annotation>
<xsd:documentation>Typedef to allow a list of usages (as URIs).</xsd:documentation>
</xsd:annotation>
<xsd:list itemType="xsd:anyURI"/>
</xsd:simpleType>
<xsd:attribute name="Usage" type="tUsage">
<xsd:annotation>
<xsd:documentation>This global attribute is used to indicate the usage of a referenced or indicated token within the containing context</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:complexType name="ReferenceType">
<xsd:annotation>
<xsd:documentation>This type represents a reference to an external security token.</xsd:documentation>
</xsd:annotation>
<xsd:attribute name="URI" type="xsd:anyURI"/>
<xsd:attribute name="ValueType" type="xsd:anyURI"/>
<xsd:anyAttribute namespace="##other" processContents="lax"/>
</xsd:complexType>
<xsd:complexType name="EmbeddedType">
<xsd:annotation>
<xsd:documentation>This type represents a reference to an embedded security token.</xsd:documentation>
</xsd:annotation>
<xsd:choice minOccurs="0" maxOccurs="unbounded">
<xsd:any processContents="lax"/>
</xsd:choice>
<xsd:attribute name="ValueType" type="xsd:anyURI"/>
<xsd:anyAttribute namespace="##other" processContents="lax"/>
</xsd:complexType>
<xsd:complexType name="SecurityTokenReferenceType">
<xsd:annotation>
<xsd:documentation>This type is used reference a security token.</xsd:documentation>
</xsd:annotation>
<xsd:sequence minOccurs="0" maxOccurs="unbounded">
<xsd:any processContents="lax"/>
</xsd:sequence>
<xsd:attribute ref="wsu:Id"/>
<xsd:attribute ref="wsse:Usage"/>
<xsd:anyAttribute namespace="##other" processContents="lax"/>
</xsd:complexType>
<xsd:complexType name="SecurityHeaderType">
<xsd:annotation>
<xsd:documentation>This complexType defines header block to use for security-relevant data directed at a specific SOAP actor.</xsd:documentation>
</xsd:annotation>
<xsd:sequence>
<xsd:any processContents="lax" minOccurs="0" maxOccurs="unbounded">
<xsd:annotation>
<xsd:documentation>The use of "any" is to allow extensibility and different forms of security data.</xsd:documentation>
</xsd:annotation>
</xsd:any>
</xsd:sequence>
<xsd:anyAttribute namespace="##other" processContents="lax"/>
</xsd:complexType>
<xsd:complexType name="TransformationParametersType">
<xsd:annotation>
<xsd:documentation>This complexType defines a container for elements to be specified from any namespace as properties/parameters of a DSIG transformation.</xsd:documentation>
</xsd:annotation>
<xsd:sequence>
<xsd:any processContents="lax" minOccurs="0" maxOccurs="unbounded">
<xsd:annotation>
<xsd:documentation>The use of "any" is to allow extensibility from any namespace.</xsd:documentation>
</xsd:annotation>
</xsd:any>
</xsd:sequence>
<xsd:anyAttribute namespace="##other" processContents="lax"/>
</xsd:complexType>
<xsd:element name="UsernameToken" type="wsse:UsernameTokenType">
<xsd:annotation>
<xsd:documentation>This element defines the wsse:UsernameToken element per Section 4.1.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="BinarySecurityToken" type="wsse:BinarySecurityTokenType">
<xsd:annotation>
<xsd:documentation>This element defines the wsse:BinarySecurityToken element per Section 4.2.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="Reference" type="wsse:ReferenceType">
<xsd:annotation>
<xsd:documentation>This element defines a security token reference</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="Embedded" type="wsse:EmbeddedType">
<xsd:annotation>
<xsd:documentation>This element defines a security token embedded reference</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="KeyIdentifier" type="wsse:KeyIdentifierType">
<xsd:annotation>
<xsd:documentation>This element defines a key identifier reference</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="SecurityTokenReference" type="wsse:SecurityTokenReferenceType">
<xsd:annotation>
<xsd:documentation>This element defines the wsse:SecurityTokenReference per Section 4.3.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="Security" type="wsse:SecurityHeaderType">
<xsd:annotation>
<xsd:documentation>This element defines the wsse:Security SOAP header element per Section 4.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="TransformationParameters" type="wsse:TransformationParametersType">
<xsd:annotation>
<xsd:documentation>This element contains properties for transformations from any namespace, including DSIG.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="Password" type="wsse:PasswordString"/>
<xsd:element name="Nonce" type="wsse:EncodedString"/>
<xsd:simpleType name="FaultcodeEnum">
<xsd:restriction base="xsd:QName">
<xsd:enumeration value="wsse:UnsupportedSecurityToken"/>
<xsd:enumeration value="wsse:UnsupportedAlgorithm"/>
<xsd:enumeration value="wsse:InvalidSecurity"/>
<xsd:enumeration value="wsse:InvalidSecurityToken"/>
<xsd:enumeration value="wsse:FailedAuthentication"/>
<xsd:enumeration value="wsse:FailedCheck"/>
<xsd:enumeration value="wsse:SecurityTokenUnavailable"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:schema>

View File

@ -0,0 +1,104 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
OASIS takes no position regarding the validity or scope of any intellectual property or other rights that might be claimed to pertain to the implementation or use of the technology described in this document or the extent to which any license under such rights might or might not be available; neither does it represent that it has made any effort to identify any such rights. Information on OASIS's procedures with respect to rights in OASIS specifications can be found at the OASIS website. Copies of claims of rights made available for publication and any assurances of licenses to be made available, or the result of an attempt made to obtain a general license or permission for the use of such proprietary rights by implementors or users of this specification, can be obtained from the OASIS Executive Director.
OASIS invites any interested party to bring to its attention any copyrights, patents or patent applications, or other proprietary rights which may cover technology that may be required to implement this specification. Please address the information to the OASIS Executive Director.
Copyright (C) OASIS Open 2002-2004. All Rights Reserved.
This document and translations of it may be copied and furnished to others, and derivative works that comment on or otherwise explain it or assist in its implementation may be prepared, copied, published and distributed, in whole or in part, without restriction of any kind, provided that the above copyright notice and this paragraph are included on all such copies and derivative works. However, this document itself does not be modified in any way, such as by removing the copyright notice or references to OASIS, except as needed for the purpose of developing OASIS specifications, in which case the procedures for copyrights defined in the OASIS Intellectual Property Rights document must be followed, or as required to translate it into languages other than English.
The limited permissions granted above are perpetual and will not be revoked by OASIS or its successors or assigns.
This document and the information contained herein is provided on an AS IS basis and OASIS DISCLAIMS ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTY THAT THE USE OF THE INFORMATION HEREIN WILL NOT INFRINGE ANY RIGHTS OR ANY IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.
-->
<xsd:schema targetNamespace="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd"
elementFormDefault="qualified" attributeFormDefault="unqualified" version="0.1">
<!-- // Fault Codes /////////////////////////////////////////// -->
<xsd:simpleType name="tTimestampFault">
<xsd:annotation>
<xsd:documentation>
This type defines the fault code value for Timestamp message expiration.
</xsd:documentation>
</xsd:annotation>
<xsd:restriction base="xsd:QName">
<xsd:enumeration value="wsu:MessageExpired"/>
</xsd:restriction>
</xsd:simpleType>
<!-- // Global attributes //////////////////////////////////// -->
<xsd:attribute name="Id" type="xsd:ID">
<xsd:annotation>
<xsd:documentation>
This global attribute supports annotating arbitrary elements with an ID.
</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attributeGroup name="commonAtts">
<xsd:annotation>
<xsd:documentation>
Convenience attribute group used to simplify this schema.
</xsd:documentation>
</xsd:annotation>
<xsd:attribute ref="wsu:Id" use="optional"/>
<xsd:anyAttribute namespace="##other" processContents="lax"/>
</xsd:attributeGroup>
<!-- // Utility types //////////////////////////////////////// -->
<xsd:complexType name="AttributedDateTime">
<xsd:annotation>
<xsd:documentation>
This type is for elements whose [children] is a psuedo-dateTime and can have arbitrary attributes.
</xsd:documentation>
</xsd:annotation>
<xsd:simpleContent>
<xsd:extension base="xsd:string">
<xsd:attributeGroup ref="wsu:commonAtts"/>
</xsd:extension>
</xsd:simpleContent>
</xsd:complexType>
<xsd:complexType name="AttributedURI">
<xsd:annotation>
<xsd:documentation>
This type is for elements whose [children] is an anyURI and can have arbitrary attributes.
</xsd:documentation>
</xsd:annotation>
<xsd:simpleContent>
<xsd:extension base="xsd:anyURI">
<xsd:attributeGroup ref="wsu:commonAtts"/>
</xsd:extension>
</xsd:simpleContent>
</xsd:complexType>
<!-- // Timestamp header components /////////////////////////// -->
<xsd:complexType name="TimestampType">
<xsd:annotation>
<xsd:documentation>
This complex type ties together the timestamp related elements into a composite type.
</xsd:documentation>
</xsd:annotation>
<xsd:sequence>
<xsd:element ref="wsu:Created" minOccurs="0"/>
<xsd:element ref="wsu:Expires" minOccurs="0"/>
<xsd:choice minOccurs="0" maxOccurs="unbounded">
<xsd:any namespace="##other" processContents="lax"/>
</xsd:choice>
</xsd:sequence>
<xsd:attributeGroup ref="wsu:commonAtts"/>
</xsd:complexType>
<xsd:element name="Timestamp" type="wsu:TimestampType">
<xsd:annotation>
<xsd:documentation>
This element allows Timestamps to be applied anywhere element wildcards are present,
including as a SOAP header.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<!-- global element decls to allow individual elements to appear anywhere -->
<xsd:element name="Expires" type="wsu:AttributedDateTime">
<xsd:annotation>
<xsd:documentation>
This element allows an expiration time to be applied anywhere element wildcards are present.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="Created" type="wsu:AttributedDateTime">
<xsd:annotation>
<xsd:documentation>
This element allows a creation time to be applied anywhere element wildcards are present.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
</xsd:schema>

View File

@ -0,0 +1,309 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Schema for XML Signatures
http://www.w3.org/2000/09/xmldsig#
$Revision: 1.1.38.1 $ on $Date: 2006/06/13 16:00:19 $ by $Author: gawor $
Copyright 2001 The Internet Society and W3C (Massachusetts Institute
of Technology, Institut National de Recherche en Informatique et en
Automatique, Keio University). All Rights Reserved.
http://www.w3.org/Consortium/Legal/
This document is governed by the W3C Software License [1] as described
in the FAQ [2].
[1] http://www.w3.org/Consortium/Legal/copyright-software-19980720
[2] http://www.w3.org/Consortium/Legal/IPR-FAQ-20000620.html#DTD
-->
<schema xmlns="http://www.w3.org/2001/XMLSchema"
xmlns:ds="http://www.w3.org/2000/09/xmldsig#"
targetNamespace="http://www.w3.org/2000/09/xmldsig#"
version="0.1" elementFormDefault="qualified">
<!-- Basic Types Defined for Signatures -->
<simpleType name="CryptoBinary">
<restriction base="base64Binary">
</restriction>
</simpleType>
<!-- Start Signature -->
<element name="Signature" type="ds:SignatureType"/>
<complexType name="SignatureType">
<sequence>
<element ref="ds:SignedInfo"/>
<element ref="ds:SignatureValue"/>
<element ref="ds:KeyInfo" minOccurs="0"/>
<element ref="ds:Object" minOccurs="0" maxOccurs="unbounded"/>
</sequence>
<attribute name="Id" type="ID" use="optional"/>
</complexType>
<element name="SignatureValue" type="ds:SignatureValueType"/>
<complexType name="SignatureValueType">
<simpleContent>
<extension base="base64Binary">
<attribute name="Id" type="ID" use="optional"/>
</extension>
</simpleContent>
</complexType>
<!-- Start SignedInfo -->
<element name="SignedInfo" type="ds:SignedInfoType"/>
<complexType name="SignedInfoType">
<sequence>
<element ref="ds:CanonicalizationMethod"/>
<element ref="ds:SignatureMethod"/>
<element ref="ds:Reference" maxOccurs="unbounded"/>
</sequence>
<attribute name="Id" type="ID" use="optional"/>
</complexType>
<element name="CanonicalizationMethod" type="ds:CanonicalizationMethodType"/>
<complexType name="CanonicalizationMethodType" mixed="true">
<sequence>
<any namespace="##any" minOccurs="0" maxOccurs="unbounded"/>
<!-- (0,unbounded) elements from (1,1) namespace -->
</sequence>
<attribute name="Algorithm" type="anyURI" use="required"/>
</complexType>
<element name="SignatureMethod" type="ds:SignatureMethodType"/>
<complexType name="SignatureMethodType" mixed="true">
<sequence>
<element name="HMACOutputLength" minOccurs="0" type="ds:HMACOutputLengthType"/>
<any namespace="##other" minOccurs="0" maxOccurs="unbounded"/>
<!-- (0,unbounded) elements from (1,1) external namespace -->
</sequence>
<attribute name="Algorithm" type="anyURI" use="required"/>
</complexType>
<!-- Start Reference -->
<element name="Reference" type="ds:ReferenceType"/>
<complexType name="ReferenceType">
<sequence>
<element ref="ds:Transforms" minOccurs="0"/>
<element ref="ds:DigestMethod"/>
<element ref="ds:DigestValue"/>
</sequence>
<attribute name="Id" type="ID" use="optional"/>
<attribute name="URI" type="anyURI" use="optional"/>
<attribute name="Type" type="anyURI" use="optional"/>
</complexType>
<element name="Transforms" type="ds:TransformsType"/>
<complexType name="TransformsType">
<sequence>
<element ref="ds:Transform" maxOccurs="unbounded"/>
</sequence>
</complexType>
<element name="Transform" type="ds:TransformType"/>
<complexType name="TransformType" mixed="true">
<choice minOccurs="0" maxOccurs="unbounded">
<any namespace="##other" processContents="lax"/>
<!-- (1,1) elements from (0,unbounded) namespaces -->
<element name="XPath" type="string"/>
</choice>
<attribute name="Algorithm" type="anyURI" use="required"/>
</complexType>
<!-- End Reference -->
<element name="DigestMethod" type="ds:DigestMethodType"/>
<complexType name="DigestMethodType" mixed="true">
<sequence>
<any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
</sequence>
<attribute name="Algorithm" type="anyURI" use="required"/>
</complexType>
<element name="DigestValue" type="ds:DigestValueType"/>
<simpleType name="DigestValueType">
<restriction base="base64Binary"/>
</simpleType>
<!-- End SignedInfo -->
<!-- Start KeyInfo -->
<element name="KeyInfo" type="ds:KeyInfoType"/>
<complexType name="KeyInfoType" mixed="true">
<choice maxOccurs="unbounded">
<element ref="ds:KeyName"/>
<element ref="ds:KeyValue"/>
<element ref="ds:RetrievalMethod"/>
<element ref="ds:X509Data"/>
<element ref="ds:PGPData"/>
<element ref="ds:SPKIData"/>
<element ref="ds:MgmtData"/>
<any processContents="lax" namespace="##other"/>
<!-- (1,1) elements from (0,unbounded) namespaces -->
</choice>
<attribute name="Id" type="ID" use="optional"/>
</complexType>
<element name="KeyName" type="string"/>
<element name="MgmtData" type="string"/>
<element name="KeyValue" type="ds:KeyValueType"/>
<complexType name="KeyValueType" mixed="true">
<choice>
<element ref="ds:DSAKeyValue"/>
<element ref="ds:RSAKeyValue"/>
<any namespace="##other" processContents="lax"/>
</choice>
</complexType>
<element name="RetrievalMethod" type="ds:RetrievalMethodType"/>
<complexType name="RetrievalMethodType">
<sequence>
<element ref="ds:Transforms" minOccurs="0"/>
</sequence>
<attribute name="URI" type="anyURI"/>
<attribute name="Type" type="anyURI" use="optional"/>
</complexType>
<!-- Start X509Data -->
<element name="X509Data" type="ds:X509DataType"/>
<complexType name="X509DataType">
<sequence maxOccurs="unbounded">
<choice>
<element name="X509IssuerSerial" type="ds:X509IssuerSerialType"/>
<element name="X509SKI" type="base64Binary"/>
<element name="X509SubjectName" type="string"/>
<element name="X509Certificate" type="base64Binary"/>
<element name="X509CRL" type="base64Binary"/>
<any namespace="##other" processContents="lax"/>
</choice>
</sequence>
</complexType>
<complexType name="X509IssuerSerialType">
<sequence>
<element name="X509IssuerName" type="string"/>
<element name="X509SerialNumber" type="integer"/>
</sequence>
</complexType>
<!-- End X509Data -->
<!-- Begin PGPData -->
<element name="PGPData" type="ds:PGPDataType"/>
<complexType name="PGPDataType">
<choice>
<sequence>
<element name="PGPKeyID" type="base64Binary"/>
<element name="PGPKeyPacket" type="base64Binary" minOccurs="0"/>
<any namespace="##other" processContents="lax" minOccurs="0"
maxOccurs="unbounded"/>
</sequence>
<sequence>
<element name="PGPKeyPacket" type="base64Binary"/>
<any namespace="##other" processContents="lax" minOccurs="0"
maxOccurs="unbounded"/>
</sequence>
</choice>
</complexType>
<!-- End PGPData -->
<!-- Begin SPKIData -->
<element name="SPKIData" type="ds:SPKIDataType"/>
<complexType name="SPKIDataType">
<sequence maxOccurs="unbounded">
<element name="SPKISexp" type="base64Binary"/>
<any namespace="##other" processContents="lax" minOccurs="0"/>
</sequence>
</complexType>
<!-- End SPKIData -->
<!-- End KeyInfo -->
<!-- Start Object (Manifest, SignatureProperty) -->
<element name="Object" type="ds:ObjectType"/>
<complexType name="ObjectType" mixed="true">
<sequence minOccurs="0" maxOccurs="unbounded">
<any namespace="##any" processContents="lax"/>
</sequence>
<attribute name="Id" type="ID" use="optional"/>
<attribute name="MimeType" type="string" use="optional"/> <!-- add a grep facet -->
<attribute name="Encoding" type="anyURI" use="optional"/>
</complexType>
<element name="Manifest" type="ds:ManifestType"/>
<complexType name="ManifestType">
<sequence>
<element ref="ds:Reference" maxOccurs="unbounded"/>
</sequence>
<attribute name="Id" type="ID" use="optional"/>
</complexType>
<element name="SignatureProperties" type="ds:SignaturePropertiesType"/>
<complexType name="SignaturePropertiesType">
<sequence>
<element ref="ds:SignatureProperty" maxOccurs="unbounded"/>
</sequence>
<attribute name="Id" type="ID" use="optional"/>
</complexType>
<element name="SignatureProperty" type="ds:SignaturePropertyType"/>
<complexType name="SignaturePropertyType" mixed="true">
<choice maxOccurs="unbounded">
<any namespace="##other" processContents="lax"/>
<!-- (1,1) elements from (1,unbounded) namespaces -->
</choice>
<attribute name="Target" type="anyURI" use="required"/>
<attribute name="Id" type="ID" use="optional"/>
</complexType>
<!-- End Object (Manifest, SignatureProperty) -->
<!-- Start Algorithm Parameters -->
<simpleType name="HMACOutputLengthType">
<restriction base="integer"/>
</simpleType>
<!-- Start KeyValue Element-types -->
<element name="DSAKeyValue" type="ds:DSAKeyValueType"/>
<complexType name="DSAKeyValueType">
<sequence>
<sequence minOccurs="0">
<element name="P" type="ds:CryptoBinary"/>
<element name="Q" type="ds:CryptoBinary"/>
</sequence>
<element name="G" type="ds:CryptoBinary" minOccurs="0"/>
<element name="Y" type="ds:CryptoBinary"/>
<element name="J" type="ds:CryptoBinary" minOccurs="0"/>
<sequence minOccurs="0">
<element name="Seed" type="ds:CryptoBinary"/>
<element name="PgenCounter" type="ds:CryptoBinary"/>
</sequence>
</sequence>
</complexType>
<element name="RSAKeyValue" type="ds:RSAKeyValueType"/>
<complexType name="RSAKeyValueType">
<sequence>
<element name="Modulus" type="ds:CryptoBinary"/>
<element name="Exponent" type="ds:CryptoBinary"/>
</sequence>
</complexType>
<!-- End KeyValue Element-types -->
<!-- End Signature -->
</schema>

View File

@ -0,0 +1,129 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright Notice
(c) 2001-2004 BEA Systems, Inc., Computer Associates International,
Inc., International Business Machines Corporation, Layer 7
Technologies, Microsoft Corporation, Netegrity, Inc., Oblix Inc.,
OpenNetwork Technologies Inc., Ping Identity Corporation, Reactivity Inc.,
RSA Security Inc., VeriSign Inc., and Westbridge Technology, Inc.
All rights reserved.
BEA, Computer Associates, IBM, Layer 7, Microsoft, Netegrity, Oblix,
OpenNetwork, Ping Identity, Reactivity, RSA Security, VeriSign, and Westbridge
(collectively, the "Authors") hereby grant you permission to copy and
display the WS-Trust WSDL document, in any medium without fee or
royalty, provided that you include the following on ALL copies of the
WS-Trust WSDL document that you make:
1. A link or URL to the Specification at this location.
2. The copyright notice as shown in the WS-Trust Specification.
BEA, Computer Associates, IBM, Layer7, Microsoft, Netegrity, Oblix,
OpenNetwork, Ping Identity, Reactivity, RSA Security, VeriSign, and Westbridge
(collectively, the "Authors") each agree to grant you a license, under
royalty-free and otherwise reasonable, non-discriminatory terms and
conditions, to their respective essential patent claims that they deem
necessary to implement the WS-Trust WSDL document.
THE WS-Trust WSDL DOCUMENT IS PROVIDED "AS IS," AND THE AUTHORS MAKE
NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR IMPLIED, INCLUDING, BUT
NOT LIMITED TO, WARRANTIES OF MERCHANTABILITY, FITNESS FOR A
PARTICULAR PURPOSE, NON-INFRINGEMENT, OR TITLE; THAT THE CONTENTS OF
THE WS-Trust WSDL DOCUMENT ARE SUITABLE FOR ANY PURPOSE; NOR THAT THE
IMPLEMENTATION OF SUCH CONTENTS WILL NOT INFRINGE ANY THIRD PARTY
PATENTS, COPYRIGHTS, TRADEMARKS OR OTHER RIGHTS.
THE AUTHORS WILL NOT BE LIABLE FOR ANY DIRECT, INDIRECT, SPECIAL,
INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF OR RELATING TO ANY
USE OR DISTRIBUTION OF THE WS-Trust SPECIFICATION.
The WS-Trust WSDL document may change before final release and you are
cautioned against relying on the content of this specification.
The name and trademarks of the Authors may NOT be used in any manner,
including advertising or publicity pertaining to the Specification or
its contents without specific, written prior permission. Title to
copyright in the WS-Trust WSDL document will at all times remain with
the Authors.
No other rights are granted by implication, estoppel or otherwise.
-->
<wsdl:definitions
targetNamespace="http://schemas.xmlsoap.org/ws/2004/04/trust"
xmlns:tns="http://schemas.xmlsoap.org/ws/2004/04/trust"
xmlns:wst="http://schemas.xmlsoap.org/ws/2004/04/trust"
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
xmlns:xs="http://www.w3.org/2001/XMLSchema" >
<!-- this is the WS-I BP-compliant way to import a schema -->
<wsdl:types>
<xs:schema>
<xs:import namespace="http://schemas.xmlsoap.org/ws/2004/04/trust" schemaLocation="ws-trust.xsd"/>
</xs:schema>
</wsdl:types>
<!-- WS-Trust defines the following GEDs -->
<wsdl:message name="RequestSecurityTokenMsg">
<wsdl:part name="request" element="wst:RequestSecurityToken" />
</wsdl:message>
<wsdl:message name="RequestSecurityTokenResponseMsg">
<wsdl:part name="response"
element="wst:RequestSecurityTokenResponse" />
</wsdl:message>
<wsdl:message name="RequestSecurityTokenResponseCollectionMsg">
<wsdl:part name="responseCollection"
element="wst:RequestSecurityTokenResponseCollection"/>
</wsdl:message>
<!-- This portType models the full request/response the Security Token Service: -->
<wsdl:portType name="WSSecurityRequestor">
<wsdl:operation name="Challenge">
<wsdl:input
message="tns:RequestSecurityTokenResponseMsg"/>
<wsdl:output
message="tns:RequestSecurityTokenResponseMsg"/>
</wsdl:operation>
<wsdl:operation name="Challenge2">
<wsdl:input
message="tns:RequestSecurityTokenResponseMsg"/>
<wsdl:output
message="tns:RequestSecurityTokenResponseCollectionMsg"/>
</wsdl:operation>
<wsdl:operation name="RequestSecurityTokenResponse">
<wsdl:input
message="tns:RequestSecurityTokenResponseMsg"/>
</wsdl:operation>
<wsdl:operation name="SecurityTokenResponse2">
<wsdl:input
message="tns:RequestSecurityTokenResponseCollectionMsg"/>
</wsdl:operation>
</wsdl:portType>
<!-- These portTypes model the individual message exchanges -->
<wsdl:portType name="SecurityTokenRequestService">
<wsdl:operation name="RequestSecurityToken">
<wsdl:input message="tns:RequestSecurityTokenMsg"/>
</wsdl:operation>
</wsdl:portType>
<wsdl:portType name="SecurityTokenService">
<wsdl:operation name="RequestSecurityToken">
<wsdl:input message="tns:RequestSecurityTokenMsg"/>
<wsdl:output name="RequestSecurityTokenResponse"
message="tns:RequestSecurityTokenResponseMsg"/>
</wsdl:operation>
<wsdl:operation name="RequestSecurityToken2">
<wsdl:input message="tns:RequestSecurityTokenMsg"/>
<wsdl:output
message="tns:RequestSecurityTokenResponseCollectionMsg"/>
</wsdl:operation>
</wsdl:portType>
</wsdl:definitions>

View File

@ -0,0 +1,456 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright Notice
(c) 2001-2004 BEA Systems, Inc., Computer Associates International,
Inc., International Business Machines Corporation, Layer 7
Technologies, Microsoft Corporation, Netegrity, Inc., Oblix Inc.,
OpenNetwork Technologies Inc., Ping Identity Corporation, Reactivity Inc.,
RSA Security Inc., VeriSign Inc., and Westbridge Technology, Inc.
All rights reserved.
BEA, Computer Associates, IBM, Layer 7, Microsoft, Netegrity, Oblix,
OpenNetwork, Ping Identity, Reactivity, RSA Security, VeriSign, and Westbridge
(collectively, the "Authors") hereby grant you permission to copy and
display the WS-Trust Schema Document, in any medium without fee or
royalty, provided that you include the following on ALL copies of the
WS-Trust Schema Document that you make:
1. A link or URL to the Specification at this location.
2. The copyright notice as shown in the WS-Trust Specification.
BEA, Computer Associates, IBM, Layer7, Microsoft, Netegrity, Oblix,
OpenNetwork, Ping Identity, Reactivity, RSA Security, VeriSign, and Westbridge
(collectively, the "Authors") each agree to grant you a license, under
royalty-free and otherwise reasonable, non-discriminatory terms and
conditions, to their respective essential patent claims that they deem
necessary to implement the WS-Trust Schema Document.
THE WS-Trust SCHEMA DOCUMENT IS PROVIDED "AS IS," AND THE AUTHORS MAKE
NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR IMPLIED, INCLUDING, BUT
NOT LIMITED TO, WARRANTIES OF MERCHANTABILITY, FITNESS FOR A
PARTICULAR PURPOSE, NON-INFRINGEMENT, OR TITLE; THAT THE CONTENTS OF
THE WS-Trust SCHEMA DOCUMENT ARE SUITABLE FOR ANY PURPOSE; NOR THAT THE
IMPLEMENTATION OF SUCH CONTENTS WILL NOT INFRINGE ANY THIRD PARTY
PATENTS, COPYRIGHTS, TRADEMARKS OR OTHER RIGHTS.
THE AUTHORS WILL NOT BE LIABLE FOR ANY DIRECT, INDIRECT, SPECIAL,
INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF OR RELATING TO ANY
USE OR DISTRIBUTION OF THE WS-Trust SPECIFICATION.
The WS-Trust Schema Document may change before final release and you are
cautioned against relying on the content of this specification.
The name and trademarks of the Authors may NOT be used in any manner,
including advertising or publicity pertaining to the Specification or
its contents without specific, written prior permission. Title to
copyright in the WS-Trust Schema Document will at all times remain with
the Authors.
No other rights are granted by implication, estoppel or otherwise.
-->
<xs:schema xmlns:xs='http://www.w3.org/2001/XMLSchema'
xmlns:wsse='http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd'
xmlns:wsu='http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd'
xmlns:wsp='http://schemas.xmlsoap.org/ws/2002/12/policy'
xmlns:wsa='http://schemas.xmlsoap.org/ws/2004/03/addressing'
xmlns:wst='http://schemas.xmlsoap.org/ws/2004/04/trust'
targetNamespace='http://schemas.xmlsoap.org/ws/2004/04/trust'
elementFormDefault='qualified' >
<xs:import namespace='http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd'
schemaLocation='../security/oasis-200401-wss-wssecurity-secext-1.0.xsd' />
<xs:import namespace='http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd'
schemaLocation='../security/oasis-200401-wss-wssecurity-utility-1.0.xsd' />
<xs:import namespace='http://schemas.xmlsoap.org/ws/2002/12/policy'
schemaLocation='../policy/policy.xsd' />
<xs:import namespace='http://schemas.xmlsoap.org/ws/2004/03/addressing'
schemaLocation='../addressing/WS-Addressing.xsd' />
<!-- WS-Trust Section 5.1 -->
<xs:element name='RequestSecurityToken' type='wst:RequestSecurityTokenType' />
<xs:complexType name='RequestSecurityTokenType' >
<xs:annotation>
<xs:documentation>
Actual content model is non-deterministic, hence wildcard. The following shows intended content model:
<xs:element ref='wst:TokenType' minOccurs='0' />
<xs:element ref='wst:RequestType' />
<xs:element ref='wst:Base' minOccurs='0' />
<xs:element ref='wst:Supporting' minOccurs='0' />
<xs:element ref='wsp:AppliesTo' minOccurs='0' />
<xs:element ref='wst:Claims' minOccurs='0' />
<xs:element ref='wst:Entropy' minOccurs='0' />
<xs:element ref='wst:Lifetime' minOccurs='0' />
<xs:element ref='wst:AllowPostdating' minOccurs='0' />
<xs:element ref='wst:Renewing' minOccurs='0' />
<xs:element ref='wst:OnBehalfOf' minOccurs='0' />
<xs:element ref='wst:Issuer' minOccurs='0' />
<xs:element ref='wst:AuthenticationType' minOccurs='0' />
<xs:element ref='wst:KeyType' minOccurs='0' />
<xs:element ref='wst:KeySize' minOccurs='0' />
<xs:element ref='wst:SignatureAlgorithm' minOccurs='0' />
<xs:element ref='wst:Encryption' minOccurs='0' />
<xs:element ref='wst:EncryptionAlgorithm' minOccurs='0' />
<xs:element ref='wst:CanonicalizationAlgorithm' minOccurs='0' />
<xs:element ref='wst:ProofEncryption' minOccurs='0' />
<xs:element ref='wst:UseKey' minOccurs='0' />
<xs:element ref='wst:SignWith' minOccurs='0' />
<xs:element ref='wst:EncryptWith' minOccurs='0' />
<xs:element ref='wst:DelegateTo' minOccurs='0' />
<xs:element ref='wst:Forwardable' minOccurs='0' />
<xs:element ref='wst:Delegatable' minOccurs='0' />
<xs:element ref='wsp:Policy' minOccurs='0' />
<xs:element ref='wsp:PolicyReference' minOccurs='0' />
<xs:any namespace='##other' processContents='lax' minOccurs='0' maxOccurs='unbounded' />
</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:any namespace='##any' processContents='lax' minOccurs='0' maxOccurs='unbounded' />
</xs:sequence>
<xs:attribute name='Context' type='xs:anyURI' use='optional' />
<xs:anyAttribute namespace='##other' processContents='lax' />
</xs:complexType>
<xs:element name='TokenType' type='xs:anyURI' />
<xs:element name='RequestType' type='wst:RequestTypeOpenEnum' />
<xs:simpleType name='RequestTypeOpenEnum' >
<xs:union memberTypes='wst:RequestTypeEnum xs:anyURI' />
</xs:simpleType>
<xs:simpleType name='RequestTypeEnum' >
<xs:restriction base='xs:anyURI' >
<xs:enumeration value='http://schemas.xmlsoap.org/ws/2004/04/security/trust/Issue' />
<xs:enumeration value='http://schemas.xmlsoap.org/ws/2004/04/security/trust/Renew' />
<xs:enumeration value='http://schemas.xmlsoap.org/ws/2004/04/security/trust/Validate' />
</xs:restriction>
</xs:simpleType>
<xs:element name='Base' type='wst:BaseTokenType' />
<xs:complexType name='BaseTokenType' >
<xs:sequence>
<xs:any namespace='##any' processContents='lax' />
</xs:sequence>
</xs:complexType>
<xs:element name='Supporting' type='wst:SupportingTokensType' />
<xs:complexType name='SupportingTokensType' >
<xs:sequence>
<xs:any namespace='##any' processContents='lax' minOccurs='1' maxOccurs='unbounded' />
</xs:sequence>
</xs:complexType>
<!-- WS-Trust Section 5.2 -->
<xs:element name='RequestSecurityTokenResponse' type='wst:RequestSecurityTokenResponseType' />
<xs:complexType name='RequestSecurityTokenResponseType' >
<xs:annotation>
<xs:documentation>
Actual content model is non-deterministic, hence wildcard. The following shows intended content model:
<xs:element ref='wst:TokenType' minOccurs='0' />
<xs:element ref='wst:RequestType' />
<xs:element ref='wst:Base' minOccurs='0' />
<xs:element ref='wst:Supporting' minOccurs='0' />
<xs:element ref='wst:RequestedSecurityToken' minOccurs='0' />
<xs:element ref='wsp:AppliesTo' minOccurs='0' />
<xs:element ref='wst:Claims' minOccurs='0' />
<xs:element ref='wst:RequestedTokenReference' minOccurs='0' />
<xs:element ref='wst:RequestedProofToken' minOccurs='0' />
<xs:element ref='wst:Entropy' minOccurs='0' />
<xs:element ref='wst:Lifetime' minOccurs='0' />
<xs:element ref='wst:Status' minOccurs='0' />
<xs:element ref='wst:AllowPostdating' minOccurs='0' />
<xs:element ref='wst:Renewing' minOccurs='0' />
<xs:element ref='wst:OnBehalfOf' minOccurs='0' />
<xs:element ref='wst:Issuer' minOccurs='0' />
<xs:element ref='wst:AuthenticationType' minOccurs='0' />
<xs:element ref='wst:Authenticator' minOccurs='0' />
<xs:element ref='wst:KeyType' minOccurs='0' />
<xs:element ref='wst:KeySize' minOccurs='0' />
<xs:element ref='wst:SignatureAlgorithm' minOccurs='0' />
<xs:element ref='wst:Encryption' minOccurs='0' />
<xs:element ref='wst:EncryptionAlgorithm' minOccurs='0' />
<xs:element ref='wst:CanonicalizationAlgorithm' minOccurs='0' />
<xs:element ref='wst:ProofEncryption' minOccurs='0' />
<xs:element ref='wst:UseKey' minOccurs='0' />
<xs:element ref='wst:SignWith' minOccurs='0' />
<xs:element ref='wst:EncryptWith' minOccurs='0' />
<xs:element ref='wst:DelegateTo' minOccurs='0' />
<xs:element ref='wst:Forwardable' minOccurs='0' />
<xs:element ref='wst:Delegatable' minOccurs='0' />
<xs:element ref='wsp:Policy' minOccurs='0' />
<xs:element ref='wsp:PolicyReference' minOccurs='0' />
<xs:any namespace='##other' processContents='lax' minOccurs='0' maxOccurs='unbounded' />
</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:any namespace='##any' processContents='lax' minOccurs='0' maxOccurs='unbounded' />
</xs:sequence>
<xs:attribute name='Context' type='xs:anyURI' use='optional' />
<xs:anyAttribute namespace='##other' processContents='lax' />
</xs:complexType>
<xs:element name='RequestedSecurityToken' type='wst:RequestedSecurityTokenType' />
<xs:complexType name='RequestedSecurityTokenType' >
<xs:sequence>
<xs:any namespace='##any' processContents='lax' />
</xs:sequence>
</xs:complexType>
<!-- WS-Trust Section 5.3 -->
<xs:element name='BinarySecret' type='wst:BinarySecretType' />
<xs:complexType name='BinarySecretType' >
<xs:simpleContent>
<xs:extension base='xs:base64Binary' >
<xs:attribute name='Type' type='wst:BinarySecretTypeOpenEnum' use='optional' />
<xs:anyAttribute namespace='##other' processContents='lax' />
</xs:extension>
</xs:simpleContent>
</xs:complexType>
<xs:simpleType name='BinarySecretTypeEnum' >
<xs:restriction base='xs:anyURI' >
<xs:enumeration value='http://schemas.xmlsoap.org/ws/2004/04/security/trust/AsymmetricKey' />
<xs:enumeration value='http://schemas.xmlsoap.org/ws/2004/04/security/trust/SymmetricKey' />
<xs:enumeration value='http://schemas.xmlsoap.org/ws/2004/04/security/trust/Nonce' />
</xs:restriction>
</xs:simpleType>
<xs:simpleType name='BinarySecretTypeOpenEnum' >
<xs:union memberTypes='wst:BinarySecretTypeEnum xs:anyURI' />
</xs:simpleType>
<!-- WS-Trust Section 6.1 -->
<xs:element name='Claims' type='wst:ClaimsType' />
<xs:complexType name='ClaimsType' >
<xs:sequence>
<xs:any namespace='##any' processContents='lax' minOccurs='0' maxOccurs='unbounded' />
</xs:sequence>
<xs:attribute name='Dialect' type='xs:anyURI' use='optional' />
<xs:anyAttribute namespace='##other' processContents='lax' />
</xs:complexType>
<xs:element name='Entropy' type='wst:EntropyType' />
<xs:complexType name='EntropyType' >
<xs:sequence>
<xs:any namespace='##any' processContents='lax' minOccurs='0' maxOccurs='unbounded' />
</xs:sequence>
<xs:anyAttribute namespace='##other' processContents='lax' />
</xs:complexType>
<xs:element name='Lifetime' type='wst:LifetimeType' />
<xs:complexType name='LifetimeType' >
<xs:sequence>
<xs:element ref='wsu:Created' minOccurs='0' />
<xs:element ref='wsu:Expires' minOccurs='0' />
</xs:sequence>
</xs:complexType>
<!-- WS-Trust Section 6.2 -->
<xs:element name='ComputedKey' type='wst:ComputedKeyOpenEnum' />
<xs:simpleType name='ComputedKeyEnum' >
<xs:restriction base='xs:anyURI' >
<xs:enumeration value='http://schemas.xmlsoap.org/ws/2004/04/security/trust/CK/PSHA1' />
<xs:enumeration value='http://schemas.xmlsoap.org/ws/2004/04/security/trust/CK/HASH' />
</xs:restriction>
</xs:simpleType>
<xs:simpleType name='ComputedKeyOpenEnum' >
<xs:union memberTypes='wst:ComputedKeyEnum xs:anyURI' />
</xs:simpleType>
<xs:element name='RequestedTokenReference' type='wst:RequestedTokenReferenceType' />
<xs:complexType name='RequestedTokenReferenceType' >
<xs:sequence>
<xs:element ref='wsse:SecurityTokenReference' />
</xs:sequence>
</xs:complexType>
<xs:element name='RequestedProofToken' type='wst:RequestedProofTokenType' />
<xs:complexType name='RequestedProofTokenType' >
<xs:sequence>
<xs:any namespace='##any' processContents='lax' />
</xs:sequence>
</xs:complexType>
<!-- WS-Trust Section 6.3 -->
<xs:element name='RequestSecurityTokenResponseCollection' type='wst:RequestSecurityTokenResponseCollectionType' />
<xs:complexType name='RequestSecurityTokenResponseCollectionType' >
<xs:sequence>
<xs:element ref='wst:RequestSecurityTokenResponse' minOccurs='2' maxOccurs='unbounded' />
</xs:sequence>
<xs:anyAttribute namespace='##other' processContents='lax' />
</xs:complexType>
<!-- WS-Trust Section 7 -->
<xs:element name='AllowPostdating' type='wst:AllowPostdatingType' />
<xs:complexType name='AllowPostdatingType' />
<xs:element name='Renewing' type='wst:RenewingType' />
<xs:complexType name='RenewingType' >
<xs:attribute name='Allow' type='xs:boolean' use='optional' />
<xs:attribute name='OK' type='xs:boolean' use='optional' />
</xs:complexType>
<!-- WS-Trust Section 8 -->
<xs:element name='Status' type='wst:StatusType' />
<xs:complexType name='StatusType' >
<xs:sequence>
<xs:element name='Code' type='wst:StatusCodeOpenEnum' />
<xs:element name='Reason' type='xs:string' minOccurs='0' />
</xs:sequence>
</xs:complexType>
<xs:simpleType name='StatusCodeEnum' >
<xs:restriction base='xs:anyURI' >
<xs:enumeration value='http://schemas.xmlsoap.org/ws/2004/04/security/trust/status/valid' />
<xs:enumeration value='http://schemas.xmlsoap.org/ws/2004/04/security/trust/status/invalid' />
</xs:restriction>
</xs:simpleType>
<xs:simpleType name='StatusCodeOpenEnum' >
<xs:union memberTypes='wst:StatusCodeEnum xs:anyURI' />
</xs:simpleType>
<!-- WS-Trust Section 9.2 -->
<xs:element name='SignChallenge' type='wst:SignChallengeType' />
<xs:element name='SignChallengeResponse' type='wst:SignChallengeType' />
<xs:complexType name='SignChallengeType' >
<xs:sequence>
<xs:element ref='wst:Challenge' />
<xs:any namespace='##any' processContents='lax' minOccurs='0' maxOccurs='unbounded' />
</xs:sequence>
<xs:anyAttribute namespace='##any' processContents='lax' />
</xs:complexType>
<xs:element name='Challenge' type='xs:string'/>
<!-- WS-Trust Section 9.3 -->
<xs:element name='BinaryExchange' type='wst:BinaryExchangeType' />
<xs:complexType name='BinaryExchangeType' >
<xs:simpleContent>
<xs:extension base='xs:string' >
<xs:attribute name='ValueType' type='xs:anyURI' use='required' />
<xs:attribute name='EncodingType' type='xs:anyURI' use='required' />
<xs:anyAttribute namespace='##other' processContents='lax' />
</xs:extension>
</xs:simpleContent>
</xs:complexType>
<!-- WS-Trust Section 9.4 -->
<xs:element name='RequestKET' type='wst:RequestKETType' />
<xs:complexType name='RequestKETType' />
<xs:element name='KeyExchangeToken' type='wst:KeyExchangeTokenType' />
<xs:complexType name='KeyExchangeTokenType' >
<xs:sequence>
<xs:any namespace='##any' processContents='lax' minOccurs='0' maxOccurs='unbounded' />
</xs:sequence>
</xs:complexType>
<!-- WS-Trust Section 9.8 -->
<xs:element name='Authenticator' type='wst:AuthenticatorType' />
<xs:complexType name='AuthenticatorType' >
<xs:sequence>
<xs:element ref='wst:CombinedHash' minOccurs='0' />
<xs:any namespace='##other' processContents='lax' minOccurs='0' maxOccurs='unbounded' />
</xs:sequence>
</xs:complexType>
<xs:element name='CombinedHash' type='xs:base64Binary' />
<!-- WS-Trust Section 10.1 -->
<xs:element name='OnBehalfOf' type='wst:OnBehalfOfType' />
<xs:complexType name='OnBehalfOfType' >
<xs:sequence>
<xs:any namespace='##any' processContents='lax' />
</xs:sequence>
</xs:complexType>
<xs:element name='Issuer' type='wsa:EndpointReferenceType' />
<!-- WS-Trust Section 10.2 -->
<xs:element name='AuthenticationType' type='xs:anyURI' />
<xs:element name='KeyType' type='wst:KeyTypeOpenEnum' />
<xs:simpleType name='KeyTypeEnum' >
<xs:restriction base='xs:anyURI' >
<xs:enumeration value='http://schemas.xmlsoap.org/ws/2004/04/security/trust/PublicKey' />
<xs:enumeration value='http://schemas.xmlsoap.org/ws/2004/04/security/trust/SymmetricKey' />
</xs:restriction>
</xs:simpleType>
<xs:simpleType name='KeyTypeOpenEnum' >
<xs:union memberTypes='wst:KeyTypeEnum xs:anyURI' />
</xs:simpleType>
<xs:element name='KeySize' type='xs:unsignedInt' />
<xs:element name='SignatureAlgorithm' type='xs:anyURI' />
<xs:element name='EncryptionAlgorithm' type='xs:anyURI' />
<xs:element name='CanonicalizationAlgorithm' type='xs:anyURI' />
<xs:element name='ComputedKeyAlgorithm' type='xs:anyURI' />
<xs:element name='Encryption' type='wst:EncryptionType' />
<xs:complexType name='EncryptionType' >
<xs:sequence>
<xs:any namespace='##any' processContents='lax' />
</xs:sequence>
</xs:complexType>
<xs:element name='ProofEncryption' type='wst:ProofEncryptionType' />
<xs:complexType name='ProofEncryptionType' >
<xs:sequence>
<xs:any namespace='##any' processContents='lax' />
</xs:sequence>
</xs:complexType>
<xs:element name='UseKey' type='wst:UseKeyType' />
<xs:complexType name='UseKeyType' >
<xs:sequence>
<xs:any namespace='##any' processContents='lax' minOccurs='0' />
</xs:sequence>
<xs:attribute name='Sig' type='xs:anyURI' use='optional' />
</xs:complexType>
<xs:element name='SignWith' type='xs:anyURI' />
<xs:element name='EncryptWith' type='xs:anyURI' />
<!-- WS-Trust Section 10.3 -->
<xs:element name='DelegateTo' type='wst:DelegateToType' />
<xs:complexType name='DelegateToType' >
<xs:sequence>
<xs:any namespace='##any' processContents='lax' />
</xs:sequence>
</xs:complexType>
<xs:element name='Forwardable' type='xs:boolean' />
<xs:element name='Delegatable' type='xs:boolean' />
<!-- WS-Trust Section 10.5 -->
<xs:element name='Participants' type='wst:ParticipantsType' />
<xs:complexType name='ParticipantsType' >
<xs:sequence>
<xs:element name='Primary' type='wst:ParticipantType' minOccurs='0' />
<xs:element name='Participant' type='wst:ParticipantType' minOccurs='0' maxOccurs='unbounded' />
<xs:any namespace='##other' processContents='lax' minOccurs='0' maxOccurs='unbounded' />
</xs:sequence>
</xs:complexType>
<xs:complexType name='ParticipantType' >
<xs:sequence>
<xs:any namespace='##any' processContents='lax' />
</xs:sequence>
</xs:complexType>
</xs:schema>

View File

@ -0,0 +1,116 @@
<?xml version='1.0'?>
<xs:schema targetNamespace="http://www.w3.org/XML/1998/namespace" xmlns:xs="http://www.w3.org/2001/XMLSchema" xml:lang="en">
<xs:annotation>
<xs:documentation>
See http://www.w3.org/XML/1998/namespace.html and
http://www.w3.org/TR/REC-xml for information about this namespace.
This schema document describes the XML namespace, in a form
suitable for import by other schema documents.
Note that local names in this namespace are intended to be defined
only by the World Wide Web Consortium or its subgroups. The
following names are currently defined in this namespace and should
not be used with conflicting semantics by any Working Group,
specification, or document instance:
base (as an attribute name): denotes an attribute whose value
provides a URI to be used as the base for interpreting any
relative URIs in the scope of the element on which it
appears; its value is inherited. This name is reserved
by virtue of its definition in the XML Base specification.
lang (as an attribute name): denotes an attribute whose value
is a language code for the natural language of the content of
any element; its value is inherited. This name is reserved
by virtue of its definition in the XML specification.
space (as an attribute name): denotes an attribute whose
value is a keyword indicating what whitespace processing
discipline is intended for the content of the element; its
value is inherited. This name is reserved by virtue of its
definition in the XML specification.
Father (in any context at all): denotes Jon Bosak, the chair of
the original XML Working Group. This name is reserved by
the following decision of the W3C XML Plenary and
XML Coordination groups:
In appreciation for his vision, leadership and dedication
the W3C XML Plenary on this 10th day of February, 2000
reserves for Jon Bosak in perpetuity the XML name
xml:Father
</xs:documentation>
</xs:annotation>
<xs:annotation>
<xs:documentation>This schema defines attributes and an attribute group
suitable for use by
schemas wishing to allow xml:base, xml:lang or xml:space attributes
on elements they define.
To enable this, such a schema must import this schema
for the XML namespace, e.g. as follows:
&lt;schema . . .>
. . .
&lt;import namespace="http://www.w3.org/XML/1998/namespace"
schemaLocation="http://www.w3.org/2001/03/xml.xsd"/>
Subsequently, qualified reference to any of the attributes
or the group defined below will have the desired effect, e.g.
&lt;type . . .>
. . .
&lt;attributeGroup ref="xml:specialAttrs"/>
will define a type which will schema-validate an instance
element with any of those attributes</xs:documentation>
</xs:annotation>
<xs:annotation>
<xs:documentation>In keeping with the XML Schema WG's standard versioning
policy, this schema document will persist at
http://www.w3.org/2001/03/xml.xsd.
At the date of issue it can also be found at
http://www.w3.org/2001/xml.xsd.
The schema document at that URI may however change in the future,
in order to remain compatible with the latest version of XML Schema
itself. In other words, if the XML Schema namespace changes, the version
of this document at
http://www.w3.org/2001/xml.xsd will change
accordingly; the version at
http://www.w3.org/2001/03/xml.xsd will not change.
</xs:documentation>
</xs:annotation>
<xs:attribute name="lang" type="xs:language">
<xs:annotation>
<xs:documentation>In due course, we should install the relevant ISO 2- and 3-letter
codes as the enumerated possible values . . .</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="space" default="preserve">
<xs:simpleType>
<xs:restriction base="xs:NCName">
<xs:enumeration value="default"/>
<xs:enumeration value="preserve"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="base" type="xs:anyURI">
<xs:annotation>
<xs:documentation>See http://www.w3.org/TR/xmlbase/ for
information about this attribute.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attributeGroup name="specialAttrs">
<xs:attribute ref="xml:base"/>
<xs:attribute ref="xml:lang"/>
<xs:attribute ref="xml:space"/>
</xs:attributeGroup>
</xs:schema>

View File

@ -0,0 +1,39 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
OASIS takes no position regarding the validity or scope of any intellectual property or other rights that might be claimed to pertain to the implementation or use of the technology described in this document or the extent to which any license under such rights might or might not be available; neither does it represent that it has made any effort to identify any such rights. Information on OASIS's procedures with respect to rights in OASIS specifications can be found at the OASIS website. Copies of claims of rights made available for publication and any assurances of licenses to be made available, or the result of an attempt made to obtain a general license or permission for the use of such proprietary rights by implementors or users of this specification, can be obtained from the OASIS Executive Director.
OASIS invites any interested party to bring to its attention any copyrights, patents or patent applications, or other proprietary rights which may cover technology that may be required to implement this specification. Please address the information to the OASIS Executive Director.
Copyright (C) OASIS Open (2004). All Rights Reserved.
This document and translations of it may be copied and furnished to others, and derivative works that comment on or otherwise explain it or assist in its implementation may be prepared, copied, published and distributed, in whole or in part, without restriction of any kind, provided that the above copyright notice and this paragraph are included on all such copies and derivative works. However, this document itself may not be modified in any way, such as by removing the copyright notice or references to OASIS, except as needed for the purpose of developing OASIS specifications, in which case the procedures for copyrights defined in the OASIS Intellectual Property Rights document must be followed, or as required to translate it into languages other than English.
The limited permissions granted above are perpetual and will not be revoked by OASIS or its successors or assigns.
This document and the information contained herein is provided on an "AS IS" basis and OASIS DISCLAIMS ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTY THAT THE USE OF THE INFORMATION HEREIN WILL NOT INFRINGE ANY RIGHTS OR ANY IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.
-->
<wsdl:definitions name="BaseFaults"
xmlns="http://schemas.xmlsoap.org/wsdl/"
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:wsbf=
"http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-BaseFaults-1.2-draft-01.xsd"
targetNamespace=
"http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-BaseFaults-1.2-draft-01.wsdl">
<!-- ===================== Types Definitions ====================== -->
<wsdl:types>
<xsd:schema
elementFormDefault="qualified" attributeFormDefault="unqualified" >
<xsd:import
namespace=
"http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-BaseFaults-1.2-draft-01.xsd"
schemaLocation="./WS-BaseFaults.xsd"/>
</xsd:schema>
</wsdl:types>
<wsdl:message name="BaseFaultMessage" >
<wsdl:part name="Fault" element="wsbf:BaseFault" />
</wsdl:message>
</wsdl:definitions>

View File

@ -0,0 +1,76 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
OASIS takes no position regarding the validity or scope of any intellectual property or other rights that might be claimed to pertain to the implementation or use of the technology described in this document or the extent to which any license under such rights might or might not be available; neither does it represent that it has made any effort to identify any such rights. Information on OASIS's procedures with respect to rights in OASIS specifications can be found at the OASIS website. Copies of claims of rights made available for publication and any assurances of licenses to be made available, or the result of an attempt made to obtain a general license or permission for the use of such proprietary rights by implementors or users of this specification, can be obtained from the OASIS Executive Director.
OASIS invites any interested party to bring to its attention any copyrights, patents or patent applications, or other proprietary rights which may cover technology that may be required to implement this specification. Please address the information to the OASIS Executive Director.
Copyright (C) OASIS Open (2004). All Rights Reserved.
This document and translations of it may be copied and furnished to others, and derivative works that comment on or otherwise explain it or assist in its implementation may be prepared, copied, published and distributed, in whole or in part, without restriction of any kind, provided that the above copyright notice and this paragraph are included on all such copies and derivative works. However, this document itself may not be modified in any way, such as by removing the copyright notice or references to OASIS, except as needed for the purpose of developing OASIS specifications, in which case the procedures for copyrights defined in the OASIS Intellectual Property Rights document must be followed, or as required to translate it into languages other than English.
The limited permissions granted above are perpetual and will not be revoked by OASIS or its successors or assigns.
This document and the information contained herein is provided on an "AS IS" basis and OASIS DISCLAIMS ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTY THAT THE USE OF THE INFORMATION HEREIN WILL NOT INFRINGE ANY RIGHTS OR ANY IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.
-->
<xsd:schema
xmlns="http://www.w3.org/2001/XMLSchema"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/03/addressing"
xmlns:wsbf=
"http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-BaseFaults-1.2-draft-01.xsd"
elementFormDefault="qualified" attributeFormDefault="unqualified"
targetNamespace=
"http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-BaseFaults-1.2-draft-01.xsd">
<xsd:import
namespace="http://schemas.xmlsoap.org/ws/2004/03/addressing"
schemaLocation="../../ws/addressing/WS-Addressing.xsd" />
<xsd:import namespace="http://www.w3.org/XML/1998/namespace"
schemaLocation="../../ws/xml.xsd">
<xsd:annotation>
<xsd:documentation>
Get access to the xml: attribute groups for xml:lang as declared on 'schema'
and 'documentation' below
</xsd:documentation>
</xsd:annotation>
</xsd:import>
<!-- ====================== BaseFault Types ======================= -->
<xsd:element name="BaseFault" type="wsbf:BaseFaultType"/>
<xsd:complexType name="BaseFaultType">
<xsd:sequence>
<xsd:element name="Timestamp" type="xsd:dateTime"
minOccurs="1" maxOccurs="1"/>
<xsd:element name="Originator" type="wsa:EndpointReferenceType"
minOccurs="0" maxOccurs="1"/>
<xsd:element name="ErrorCode"
minOccurs="0" maxOccurs="1">
<xsd:complexType>
<xsd:complexContent mixed="true">
<xsd:extension base="xsd:anyType">
<xsd:attribute name="dialect" type="xsd:anyURI"
use="required"/>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
</xsd:element>
<xsd:element name="Description"
minOccurs="0" maxOccurs="unbounded">
<xsd:complexType>
<xsd:simpleContent>
<xsd:extension base="xsd:string">
<xsd:attribute ref="xml:lang" use="optional"/>
</xsd:extension>
</xsd:simpleContent>
</xsd:complexType>
</xsd:element>
<xsd:element name="FaultCause" type="wsbf:BaseFaultType"
minOccurs="0" maxOccurs="unbounded"/>
</xsd:sequence>
</xsd:complexType>
</xsd:schema>

View File

@ -0,0 +1,177 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
OASIS takes no position regarding the validity or scope of any intellectual property or other rights that might be claimed to pertain to the implementation or use of the technology described in this document or the extent to which any license under such rights might or might not be available; neither does it represent that it has made any effort to identify any such rights. Information on OASIS's procedures with respect to rights in OASIS specifications can be found at the OASIS website. Copies of claims of rights made available for publication and any assurances of licenses to be made available, or the result of an attempt made to obtain a general license or permission for the use of such proprietary rights by implementors or users of this specification, can be obtained from the OASIS Executive Director.
OASIS invites any interested party to bring to its attention any copyrights, patents or patent applications, or other proprietary rights which may cover technology that may be required to implement this specification. Please address the information to the OASIS Executive Director.
Copyright (C) OASIS Open (2004). All Rights Reserved.
This document and translations of it may be copied and furnished to others, and derivative works that comment on or otherwise explain it or assist in its implementation may be prepared, copied, published and distributed, in whole or in part, without restriction of any kind, provided that the above copyright notice and this paragraph are included on all such copies and derivative works. However, this document itself may not be modified in any way, such as by removing the copyright notice or references to OASIS, except as needed for the purpose of developing OASIS specifications, in which case the procedures for copyrights defined in the OASIS Intellectual Property Rights document must be followed, or as required to translate it into languages other than English.
The limited permissions granted above are perpetual and will not be revoked by OASIS or its successors or assigns.
This document and the information contained herein is provided on an "AS IS" basis and OASIS DISCLAIMS ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTY THAT THE USE OF THE INFORMATION HEREIN WILL NOT INFRINGE ANY RIGHTS OR ANY IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.
-->
<wsdl:definitions
name="WS-ResourceLifetime"
targetNamespace="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceLifetime-1.2-draft-01.wsdl"
xmlns="http://schemas.xmlsoap.org/wsdl/"
xmlns:wsbf="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-BaseFaults-1.2-draft-01.xsd"
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
xmlns:wsrl="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceLifetime-1.2-draft-01.xsd"
xmlns:wsrlw="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceLifetime-1.2-draft-01.wsdl"
xmlns:wsrp="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceProperties-1.2-draft-01.xsd"
xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/03/addressing"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<wsdl:types>
<xsd:schema
xmlns="http://www.w3.org/2001/XMLSchema"
targetNamespace="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceLifetime-1.2-draft-01.xsd"
attributeFormDefault="unqualified"
elementFormDefault="qualified"
>
<xsd:include
schemaLocation="./WS-ResourceLifetime.xsd"/>
<xsd:import
namespace="http://schemas.xmlsoap.org/ws/2004/03/addressing"
schemaLocation="../../ws/addressing/WS-Addressing.xsd" />
<xsd:import
namespace="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-BaseFaults-1.2-draft-01.xsd"
schemaLocation="../faults/WS-BaseFaults.xsd"
/>
<!-- ==== Resource Properties for ScheduledResourceTermination ==== -->
<xsd:element name="ScheduledResourceTerminationRP">
<xsd:complexType>
<xsd:sequence>
<xsd:element maxOccurs="1" minOccurs="1" ref="wsrl:CurrentTime"/>
<xsd:element maxOccurs="1" minOccurs="1" ref="wsrl:TerminationTime"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<!-- ====== Message Types for ImmediateResourceTermination ======= -->
<xsd:element name="Destroy">
<xsd:complexType/>
</xsd:element>
<xsd:element name="DestroyResponse">
<xsd:complexType/>
</xsd:element>
<xsd:complexType name="ResourceUnknownFaultType">
<xsd:complexContent>
<xsd:extension base="wsbf:BaseFaultType"/>
</xsd:complexContent>
</xsd:complexType>
<xsd:element name="ResourceUnknownFault" type="wsrl:ResourceUnknownFaultType"/>
<xsd:complexType name="ResourceNotDestroyedFaultType">
<xsd:complexContent>
<xsd:extension base="wsbf:BaseFaultType"/>
</xsd:complexContent>
</xsd:complexType>
<xsd:element
name="ResourceNotDestroyedFault"
type="wsrl:ResourceNotDestroyedFaultType"/>
<!-- ====== Message Types for ScheduledResourceTermination ======= -->
<xsd:element name="SetTerminationTime">
<xsd:complexType>
<xsd:sequence>
<xsd:element
name="RequestedTerminationTime"
nillable="true"
type="xsd:dateTime"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="SetTerminationTimeResponse">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="NewTerminationTime" nillable="true" type="xsd:dateTime"/>
<xsd:element name="CurrentTime" type="xsd:dateTime"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:complexType name="UnableToSetTerminationTimeFaultType">
<xsd:complexContent>
<xsd:extension base="wsbf:BaseFaultType"/>
</xsd:complexContent>
</xsd:complexType>
<xsd:element
name="UnableToSetTerminationTimeFault"
type="wsrl:UnableToSetTerminationTimeFaultType"/>
<xsd:complexType name="TerminationTimeChangeRejectedFaultType">
<xsd:complexContent>
<xsd:extension base="wsbf:BaseFaultType"/>
</xsd:complexContent>
</xsd:complexType>
<xsd:element
name="TerminationTimeChangeRejectedFault"
type="wsrl:TerminationTimeChangeRejectedFaultType"/>
</xsd:schema>
</wsdl:types>
<wsdl:message name="DestroyResponse">
<wsdl:part element="wsrl:DestroyResponse" name="DestroyResponse"/>
</wsdl:message>
<wsdl:message name="SetTerminationTimeRequest">
<wsdl:part element="wsrl:SetTerminationTime" name="SetTerminationTimeRequest"/>
</wsdl:message>
<wsdl:message name="ResourceUnknownFault">
<wsdl:part element="wsrl:ResourceUnknownFault" name="ResourceUnknownFault"/>
</wsdl:message>
<wsdl:message name="DestroyRequest">
<wsdl:part element="wsrl:Destroy" name="DestroyRequest"/>
</wsdl:message>
<wsdl:message name="UnableToSetTerminationTimeFault">
<wsdl:part
element="wsrl:UnableToSetTerminationTimeFault"
name="UnableToSetTerminationTimeFault"/>
</wsdl:message>
<wsdl:message name="SetTerminationTimeResponse">
<wsdl:part
element="wsrl:SetTerminationTimeResponse"
name="SetTerminationTimeResponse"/>
</wsdl:message>
<wsdl:message name="ResourceNotDestroyedFault">
<wsdl:part
element="wsrl:ResourceNotDestroyedFault"
name="ResourceNotDestroyedFault"/>
</wsdl:message>
<wsdl:message name="TerminationTimeChangeRejectedFault">
<wsdl:part
element="wsrl:TerminationTimeChangeRejectedFault"
name="TerminationTimeChangeRejectedFault"/>
</wsdl:message>
<wsdl:portType name="ScheduledResourceTermination"
wsrp:ResourceProperties = "wsrl:ScheduledResourceTerminationRP">
<wsdl:operation name="SetTerminationTime">
<wsdl:input message="wsrlw:SetTerminationTimeRequest"
wsa:Action="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceLifetime/SetTerminationTime"/>
<wsdl:output message="wsrlw:SetTerminationTimeResponse"
wsa:Action="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceLifetime/SetTerminationTimeResponse"/>
<wsdl:fault
message="wsrlw:UnableToSetTerminationTimeFault"
name="UnableToSetTerminationTimeFault"/>
<wsdl:fault message="wsrlw:ResourceUnknownFault" name="ResourceUnknownFault"/>
<wsdl:fault
message="wsrlw:TerminationTimeChangeRejectedFault"
name="TerminationTimeChangeRejectedFault"/>
</wsdl:operation>
</wsdl:portType>
<wsdl:portType name="ImmediateResourceTermination">
<wsdl:operation name="Destroy">
<wsdl:input message="wsrlw:DestroyRequest"
wsa:Action="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceLifetime/Destroy"/>
<wsdl:output message="wsrlw:DestroyResponse"
wsa:Action="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceLifetime/DestroyResponse"/>
<wsdl:fault
message="wsrlw:ResourceNotDestroyedFault"
name="ResourceNotDestroyedFault"/>
<wsdl:fault message="wsrlw:ResourceUnknownFault" name="ResourceUnknownFault"/>
</wsdl:operation>
</wsdl:portType>
</wsdl:definitions>

View File

@ -0,0 +1,46 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
OASIS takes no position regarding the validity or scope of any intellectual property or other rights that might be claimed to pertain to the implementation or use of the technology described in this document or the extent to which any license under such rights might or might not be available; neither does it represent that it has made any effort to identify any such rights. Information on OASIS's procedures with respect to rights in OASIS specifications can be found at the OASIS website. Copies of claims of rights made available for publication and any assurances of licenses to be made available, or the result of an attempt made to obtain a general license or permission for the use of such proprietary rights by implementors or users of this specification, can be obtained from the OASIS Executive Director.
OASIS invites any interested party to bring to its attention any copyrights, patents or patent applications, or other proprietary rights which may cover technology that may be required to implement this specification. Please address the information to the OASIS Executive Director.
Copyright (C) OASIS Open (2004). All Rights Reserved.
This document and translations of it may be copied and furnished to others, and derivative works that comment on or otherwise explain it or assist in its implementation may be prepared, copied, published and distributed, in whole or in part, without restriction of any kind, provided that the above copyright notice and this paragraph are included on all such copies and derivative works. However, this document itself may not be modified in any way, such as by removing the copyright notice or references to OASIS, except as needed for the purpose of developing OASIS specifications, in which case the procedures for copyrights defined in the OASIS Intellectual Property Rights document must be followed, or as required to translate it into languages other than English.
The limited permissions granted above are perpetual and will not be revoked by OASIS or its successors or assigns.
This document and the information contained herein is provided on an "AS IS" basis and OASIS DISCLAIMS ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTY THAT THE USE OF THE INFORMATION HEREIN WILL NOT INFRINGE ANY RIGHTS OR ANY IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.
-->
<xsd:schema xmlns="http://www.w3.org/2001/XMLSchema"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:wsrl="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceLifetime-1.2-draft-01.xsd"
elementFormDefault="qualified" attributeFormDefault="unqualified"
targetNamespace="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceLifetime-1.2-draft-01.xsd">
<!--
=============== Resource Property Related ===================
-->
<!--
==== Resource Properties for ScheduledResourceTermination ====
-->
<xsd:element name="CurrentTime" type="xsd:dateTime" />
<xsd:element name="TerminationTime" nillable="true" type="xsd:dateTime" />
<!--
============= Notification Message Related ==================
-->
<xsd:element name="TerminationNotification">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="TerminationTime" type="xsd:dateTime" minOccurs="1" maxOccurs="1" />
<xsd:element name="TerminationReason" type="xsd:anyType" minOccurs="0" maxOccurs="1" />
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:schema>

View File

@ -0,0 +1,43 @@
<?xml version="1.0" encoding="UTF-8"?>
<wsdl:definitions name="WS-ResourceLifetime" targetNamespace="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceLifetime-1.2-draft-01.wsdl/bindings" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:porttype="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceLifetime-1.2-draft-01.wsdl" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/">
<wsdl:import namespace="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceLifetime-1.2-draft-01.wsdl" location="WS-ResourceLifetime.wsdl"/>
<wsdl:binding name="ScheduledResourceTerminationSOAPBinding" type="porttype:ScheduledResourceTermination">
<soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
<wsdl:operation name="SetTerminationTime">
<soap:operation soapAction="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceLifetime/SetTerminationTime"/>
<wsdl:input>
<soap:body use="literal"/>
</wsdl:input>
<wsdl:output>
<soap:body use="literal"/>
</wsdl:output>
<wsdl:fault name="UnableToSetTerminationTimeFault">
<soap:fault name="UnableToSetTerminationTimeFault" use="literal"/>
</wsdl:fault>
<wsdl:fault name="TerminationTimeChangeRejectedFault">
<soap:fault name="TerminationTimeChangeRejectedFault" use="literal"/>
</wsdl:fault>
<wsdl:fault name="ResourceUnknownFault">
<soap:fault name="ResourceUnknownFault" use="literal"/>
</wsdl:fault>
</wsdl:operation>
</wsdl:binding>
<wsdl:binding name="ImmediateResourceTerminationSOAPBinding" type="porttype:ImmediateResourceTermination">
<soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
<wsdl:operation name="Destroy">
<soap:operation soapAction="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceLifetime/Destroy"/>
<wsdl:input>
<soap:body use="literal"/>
</wsdl:input>
<wsdl:output>
<soap:body use="literal"/>
</wsdl:output>
<wsdl:fault name="ResourceNotDestroyedFault">
<soap:fault name="ResourceNotDestroyedFault" use="literal"/>
</wsdl:fault>
<wsdl:fault name="ResourceUnknownFault">
<soap:fault name="ResourceUnknownFault" use="literal"/>
</wsdl:fault>
</wsdl:operation>
</wsdl:binding>
</wsdl:definitions>

View File

@ -0,0 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<wsdl:definitions name="WS-ResourceLifetime" targetNamespace="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceLifetime-1.2-draft-01.wsdl/service" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:binding="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceLifetime-1.2-draft-01.wsdl/bindings">
<wsdl:import namespace="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceLifetime-1.2-draft-01.wsdl/bindings" location="WS-ResourceLifetime_bindings.wsdl"/>
<wsdl:service name="WS-ResourceLifetimeService">
<wsdl:port name="ImmediateResourceTerminationPort" binding="binding:ImmediateResourceTerminationSOAPBinding">
<soap:address location="http://localhost:8080/wsrf/services/"/>
</wsdl:port>
<wsdl:port name="ScheduledResourceTerminationPort" binding="binding:ScheduledResourceTerminationSOAPBinding">
<soap:address location="http://localhost:8080/wsrf/services/"/>
</wsdl:port>
</wsdl:service>
</wsdl:definitions>

View File

@ -0,0 +1,503 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
OASIS takes no position regarding the validity or scope of any intellectual property or other rights that might be claimed to pertain to the implementation or use of the technology described in this document or the extent to which any license under such rights might or might not be available; neither does it represent that it has made any effort to identify any such rights. Information on OASIS's procedures with respect to rights in OASIS specifications can be found at the OASIS website. Copies of claims of rights made available for publication and any assurances of licenses to be made available, or the result of an attempt made to obtain a general license or permission for the use of such proprietary rights by implementors or users of this specification, can be obtained from the OASIS Executive Director.
OASIS invites any interested party to bring to its attention any copyrights, patents or patent applications, or other proprietary rights which may cover technology that may be required to implement this specification. Please address the information to the OASIS Executive Director.
Copyright (C) OASIS Open (2004). All Rights Reserved.
This document and translations of it may be copied and furnished to others, and derivative works that comment on or otherwise explain it or assist in its implementation may be prepared, copied, published and distributed, in whole or in part, without restriction of any kind, provided that the above copyright notice and this paragraph are included on all such copies and derivative works. However, this document itself may not be modified in any way, such as by removing the copyright notice or references to OASIS, except as needed for the purpose of developing OASIS specifications, in which case the procedures for copyrights defined in the OASIS Intellectual Property Rights document must be followed, or as required to translate it into languages other than English.
The limited permissions granted above are perpetual and will not be revoked by OASIS or its successors or assigns.
This document and the information contained herein is provided on an "AS IS" basis and OASIS DISCLAIMS ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTY THAT THE USE OF THE INFORMATION HEREIN WILL NOT INFRINGE ANY RIGHTS OR ANY IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.
-->
<wsdl:definitions name="WS-BaseNotification"
xmlns="http://schemas.xmlsoap.org/wsdl/"
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/03/addressing"
xmlns:wsp="http://schemas.xmlsoap.org/ws/2002/12/policy"
xmlns:wsnt=
"http://docs.oasis-open.org/wsn/2004/06/wsn-WS-BaseNotification-1.2-draft-01.xsd"
xmlns:wsntw=
"http://docs.oasis-open.org/wsn/2004/06/wsn-WS-BaseNotification-1.2-draft-01.wsdl"
xmlns:wsrp=
"http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceProperties-1.2-draft-01.xsd"
xmlns:wsrpw=
"http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceProperties-1.2-draft-01.wsdl"
xmlns:wsbf=
"http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-BaseFaults-1.2-draft-01.xsd"
xmlns:wsrl=
"http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceLifetime-1.2-draft-01.xsd"
xmlns:wsrlw=
"http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceLifetime-1.2-draft-01.wsdl"
targetNamespace=
"http://docs.oasis-open.org/wsn/2004/06/wsn-WS-BaseNotification-1.2-draft-01.wsdl">
<!-- ========================== Imports =========================== -->
<wsdl:import
namespace=
"http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceProperties-1.2-draft-01.wsdl"
location="../properties/WS-ResourceProperties.wsdl" />
<wsdl:import
namespace=
"http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceLifetime-1.2-draft-01.wsdl"
location="../lifetime/WS-ResourceLifetime.wsdl" />
<!-- ===================== Types Definitions ====================== -->
<wsdl:types>
<xsd:schema
targetNamespace=
"http://docs.oasis-open.org/wsn/2004/06/wsn-WS-BaseNotification-1.2-draft-01.xsd"
elementFormDefault="qualified"
attributeFormDefault="unqualified">
<xsd:include schemaLocation="WS-BaseN.xsd" />
<xsd:import
namespace=
"http://schemas.xmlsoap.org/ws/2004/03/addressing"
schemaLocation="../../ws/addressing/WS-Addressing.xsd"/>
<xsd:import
namespace=
"http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-BaseFaults-1.2-draft-01.xsd"
schemaLocation="../faults/WS-BaseFaults.xsd"/>
<xsd:import namespace=
"http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceProperties-1.2-draft-01.xsd"
schemaLocation="../properties/WS-ResourceProperties.xsd"/>
<xsd:import
namespace=
"http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceLifetime-1.2-draft-01.xsd"
schemaLocation="../lifetime/WS-ResourceLifetime.xsd"/>
<!-- =============== Resource Property Related =================== -->
<!-- ======== Resource Properties for NotificationProducer ======== -->
<xsd:element name="NotificationProducerRP" >
<xsd:complexType>
<xsd:sequence>
<xsd:element ref="wsnt:Topic"
minOccurs="1" maxOccurs="unbounded" />
<xsd:element ref="wsnt:FixedTopicSet"
minOccurs="1" maxOccurs="1" />
<xsd:element ref="wsnt:TopicExpressionDialects"
minOccurs="1" maxOccurs="unbounded" />
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<!-- ======== Resource Properties for SubscriptionManager ========= -->
<xsd:element name="SubscriptionManagerRP" >
<xsd:complexType>
<xsd:sequence>
<!-- From WS-ResourceLifetime ScheduledResourceTermination -->
<xsd:element ref="wsrl:CurrentTime"
minOccurs="1" maxOccurs="1" />
<xsd:element ref="wsrl:TerminationTime"
minOccurs="1" maxOccurs="1" />
<!-- SubscriptionManager specific -->
<xsd:element ref="wsnt:ConsumerReference"
minOccurs="1" maxOccurs="1" />
<xsd:element ref="wsnt:TopicExpression"
minOccurs="1" maxOccurs="1" />
<xsd:element ref="wsnt:UseNotify"
minOccurs="1" maxOccurs="1" />
<xsd:element ref="wsnt:Precondition"
minOccurs="0" maxOccurs="1" />
<xsd:element ref="wsnt:Selector"
minOccurs="0" maxOccurs="1" />
<xsd:element ref="wsnt:SubscriptionPolicy"
minOccurs="0" maxOccurs="1" />
<xsd:element ref="wsnt:CreationTime"
minOccurs="0" maxOccurs="1" />
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<!-- ================== Message Helper Types ===================== -->
<xsd:complexType name="NotificationMessageHolderType" >
<xsd:sequence>
<xsd:element name="Topic"
type="wsnt:TopicExpressionType"
minOccurs="1" maxOccurs="1" />
<xsd:element name="ProducerReference"
type="wsa:EndpointReferenceType"
minOccurs="0" maxOccurs="1" />
<xsd:element name="Message" type="xsd:anyType"
minOccurs="1" maxOccurs="1" />
</xsd:sequence>
</xsd:complexType>
<!-- ========== Message Types for NotificationConsumer =========== -->
<xsd:element name="Notify" >
<xsd:complexType>
<xsd:sequence>
<xsd:element name="NotificationMessage"
type="wsnt:NotificationMessageHolderType"
minOccurs="1" maxOccurs="unbounded" />
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<!-- ========== Message Types for NotificationProducer =========== -->
<xsd:element name="SubscribeResponse">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="SubscriptionReference"
type="wsa:EndpointReferenceType"
minOccurs="0" maxOccurs="1" />
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="GetCurrentMessage">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="Topic"
type="wsnt:TopicExpressionType" />
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="GetCurrentMessageResponse">
<xsd:complexType>
<xsd:sequence>
<xsd:any />
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:complexType name="ResourceUnknownFaultType">
<xsd:complexContent>
<xsd:extension base="wsbf:BaseFaultType"/>
</xsd:complexContent>
</xsd:complexType>
<xsd:element name="ResourceUnknownFault"
type="wsnt:ResourceUnknownFaultType"/>
<xsd:complexType name="SubscribeCreationFailedFaultType">
<xsd:complexContent>
<xsd:extension base="wsbf:BaseFaultType"/>
</xsd:complexContent>
</xsd:complexType>
<xsd:element name="SubscribeCreationFailedFault"
type="wsnt:SubscribeCreationFailedFaultType"/>
<xsd:complexType name="TopicPathDialectUnknownFaultType">
<xsd:complexContent>
<xsd:extension base="wsbf:BaseFaultType"/>
</xsd:complexContent>
</xsd:complexType>
<xsd:element name="TopicPathDialectUnknownFault"
type="wsnt:TopicPathDialectUnknownFaultType"/>
<xsd:complexType name="InvalidTopicExpressionFaultType">
<xsd:complexContent>
<xsd:extension base="wsbf:BaseFaultType"/>
</xsd:complexContent>
</xsd:complexType>
<xsd:element name="InvalidTopicExpressionFault"
type="wsnt:InvalidTopicExpressionFaultType"/>
<xsd:complexType name="TopicNotSupportedFaultType">
<xsd:complexContent>
<xsd:extension base="wsbf:BaseFaultType"/>
</xsd:complexContent>
</xsd:complexType>
<xsd:element name="TopicNotSupportedFault"
type="wsnt:TopicNotSupportedFaultType"/>
<xsd:complexType name="NoCurrentMessageOnTopicFaultType">
<xsd:complexContent>
<xsd:extension base="wsbf:BaseFaultType"/>
</xsd:complexContent>
</xsd:complexType>
<xsd:element name="NoCurrentMessageOnTopicFault"
type="wsnt:NoCurrentMessageOnTopicFaultType"/>
<!-- ========== Message Types for SubscriptionManager =========== -->
<xsd:element name="PauseSubscription">
<xsd:complexType/>
</xsd:element>
<xsd:element name="PauseSubscriptionResponse">
<xsd:complexType/>
</xsd:element>
<xsd:element name="ResumeSubscription">
<xsd:complexType/>
</xsd:element>
<xsd:element name="ResumeSubscriptionResponse">
<xsd:complexType/>
</xsd:element>
<xsd:complexType name="PauseFailedFaultType">
<xsd:complexContent>
<xsd:extension base="wsbf:BaseFaultType"/>
</xsd:complexContent>
</xsd:complexType>
<xsd:element name="PauseFailedFault"
type="wsnt:PauseFailedFaultType"/>
<xsd:complexType name="ResumeFailedFaultType">
<xsd:complexContent>
<xsd:extension base="wsbf:BaseFaultType"/>
</xsd:complexContent>
</xsd:complexType>
<xsd:element name="ResumeFailedFault"
type="wsnt:ResumeFailedFaultType"/>
</xsd:schema>
</wsdl:types>
<!-- ================ NotificationConsumer::Notify ================
Notify(
NotificationMessage
(TopicExpression, ProducerReference, Message)*
returns: n/a (one way)
-->
<wsdl:message name="Notify">
<wsdl:part name="Notify" element="wsnt:Notify"/>
</wsdl:message>
<!-- ============== NotificationProducer::Subscribe ===============
Subscribe(
(ConsumerEndpointReference, TopicExpression, [UseNotify],
[Precondition], [Selector], [SubscriptionPolicy],
[InitialTerminationTime])
returns: WS-Resource qualified EPR to a Subscription
-->
<wsdl:message name="SubscribeRequest" >
<wsdl:part name="SubscribeRequest"
element="wsnt:Subscribe"/>
</wsdl:message>
<wsdl:message name="SubscribeResponse">
<wsdl:part name="SubscribeResponse"
element="wsnt:SubscribeResponse"/>
</wsdl:message>
<wsdl:message name="ResourceUnknownFault">
<part name="ResourceUnknownFault"
element="wsnt:ResourceUnknownFault" />
</wsdl:message>
<wsdl:message name="SubscribeCreationFailedFault">
<part name="SubscribeCreationFailedFault"
element="wsnt:SubscribeCreationFailedFault" />
</wsdl:message>
<wsdl:message name="TopicPathDialectUnknownFault">
<part name="TopicPathDialectUnknownFault"
element="wsnt:TopicPathDialectUnknownFault" />
</wsdl:message>
<!-- ========== NotificationProducer::GetCurrentMessage ===========
GetCurrentMessage(topicExpression)
returns: a NotificationMessage (xsd:any)
-->
<wsdl:message name="GetCurrentMessageRequest">
<wsdl:part name="GetCurrentMessageRequest"
element="wsnt:GetCurrentMessage"/>
</wsdl:message>
<wsdl:message name="GetCurrentMessageResponse">
<wsdl:part name="GetCurrentMessageResponse"
element="wsnt:GetCurrentMessageResponse"/>
</wsdl:message>
<wsdl:message name="InvalidTopicExpressionFault">
<part name="InvalidTopicExpressionFault"
element="wsnt:InvalidTopicExpressionFault" />
</wsdl:message>
<wsdl:message name="TopicNotSupportedFault">
<part name="TopicNotSupportedFault"
element="wsnt:TopicNotSupportedFault" />
</wsdl:message>
<wsdl:message name="NoCurrentMessageOnTopicFault">
<part name="NoCurrentMessageOnTopicFault"
element="wsnt:NoCurrentMessageOnTopicFault" />
</wsdl:message>
<!-- ========== SubscriptionManager::PauseSubscription ============
PauseSubscription()
returns: empty
-->
<wsdl:message name="PauseSubscriptionRequest">
<wsdl:part name="PauseSubscriptionRequest"
element="wsnt:PauseSubscription"/>
</wsdl:message>
<wsdl:message name="PauseSubscriptionResponse">
<wsdl:part name="PauseSubscriptionResponse"
element="wsnt:PauseSubscriptionResponse"/>
</wsdl:message>
<wsdl:message name="PauseFailedFault">
<part name="PauseFailedFault"
element="wsnt:PauseFailedFault" />
</wsdl:message>
<!-- ========= SubscriptionManager::ResumeSubscription ============
ResumeSubscription()
returns: empty
-->
<wsdl:message name="ResumeSubscriptionRequest">
<wsdl:part name="ResumeSubscriptionRequest"
element="wsnt:ResumeSubscription"/>
</wsdl:message>
<wsdl:message name="ResumeSubscriptionResponse">
<wsdl:part name="ResumeSubscriptionResponse"
element="wsnt:ResumeSubscriptionResponse"/>
</wsdl:message>
<wsdl:message name="ResumeFailedFault">
<part name="ResumeFailedFault"
element="wsnt:ResumeFailedFault" />
</wsdl:message>
<!-- =================== PortType Definitions ===================== -->
<!-- ========= NotificationConsumer PortType Definition =========== -->
<wsdl:portType name="NotificationConsumer">
<wsdl:operation name="Notify">
<wsdl:input message="wsntw:Notify"
wsa:Action="http://docs.oasis-open.org/wsn/2004/06/wsn-WS-BaseNotification/Notify"/>
</wsdl:operation>
</wsdl:portType>
<!-- ========= NotificationProducer PortType Definition =========== -->
<wsdl:portType name="NotificationProducer"
wsrp:ResourceProperties ="wsnt:NotificationProducerRP">
<!-- ========== extends wsrpw:ResourceProperties ============= -->
<wsdl:operation name="GetResourceProperty">
<wsdl:input name="GetResourcePropertyRequest"
message="wsrpw:GetResourcePropertyRequest"
wsa:Action="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceProperties/GetResourceProperty"/>
<wsdl:output name="GetResourcePropertyResponse"
message="wsrpw:GetResourcePropertyResponse"
wsa:Action="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceProperties/GetResourcePropertyResponse"/>
<wsdl:fault name="ResourceUnknownFault"
message="wsrpw:ResourceUnknownFault" />
<wsdl:fault name="InvalidResourcePropertyQNameFault"
message="wsrpw:InvalidResourcePropertyQNameFault" />
</wsdl:operation>
<!-- =========== NotificationProducer Specific ============== -->
<wsdl:operation name="Subscribe">
<wsdl:input message="wsntw:SubscribeRequest"
wsa:Action="http://docs.oasis-open.org/wsn/2004/06/wsn-WS-BaseNotification/Subscribe"/>
<wsdl:output message="wsntw:SubscribeResponse"
wsa:Action="http://docs.oasis-open.org/wsn/2004/06/wsn-WS-BaseNotification/SubscribeResponse"/>
<wsdl:fault name="ResourceUnknownFault"
message="wsntw:ResourceUnknownFault" />
<wsdl:fault name="SubscribeCreationFailedFault"
message="wsntw:SubscribeCreationFailedFault"/>
<wsdl:fault name="TopicPathDialectUnknownFault"
message="wsntw:TopicPathDialectUnknownFault"/>
<wsdl:fault name="InvalidTopicExpressionFault"
message="wsntw:InvalidTopicExpressionFault" />
<wsdl:fault name="TopicNotSupportedFault"
message="wsntw:TopicNotSupportedFault" />
</wsdl:operation>
<wsdl:operation name="GetCurrentMessage">
<wsdl:input message="wsntw:GetCurrentMessageRequest"
wsa:Action="http://docs.oasis-open.org/wsn/2004/06/wsn-WS-BaseNotification/GetCurrentMessage"/>
<wsdl:output message="wsntw:GetCurrentMessageResponse"
wsa:Action="http://docs.oasis-open.org/wsn/2004/06/wsn-WS-BaseNotification/GetCurrentMessageResponse"/>
<wsdl:fault name="ResourceUnknownFault"
message="wsntw:ResourceUnknownFault" />
<wsdl:fault name="InvalidTopicExpressionFault"
message="wsntw:InvalidTopicExpressionFault" />
<wsdl:fault name="TopicNotSupportedFault"
message="wsntw:TopicNotSupportedFault" />
<wsdl:fault name="NoCurrentMessageOnTopicFault"
message="wsntw:NoCurrentMessageOnTopicFault" />
</wsdl:operation>
</wsdl:portType>
<!-- ========== SubscriptionManager PortType Definition =========== -->
<wsdl:portType name="SubscriptionManager"
wsrp:ResourceProperties ="wsnt:SubscriptionManagerRP">
<!-- ========== extends wsrpw:ResourceProperties ============= -->
<wsdl:operation name="GetResourceProperty">
<wsdl:input name="GetResourcePropertyRequest"
message="wsrpw:GetResourcePropertyRequest"
wsa:Action="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceProperties/GetResourceProperty"/>
<wsdl:output name="GetResourcePropertyResponse"
message="wsrpw:GetResourcePropertyResponse"
wsa:Action="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceProperties/GetResourcePropertyResponse"/>
<wsdl:fault name="ResourceUnknownFault"
message="wsrpw:ResourceUnknownFault" />
<wsdl:fault name="InvalidResourcePropertyQNameFault"
message="wsrpw:InvalidResourcePropertyQNameFault" />
</wsdl:operation>
<!-- === extends wsrlw:ImmediateResourceTermination ========== -->
<wsdl:operation name="Destroy">
<wsdl:input message="wsrlw:DestroyRequest"
wsa:Action="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceLifetime/Destroy"/>
<wsdl:output message="wsrlw:DestroyResponse"
wsa:Action="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceLifetime/DestroyResponse"/>
<wsdl:fault name="ResourceUnknownFault"
message="wsrlw:ResourceUnknownFault" />
<wsdl:fault name="ResourceNotDestroyedFault"
message="wsrlw:ResourceNotDestroyedFault" />
</wsdl:operation>
<!-- === extends wsrl:ScheduledResourceTermination ========== -->
<wsdl:operation name="SetTerminationTime">
<wsdl:input message="wsrlw:SetTerminationTimeRequest"
wsa:Action="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceLifetime/SetTerminationTime"/>
<wsdl:output message="wsrlw:SetTerminationTimeResponse"
wsa:Action="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceLifetime/SetTerminationTimeResponse"/>
<wsdl:fault name="ResourceUnknownFault"
message="wsrlw:ResourceUnknownFault" />
<wsdl:fault name="UnableToSetTerminationTimeFault"
message="wsrlw:UnableToSetTerminationTimeFault" />
<wsdl:fault name="TerminationTimeChangeRejectedFault"
message="wsrlw:TerminationTimeChangeRejectedFault" />
</wsdl:operation>
<!-- ========= SubscriptionManager specific operations ====== -->
<wsdl:operation name="PauseSubscription">
<wsdl:input message="wsntw:PauseSubscriptionRequest"
wsa:Action="http://docs.oasis-open.org/wsn/2004/06/wsn-WS-BaseNotification/PauseSubscription"/>
<wsdl:output message="wsntw:PauseSubscriptionResponse"
wsa:Action="http://docs.oasis-open.org/wsn/2004/06/wsn-WS-BaseNotification/PauseSubscriptionResponse"/>
<wsdl:fault name="ResourceUnknownFault"
message="wsntw:ResourceUnknownFault" />
<wsdl:fault name="PauseFailedFault"
message="wsntw:PauseFailedFault" />
</wsdl:operation>
<wsdl:operation name="ResumeSubscription">
<wsdl:input message="wsntw:ResumeSubscriptionRequest"
wsa:Action="http://docs.oasis-open.org/wsn/2004/06/wsn-WS-BaseNotification/ResumeSubscription"/>
<wsdl:output message="wsntw:ResumeSubscriptionResponse"
wsa:Action="http://docs.oasis-open.org/wsn/2004/06/wsn-WS-BaseNotification/ResumeSubscriptionResponse"/>
<wsdl:fault name="ResourceUnknownFault"
message="wsntw:ResourceUnknownFault" />
<wsdl:fault name="ResumeFailedFault"
message="wsntw:ResumeFailedFault" />
</wsdl:operation>
</wsdl:portType>
</wsdl:definitions>

View File

@ -0,0 +1,103 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
OASIS takes no position regarding the validity or scope of any intellectual property or other rights that might be claimed to pertain to the implementation or use of the technology described in this document or the extent to which any license under such rights might or might not be available; neither does it represent that it has made any effort to identify any such rights. Information on OASIS's procedures with respect to rights in OASIS specifications can be found at the OASIS website. Copies of claims of rights made available for publication and any assurances of licenses to be made available, or the result of an attempt made to obtain a general license or permission for the use of such proprietary rights by implementors or users of this specification, can be obtained from the OASIS Executive Director.
OASIS invites any interested party to bring to its attention any copyrights, patents or patent applications, or other proprietary rights which may cover technology that may be required to implement this specification. Please address the information to the OASIS Executive Director.
Copyright (C) OASIS Open (2004). All Rights Reserved.
This document and translations of it may be copied and furnished to others, and derivative works that comment on or otherwise explain it or assist in its implementation may be prepared, copied, published and distributed, in whole or in part, without restriction of any kind, provided that the above copyright notice and this paragraph are included on all such copies and derivative works. However, this document itself may not be modified in any way, such as by removing the copyright notice or references to OASIS, except as needed for the purpose of developing OASIS specifications, in which case the procedures for copyrights defined in the OASIS Intellectual Property Rights document must be followed, or as required to translate it into languages other than English.
The limited permissions granted above are perpetual and will not be revoked by OASIS or its successors or assigns.
This document and the information contained herein is provided on an "AS IS" basis and OASIS DISCLAIMS ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTY THAT THE USE OF THE INFORMATION HEREIN WILL NOT INFRINGE ANY RIGHTS OR ANY IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.
-->
<xsd:schema
xmlns="http://www.w3.org/2001/XMLSchema"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/03/addressing"
xmlns:wsnt=
"http://docs.oasis-open.org/wsn/2004/06/wsn-WS-BaseNotification-1.2-draft-01.xsd"
xmlns:wsrp=
"http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceProperties-1.2-draft-01.xsd"
targetNamespace=
"http://docs.oasis-open.org/wsn/2004/06/wsn-WS-BaseNotification-1.2-draft-01.xsd"
elementFormDefault="qualified" attributeFormDefault="unqualified">
<!-- ======================== Imports ============================ -->
<xsd:import namespace=
"http://schemas.xmlsoap.org/ws/2004/03/addressing"
schemaLocation="../../ws/addressing/WS-Addressing.xsd" />
<xsd:import namespace=
"http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceProperties-1.2-draft-01.xsd"
schemaLocation=
"../properties/WS-ResourceProperties.xsd" />
<!-- ========== Message Types for NotificationProducer =========== -->
<xsd:element name="Subscribe" >
<xsd:complexType>
<xsd:sequence>
<xsd:element name="ConsumerReference"
type="wsa:EndpointReferenceType"
minOccurs="1" maxOccurs="1" />
<xsd:element name="TopicExpression"
type="wsnt:TopicExpressionType"
minOccurs="1" maxOccurs="1" />
<xsd:element name="UseNotify"
type="xsd:boolean" default="true"
minOccurs="0" maxOccurs="1" />
<xsd:element name="Precondition"
type="wsrp:QueryExpressionType"
minOccurs="0" maxOccurs="1" />
<xsd:element name="Selector"
type="wsrp:QueryExpressionType"
minOccurs="0" maxOccurs="1" />
<xsd:element name="SubscriptionPolicy"
type="xsd:anyType"
minOccurs="0" maxOccurs="1" />
<xsd:element name="InitialTerminationTime"
type="xsd:dateTime"
minOccurs="0" maxOccurs="1" />
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<!-- ================= Topic Expression Container ================= -->
<xsd:complexType name="TopicExpressionType" mixed="true">
<xsd:sequence>
<xsd:any minOccurs="0" maxOccurs="1" processContents="lax" />
</xsd:sequence>
<xsd:attribute name="Dialect" type="xsd:anyURI" />
</xsd:complexType>
<xsd:element name="TopicExpression"
type="wsnt:TopicExpressionType" />
<!-- =============== Resource Property Related =================== -->
<!-- ======== Resource Properties for NotificationProducer ======== -->
<xsd:element name="Topic" type="wsnt:TopicExpressionType" />
<xsd:element name="FixedTopicSet" type="xsd:boolean"/>
<xsd:element name="TopicExpressionDialects" type="xsd:anyURI" />
<!-- ======== Resource Properties for SubscriptionManager ========= -->
<xsd:element name="ConsumerReference"
type="wsa:EndpointReferenceType" />
<xsd:element name="UseNotify"
type="xsd:boolean" />
<xsd:element name="Precondition"
type="wsrp:QueryExpressionType" />
<xsd:element name="Selector"
type="wsrp:QueryExpressionType" />
<xsd:element name="SubscriptionPolicy"
type="xsd:anyType" />
<xsd:element name="CreationTime"
type="xsd:dateTime" />
</xsd:schema>

View File

@ -0,0 +1,157 @@
<?xml version="1.0" encoding="UTF-8"?>
<wsdl:definitions name="WS-BaseNotification" targetNamespace="http://docs.oasis-open.org/wsn/2004/06/wsn-WS-BaseNotification-1.2-draft-01.wsdl/bindings" xmlns:porttype="http://docs.oasis-open.org/wsn/2004/06/wsn-WS-BaseNotification-1.2-draft-01.wsdl" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
<wsdl:import namespace="http://docs.oasis-open.org/wsn/2004/06/wsn-WS-BaseNotification-1.2-draft-01.wsdl" location="WS-BaseN.wsdl"/>
<wsdl:binding name="NotificationConsumerSOAPBinding" type="porttype:NotificationConsumer">
<soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
<wsdl:operation name="Notify">
<soap:operation soapAction="http://docs.oasis-open.org/wsn/2004/06/wsn-WS-BaseNotification/Notify"/>
<wsdl:input>
<soap:body use="literal"/>
</wsdl:input>
</wsdl:operation>
</wsdl:binding>
<wsdl:binding name="SubscriptionManagerSOAPBinding" type="porttype:SubscriptionManager">
<soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
<wsdl:operation name="GetResourceProperty">
<soap:operation soapAction="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceProperties/GetResourceProperty"/>
<wsdl:input>
<soap:body use="literal"/>
</wsdl:input>
<wsdl:output>
<soap:body use="literal"/>
</wsdl:output>
<wsdl:fault name="InvalidResourcePropertyQNameFault">
<soap:fault name="InvalidResourcePropertyQNameFault" use="literal"/>
</wsdl:fault>
<wsdl:fault name="ResourceUnknownFault">
<soap:fault name="ResourceUnknownFault" use="literal"/>
</wsdl:fault>
</wsdl:operation>
<wsdl:operation name="Destroy">
<soap:operation soapAction="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceLifetime/Destroy"/>
<wsdl:input>
<soap:body use="literal"/>
</wsdl:input>
<wsdl:output>
<soap:body use="literal"/>
</wsdl:output>
<wsdl:fault name="ResourceNotDestroyedFault">
<soap:fault name="ResourceNotDestroyedFault" use="literal"/>
</wsdl:fault>
<wsdl:fault name="ResourceUnknownFault">
<soap:fault name="ResourceUnknownFault" use="literal"/>
</wsdl:fault>
</wsdl:operation>
<wsdl:operation name="SetTerminationTime">
<soap:operation soapAction="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceLifetime/SetTerminationTime"/>
<wsdl:input>
<soap:body use="literal"/>
</wsdl:input>
<wsdl:output>
<soap:body use="literal"/>
</wsdl:output>
<wsdl:fault name="UnableToSetTerminationTimeFault">
<soap:fault name="UnableToSetTerminationTimeFault" use="literal"/>
</wsdl:fault>
<wsdl:fault name="ResourceUnknownFault">
<soap:fault name="ResourceUnknownFault" use="literal"/>
</wsdl:fault>
<wsdl:fault name="TerminationTimeChangeRejectedFault">
<soap:fault name="TerminationTimeChangeRejectedFault" use="literal"/>
</wsdl:fault>
</wsdl:operation>
<wsdl:operation name="PauseSubscription">
<soap:operation soapAction="http://docs.oasis-open.org/wsn/2004/06/wsn-WS-BaseNotification/PauseSubscription"/>
<wsdl:input>
<soap:body use="literal"/>
</wsdl:input>
<wsdl:output>
<soap:body use="literal"/>
</wsdl:output>
<wsdl:fault name="PauseFailedFault">
<soap:fault name="PauseFailedFault" use="literal"/>
</wsdl:fault>
<wsdl:fault name="ResourceUnknownFault">
<soap:fault name="ResourceUnknownFault" use="literal"/>
</wsdl:fault>
</wsdl:operation>
<wsdl:operation name="ResumeSubscription">
<soap:operation soapAction="http://docs.oasis-open.org/wsn/2004/06/wsn-WS-BaseNotification/ResumeSubscription"/>
<wsdl:input>
<soap:body use="literal"/>
</wsdl:input>
<wsdl:output>
<soap:body use="literal"/>
</wsdl:output>
<wsdl:fault name="ResumeFailedFault">
<soap:fault name="ResumeFailedFault" use="literal"/>
</wsdl:fault>
<wsdl:fault name="ResourceUnknownFault">
<soap:fault name="ResourceUnknownFault" use="literal"/>
</wsdl:fault>
</wsdl:operation>
</wsdl:binding>
<wsdl:binding name="NotificationProducerSOAPBinding" type="porttype:NotificationProducer">
<soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
<wsdl:operation name="GetResourceProperty">
<soap:operation soapAction="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceProperties/GetResourceProperty"/>
<wsdl:input>
<soap:body use="literal"/>
</wsdl:input>
<wsdl:output>
<soap:body use="literal"/>
</wsdl:output>
<wsdl:fault name="InvalidResourcePropertyQNameFault">
<soap:fault name="InvalidResourcePropertyQNameFault" use="literal"/>
</wsdl:fault>
<wsdl:fault name="ResourceUnknownFault">
<soap:fault name="ResourceUnknownFault" use="literal"/>
</wsdl:fault>
</wsdl:operation>
<wsdl:operation name="Subscribe">
<soap:operation soapAction="http://docs.oasis-open.org/wsn/2004/06/wsn-WS-BaseNotification/Subscribe"/>
<wsdl:input>
<soap:body use="literal"/>
</wsdl:input>
<wsdl:output>
<soap:body use="literal"/>
</wsdl:output>
<wsdl:fault name="TopicNotSupportedFault">
<soap:fault name="TopicNotSupportedFault" use="literal"/>
</wsdl:fault>
<wsdl:fault name="InvalidTopicExpressionFault">
<soap:fault name="InvalidTopicExpressionFault" use="literal"/>
</wsdl:fault>
<wsdl:fault name="SubscribeCreationFailedFault">
<soap:fault name="SubscribeCreationFailedFault" use="literal"/>
</wsdl:fault>
<wsdl:fault name="ResourceUnknownFault">
<soap:fault name="ResourceUnknownFault" use="literal"/>
</wsdl:fault>
<wsdl:fault name="TopicPathDialectUnknownFault">
<soap:fault name="TopicPathDialectUnknownFault" use="literal"/>
</wsdl:fault>
</wsdl:operation>
<wsdl:operation name="GetCurrentMessage">
<soap:operation soapAction="http://docs.oasis-open.org/wsn/2004/06/wsn-WS-BaseNotification/GetCurrentMessage"/>
<wsdl:input>
<soap:body use="literal"/>
</wsdl:input>
<wsdl:output>
<soap:body use="literal"/>
</wsdl:output>
<wsdl:fault name="TopicNotSupportedFault">
<soap:fault name="TopicNotSupportedFault" use="literal"/>
</wsdl:fault>
<wsdl:fault name="InvalidTopicExpressionFault">
<soap:fault name="InvalidTopicExpressionFault" use="literal"/>
</wsdl:fault>
<wsdl:fault name="NoCurrentMessageOnTopicFault">
<soap:fault name="NoCurrentMessageOnTopicFault" use="literal"/>
</wsdl:fault>
<wsdl:fault name="ResourceUnknownFault">
<soap:fault name="ResourceUnknownFault" use="literal"/>
</wsdl:fault>
</wsdl:operation>
</wsdl:binding>
</wsdl:definitions>

View File

@ -0,0 +1,15 @@
<?xml version="1.0" encoding="UTF-8"?>
<wsdl:definitions name="WS-BaseNotification" targetNamespace="http://docs.oasis-open.org/wsn/2004/06/wsn-WS-BaseNotification-1.2-draft-01.wsdl/service" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:binding="http://docs.oasis-open.org/wsn/2004/06/wsn-WS-BaseNotification-1.2-draft-01.wsdl/bindings" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
<wsdl:import namespace="http://docs.oasis-open.org/wsn/2004/06/wsn-WS-BaseNotification-1.2-draft-01.wsdl/bindings" location="WS-BaseN_bindings.wsdl"/>
<wsdl:service name="WS-BaseNotificationService">
<wsdl:port name="NotificationProducerPort" binding="binding:NotificationProducerSOAPBinding">
<soap:address location="http://localhost:8080/wsrf/services/"/>
</wsdl:port>
<wsdl:port name="NotificationConsumerPort" binding="binding:NotificationConsumerSOAPBinding">
<soap:address location="http://localhost:8080/wsrf/services/"/>
</wsdl:port>
<wsdl:port name="SubscriptionManagerPort" binding="binding:SubscriptionManagerSOAPBinding">
<soap:address location="http://localhost:8080/wsrf/services/"/>
</wsdl:port>
</wsdl:service>
</wsdl:definitions>

View File

@ -0,0 +1,177 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
OASIS takes no position regarding the validity or scope of any intellectual property or other rights that might be claimed to pertain to the implementation or use of the technology described in this document or the extent to which any license under such rights might or might not be available; neither does it represent that it has made any effort to identify any such rights. Information on OASIS's procedures with respect to rights in OASIS specifications can be found at the OASIS website. Copies of claims of rights made available for publication and any assurances of licenses to be made available, or the result of an attempt made to obtain a general license or permission for the use of such proprietary rights by implementors or users of this specification, can be obtained from the OASIS Executive Director.
OASIS invites any interested party to bring to its attention any copyrights, patents or patent applications, or other proprietary rights which may cover technology that may be required to implement this specification. Please address the information to the OASIS Executive Director.
Copyright (C) OASIS Open (2004). All Rights Reserved.
This document and translations of it may be copied and furnished to others, and derivative works that comment on or otherwise explain it or assist in its implementation may be prepared, copied, published and distributed, in whole or in part, without restriction of any kind, provided that the above copyright notice and this paragraph are included on all such copies and derivative works. However, this document itself may not be modified in any way, such as by removing the copyright notice or references to OASIS, except as needed for the purpose of developing OASIS specifications, in which case the procedures for copyrights defined in the OASIS Intellectual Property Rights document must be followed, or as required to translate it into languages other than English.
The limited permissions granted above are perpetual and will not be revoked by OASIS or its successors or assigns.
This document and the information contained herein is provided on an "AS IS" basis and OASIS DISCLAIMS ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTY THAT THE USE OF THE INFORMATION HEREIN WILL NOT INFRINGE ANY RIGHTS OR ANY IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.
-->
<xsd:schema
xmlns="http://www.w3.org/2001/XMLSchema"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:wsrp=
"http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceProperties-1.2-draft-01.xsd"
xmlns:wsnt=
"http://docs.oasis-open.org/wsn/2004/06/wsn-WS-BaseNotification-1.2-draft-01.xsd"
xmlns:wstop=
"http://docs.oasis-open.org/wsn/2004/06/wsn-WS-Topics-1.2-draft-01.xsd"
targetNamespace=
"http://docs.oasis-open.org/wsn/2004/06/wsn-WS-Topics-1.2-draft-01.xsd"
elementFormDefault="qualified" attributeFormDefault="unqualified">
<!-- ======================== Imports ============================ -->
<xsd:import namespace=
"http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceProperties-1.2-draft-01.xsd"
schemaLocation="../properties/WS-ResourceProperties.xsd" />
<xsd:import namespace=
"http://docs.oasis-open.org/wsn/2004/06/wsn-WS-BaseNotification-1.2-draft-01.xsd"
schemaLocation="./WS-BaseN.xsd" />
<!-- =============== utility type definitions ==================== -->
<xsd:complexType name="Documentation" mixed="true">
<xsd:sequence>
<xsd:any processContents="lax" minOccurs="0"
maxOccurs="unbounded" namespace="##any"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="ExtensibleDocumented" abstract="true"
mixed="false">
<xsd:sequence>
<xsd:element name="documentation" type="wstop:Documentation"
minOccurs="0" />
</xsd:sequence>
<xsd:anyAttribute namespace="##other" processContents="lax" />
</xsd:complexType>
<!-- ================== Topic-Space Related ====================== -->
<xsd:complexType name="TopicSpaceType">
<xsd:complexContent>
<xsd:extension base="wstop:ExtensibleDocumented">
<xsd:sequence>
<xsd:element name="Topic" type="wstop:TopicType"
minOccurs="0" maxOccurs="unbounded"/>
<xsd:any namespace="##other"
minOccurs="0" maxOccurs="unbounded"
processContents="lax"/>
</xsd:sequence>
<xsd:attribute name="name" type="xsd:NCName"/>
<xsd:attribute name="targetNamespace" type="xsd:anyURI"
use="required"/>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:element name="TopicSpace" type="wstop:TopicSpaceType">
<xsd:unique name="rootTopicUniqueness">
<xsd:selector xpath="wstop:Topic"/>
<xsd:field xpath="@name"/>
</xsd:unique>
</xsd:element>
<!-- ===================== Topic Related ========================= -->
<xsd:group name="NonAliasTopicDefinition">
<xsd:sequence>
<xsd:element name="MessagePattern"
type="wsrp:QueryExpressionType"
minOccurs="0" maxOccurs="1" />
<xsd:element name="Topic" type="wstop:TopicType"
minOccurs="0" maxOccurs="unbounded">
<xsd:unique name="childTopicUniqueness">
<xsd:selector xpath="wstop:topic"/>
<xsd:field xpath="@name"/>
</xsd:unique>
</xsd:element>
</xsd:sequence>
</xsd:group>
<xsd:complexType name="TopicType">
<xsd:complexContent>
<xsd:extension base="wstop:ExtensibleDocumented">
<xsd:sequence>
<xsd:choice>
<xsd:element name="AliasRef"
type="wsnt:TopicExpressionType"
minOccurs="1" maxOccurs="1" />
<xsd:group ref="wstop:NonAliasTopicDefinition" />
</xsd:choice>
<xsd:any namespace="##other" minOccurs="0"
maxOccurs="unbounded"/>
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:NCName"/>
<xsd:attribute name="messageTypes" default="xsd:any">
<xsd:simpleType>
<xsd:list itemType="xsd:QName"/>
</xsd:simpleType>
</xsd:attribute>
<xsd:attribute name="final" type="xsd:boolean"
default="false"/>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<!-- ================ Topic Expression Related =================== -->
<xsd:simpleType name="FullTopicPathExpression">
<xsd:restriction base="xsd:token">
<xsd:annotation>
<xsd:documentation>
TopicPathExpression ::= TopicPath ( '|' TopicPath )*
TopicPath ::= RootTopic ChildTopicExpression*
RootTopic ::= NamespacePrefix? ('//')? (NCName | '*')
NamespacePrefix ::= NCName ':'
ChildTopicExpression ::= '/' '/'? (NCName | '*'| '.')
</xsd:documentation>
</xsd:annotation>
<xsd:pattern value=
"([\i-[:]][\c-[:]]*:)?(//)?([\i-[:]][\c-[:]]*|\*)((/|//)([\i-[:]][\c-[:]]*|\*|[.]))*(\|([\i-[:]][\c-[:]]*:)?(//)?([\i-[:]][\c-[:]]*|\*)((/|//)([\i-[:]][\c-[:]]*|\*|[.]))*)*">
</xsd:pattern>
</xsd:restriction>
</xsd:simpleType>
<xsd:simpleType name="ConcreteTopicPathExpression">
<xsd:restriction base="xsd:token">
<xsd:annotation>
<xsd:documentation>
The pattern allows strings matching the following EBNF:
ConcreteTopicPath ::= RootTopic ChildTopic*
RootTopic ::= QName
ChildTopic ::= '/' NCName
</xsd:documentation>
</xsd:annotation>
<xsd:pattern value=
"(( [\i-[:]][\c-[:]]*:)? [\i-[:]][\c-[:]]*)(/ [\i-[:]][\c-[:]]*)*" >
</xsd:pattern>
</xsd:restriction>
</xsd:simpleType>
<xsd:simpleType name="SimpleTopicExpression">
<xsd:restriction base="xsd:token">
<xsd:annotation>
<xsd:documentation>
The pattern allows strings matching the following EBNF:
RootTopic ::= QName
</xsd:documentation>
</xsd:annotation>
<xsd:pattern value="([\i-[:]][\c-[:]]*:)?( [\i-[:]][\c-[:]]*)" >
</xsd:pattern>
</xsd:restriction>
</xsd:simpleType>
</xsd:schema>

View File

@ -0,0 +1,391 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
OASIS takes no position regarding the validity or scope of any intellectual property or other rights that might be claimed to pertain to the implementation or use of the technology described in this document or the extent to which any license under such rights might or might not be available; neither does it represent that it has made any effort to identify any such rights. Information on OASIS's procedures with respect to rights in OASIS specifications can be found at the OASIS website. Copies of claims of rights made available for publication and any assurances of licenses to be made available, or the result of an attempt made to obtain a general license or permission for the use of such proprietary rights by implementors or users of this specification, can be obtained from the OASIS Executive Director.
OASIS invites any interested party to bring to its attention any copyrights, patents or patent applications, or other proprietary rights which may cover technology that may be required to implement this specification. Please address the information to the OASIS Executive Director.
Copyright (C) OASIS Open (2004). All Rights Reserved.
This document and translations of it may be copied and furnished to others, and derivative works that comment on or otherwise explain it or assist in its implementation may be prepared, copied, published and distributed, in whole or in part, without restriction of any kind, provided that the above copyright notice and this paragraph are included on all such copies and derivative works. However, this document itself may not be modified in any way, such as by removing the copyright notice or references to OASIS, except as needed for the purpose of developing OASIS specifications, in which case the procedures for copyrights defined in the OASIS Intellectual Property Rights document must be followed, or as required to translate it into languages other than English.
The limited permissions granted above are perpetual and will not be revoked by OASIS or its successors or assigns.
This document and the information contained herein is provided on an "AS IS" basis and OASIS DISCLAIMS ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTY THAT THE USE OF THE INFORMATION HEREIN WILL NOT INFRINGE ANY RIGHTS OR ANY IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.
-->
<wsdl:definitions name="WS-ResourceProperties"
xmlns="http://schemas.xmlsoap.org/wsdl/"
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/03/addressing"
xmlns:wsbf=
"http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-BaseFaults-1.2-draft-01.xsd"
xmlns:wsrp=
"http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceProperties-1.2-draft-01.xsd"
xmlns:wsrpw=
"http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceProperties-1.2-draft-01.wsdl"
targetNamespace=
"http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceProperties-1.2-draft-01.wsdl"
>
<!-- ===================== Types Definitions ====================== -->
<wsdl:types>
<xsd:schema
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
targetNamespace=
"http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceProperties-1.2-draft-01.xsd"
elementFormDefault="qualified"
attributeFormDefault="unqualified">
<xsd:include schemaLocation="./WS-ResourceProperties.xsd"/>
<xsd:import
namespace="http://schemas.xmlsoap.org/ws/2004/03/addressing"
schemaLocation="../../ws/addressing/WS-Addressing.xsd" />
<xsd:import
namespace=
"http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-BaseFaults-1.2-draft-01.xsd"
schemaLocation="../faults/WS-BaseFaults.xsd"
/>
<!-- ========== Message Types for GetResourceProperty ============ -->
<xsd:element name="GetResourceProperty"
type="xsd:QName" />
<xsd:element name="GetResourcePropertyResponse" >
<xsd:complexType>
<xsd:sequence>
<xsd:any minOccurs="0" maxOccurs="unbounded" />
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:complexType name="ResourceUnknownFaultType">
<xsd:complexContent>
<xsd:extension base="wsbf:BaseFaultType"/>
</xsd:complexContent>
</xsd:complexType>
<xsd:element name="ResourceUnknownFault"
type="wsrp:ResourceUnknownFaultType"/>
<xsd:complexType name="InvalidResourcePropertyQNameFaultType">
<xsd:complexContent>
<xsd:extension base="wsbf:BaseFaultType"/>
</xsd:complexContent>
</xsd:complexType>
<xsd:element name="InvalidResourcePropertyQNameFault"
type="wsrp:InvalidResourcePropertyQNameFaultType"/>
<!-- ====== Message Types for GetMultipleResourceProperties ======= -->
<xsd:element name="GetMultipleResourceProperties">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="ResourceProperty" type="xsd:QName"
minOccurs="1" maxOccurs="unbounded" />
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="GetMultipleResourcePropertiesResponse">
<xsd:complexType>
<xsd:sequence>
<xsd:any minOccurs="0" maxOccurs="unbounded" />
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<!-- ========= Message Types for SetResourceProperties =========== -->
<xsd:complexType name="InsertType">
<xsd:sequence>
<xsd:any processContents="lax"
minOccurs="1" maxOccurs="unbounded" />
</xsd:sequence>
</xsd:complexType>
<xsd:element name="Insert"
type="wsrp:InsertType"/>
<xsd:complexType name="UpdateType">
<xsd:sequence>
<xsd:any processContents="lax"
minOccurs="1" maxOccurs="unbounded" />
</xsd:sequence>
</xsd:complexType>
<xsd:element name="Update"
type="wsrp:UpdateType"/>
<xsd:complexType name="DeleteType">
<xsd:attribute name="ResourceProperty"
type="xsd:QName" use="required" />
</xsd:complexType>
<xsd:element name="Delete"
type="wsrp:DeleteType"/>
<xsd:element name="SetResourceProperties">
<xsd:complexType>
<xsd:choice minOccurs="0" maxOccurs="unbounded">
<xsd:element ref="wsrp:Insert"/>
<xsd:element ref="wsrp:Update"/>
<xsd:element ref="wsrp:Delete"/>
</xsd:choice>
</xsd:complexType>
</xsd:element>
<xsd:element name="SetResourcePropertiesResponse" >
<xsd:complexType />
</xsd:element>
<xsd:complexType
name="InvalidSetResourcePropertiesRequestContentFaultType">
<xsd:complexContent>
<xsd:extension base="wsbf:BaseFaultType"/>
</xsd:complexContent>
</xsd:complexType>
<xsd:element name="InvalidSetResourcePropertiesRequestContentFault"
type="wsrp:InvalidSetResourcePropertiesRequestContentFaultType"/>
<xsd:complexType name="UnableToModifyResourcePropertyFaultType">
<xsd:complexContent>
<xsd:extension base="wsbf:BaseFaultType"/>
</xsd:complexContent>
</xsd:complexType>
<xsd:element name="UnableToModifyResourcePropertyFault"
type="wsrp:UnableToModifyResourcePropertyFaultType"/>
<xsd:complexType name="SetResourcePropertyRequestFailedFaultType">
<xsd:complexContent>
<xsd:extension base="wsbf:BaseFaultType"/>
</xsd:complexContent>
</xsd:complexType>
<xsd:element name="SetResourcePropertyRequestFailedFault"
type="wsrp:SetResourcePropertyRequestFailedFaultType"/>
<!-- ========= Message Types for QueryResourceProperties ========== -->
<xsd:element name="QueryResourceProperties" >
<xsd:complexType>
<xsd:sequence>
<xsd:element ref="wsrp:QueryExpression"
minOccurs="1" maxOccurs="1"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="QueryResourcePropertiesResponse" >
<xsd:complexType mixed="true">
<xsd:sequence>
<xsd:any processContents="lax"
minOccurs="1" maxOccurs="unbounded"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:complexType name="UnknownQueryExpressionDialectFaultType">
<xsd:complexContent>
<xsd:extension base="wsbf:BaseFaultType"/>
</xsd:complexContent>
</xsd:complexType>
<xsd:element name="UnknownQueryExpressionDialectFault"
type="wsrp:UnknownQueryExpressionDialectFaultType"/>
<xsd:complexType name="InvalidQueryExpressionFaultType">
<xsd:complexContent>
<xsd:extension base="wsbf:BaseFaultType"/>
</xsd:complexContent>
</xsd:complexType>
<xsd:element name="InvalidQueryExpressionFault"
type="wsrp:InvalidQueryExpressionFaultType"/>
<xsd:complexType name="QueryEvaluationErrorFaultType">
<xsd:complexContent>
<xsd:extension base="wsbf:BaseFaultType"/>
</xsd:complexContent>
</xsd:complexType>
<xsd:element name="QueryEvaluationErrorFault"
type="wsrp:QueryEvaluationErrorFaultType"/>
</xsd:schema>
</wsdl:types>
<!-- ===================== GetResourceProperty ====================
GetResourceProperty(QName)
returns: any
-->
<wsdl:message name="GetResourcePropertyRequest">
<wsdl:part name="GetResourcePropertyRequest"
element="wsrp:GetResourceProperty" />
</wsdl:message>
<wsdl:message name="GetResourcePropertyResponse">
<wsdl:part name="GetResourcePropertyResponse"
element="wsrp:GetResourcePropertyResponse" />
</wsdl:message>
<wsdl:message name="ResourceUnknownFault">
<part name="ResourceUnknownFault"
element="wsrp:ResourceUnknownFault" />
</wsdl:message>
<wsdl:message name="InvalidResourcePropertyQNameFault">
<part name="InvalidResourcePropertyQNameFault"
element="wsrp:InvalidResourcePropertyQNameFault" />
</wsdl:message>
<!-- ==============GetMultipleResourceProperties ==================
GetMultipleResourceProperties(list of QName)
returns: sequence of any
-->
<wsdl:message name="GetMultipleResourcePropertiesRequest">
<wsdl:part name="GetMultipleResourcePropertiesRequest"
element="wsrp:GetMultipleResourceProperties" />
</wsdl:message>
<wsdl:message name="GetMultipleResourcePropertiesResponse">
<wsdl:part name="GetMultipleResourcePropertiesResponse"
element="wsrp:GetMultipleResourcePropertiesResponse" />
</wsdl:message>
<!-- ================= SetResourceProperties ======================
SetResourceProperties(
{ insert (any)* |
update (any)* |
delete@QName } +
)
returns: empty
-->
<wsdl:message name="SetResourcePropertiesRequest">
<wsdl:part name="SetResourcePropertiesRequest"
element="wsrp:SetResourceProperties" />
</wsdl:message>
<wsdl:message name="SetResourcePropertiesResponse">
<wsdl:part name="SetResourcePropertiesResponse"
element="wsrp:SetResourcePropertiesResponse" />
</wsdl:message>
<wsdl:message name="InvalidSetResourcePropertiesRequestContentFault">
<part name="InvalidSetResourcePropertiesRequestContentFault"
element="wsrp:InvalidSetResourcePropertiesRequestContentFault" />
</wsdl:message>
<wsdl:message name="UnableToModifyResourcePropertyFault">
<part name="UnableToModifyResourcePropertyFault"
element="wsrp:UnableToModifyResourcePropertyFault" />
</wsdl:message>
<wsdl:message name="SetResourcePropertyRequestFailedFault">
<part name="SetResourcePropertyRequestFailedFault"
element="wsrp:SetResourcePropertyRequestFailedFault" />
</wsdl:message>
<!-- ================ QueryResourceProperties =====================
QueryResourceProperties(QueryExpression)
returns: any
-->
<wsdl:message name="QueryResourcePropertiesRequest">
<wsdl:part name="QueryResourcePropertiesRequest"
element="wsrp:QueryResourceProperties" />
</wsdl:message>
<wsdl:message name="QueryResourcePropertiesResponse">
<wsdl:part name="QueryResourcePropertiesResponse"
element="wsrp:QueryResourcePropertiesResponse" />
</wsdl:message>
<wsdl:message name="UnknownQueryExpressionDialectFault">
<part name="UnknownQueryExpressionDialectFault"
element="wsrp:UnknownQueryExpressionDialectFault" />
</wsdl:message>
<wsdl:message name="InvalidQueryExpressionFault">
<part name="InvalidQueryExpressionFault"
element="wsrp:InvalidQueryExpressionFault" />
</wsdl:message>
<wsdl:message name="QueryEvaluationErrorFault">
<part name="QueryEvaluationErrorFault"
element="wsrp:QueryEvaluationErrorFault" />
</wsdl:message>
<!-- =================== PortType Definitions ===================== -->
<wsdl:portType name="GetResourceProperty">
<wsdl:operation name="GetResourceProperty">
<wsdl:input name="GetResourcePropertyRequest"
message="wsrpw:GetResourcePropertyRequest"
wsa:Action="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceProperties/GetResourceProperty"/>
<wsdl:output name="GetResourcePropertyResponse"
message="wsrpw:GetResourcePropertyResponse"
wsa:Action="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceProperties/GetResourcePropertyResponse"/>
<wsdl:fault name="ResourceUnknownFault"
message="wsrpw:ResourceUnknownFault" />
<wsdl:fault name="InvalidResourcePropertyQNameFault"
message="wsrpw:InvalidResourcePropertyQNameFault" />
</wsdl:operation>
</wsdl:portType>
<wsdl:portType name="GetMultipleResourceProperties">
<wsdl:operation name="GetMultipleResourceProperties">
<wsdl:input name="GetMultipleResourcePropertiesRequest"
message="wsrpw:GetMultipleResourcePropertiesRequest"
wsa:Action="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceProperties/GetMultipleResourceProperties"/>
<wsdl:output name="GetMultipleResourcePropertiesResponse"
message="wsrpw:GetMultipleResourcePropertiesResponse"
wsa:Action="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceProperties/GetMultipleResourcePropertiesResponse"/>
<wsdl:fault name="ResourceUnknownFault"
message="wsrpw:ResourceUnknownFault" />
<wsdl:fault name="InvalidResourcePropertyQNameFault"
message="wsrpw:InvalidResourcePropertyQNameFault" />
</wsdl:operation>
</wsdl:portType>
<wsdl:portType name="SetResourceProperties">
<wsdl:operation name="SetResourceProperties">
<wsdl:input name="SetResourcePropertiesRequest"
message="wsrpw:SetResourcePropertiesRequest"
wsa:Action="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceProperties/SetResourceProperties"/>
<wsdl:output name="SetResourcePropertiesResponse"
message="wsrpw:SetResourcePropertiesResponse"
wsa:Action="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceProperties/SetResourcePropertiesResponse"/>
<wsdl:fault name="ResourceUnknownFault"
message="wsrpw:ResourceUnknownFault" />
<wsdl:fault name="InvalidSetResourcePropertiesRequestContentFault"
message="wsrpw:InvalidSetResourcePropertiesRequestContentFault" />
<wsdl:fault name="UnableToModifyResourcePropertyFault"
message="wsrpw:UnableToModifyResourcePropertyFault" />
<wsdl:fault name="InvalidResourcePropertyQNameFault"
message="wsrpw:InvalidResourcePropertyQNameFault" />
<wsdl:fault name="SetResourcePropertyRequestFailedFault"
message="wsrpw:SetResourcePropertyRequestFailedFault" />
</wsdl:operation>
</wsdl:portType>
<wsdl:portType name="QueryResourceProperties">
<wsdl:operation name="QueryResourceProperties">
<wsdl:input name="QueryResourcePropertiesRequest"
message="wsrpw:QueryResourcePropertiesRequest"
wsa:Action="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceProperties/QueryResourceProperties"/>
<wsdl:output name="QueryResourcePropertiesResponse"
message="wsrpw:QueryResourcePropertiesResponse"
wsa:Action="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceProperties/QueryResourcePropertiesResponse"/>
<wsdl:fault name="ResourceUnknownFault"
message="wsrpw:ResourceUnknownFault" />
<wsdl:fault name="InvalidResourcePropertyQNameFault"
message="wsrpw:InvalidResourcePropertyQNameFault" />
<wsdl:fault name="UnknownQueryExpressionDialectFault"
message="wsrpw:UnknownQueryExpressionDialectFault" />
<wsdl:fault name="InvalidQueryExpressionFault"
message="wsrpw:InvalidQueryExpressionFault" />
<wsdl:fault name="QueryEvaluationErrorFault"
message="wsrpw:QueryEvaluationErrorFault" />
</wsdl:operation>
</wsdl:portType>
</wsdl:definitions>

View File

@ -0,0 +1,64 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
OASIS takes no position regarding the validity or scope of any intellectual property or other rights that might be claimed to pertain to the implementation or use of the technology described in this document or the extent to which any license under such rights might or might not be available; neither does it represent that it has made any effort to identify any such rights. Information on OASIS's procedures with respect to rights in OASIS specifications can be found at the OASIS website. Copies of claims of rights made available for publication and any assurances of licenses to be made available, or the result of an attempt made to obtain a general license or permission for the use of such proprietary rights by implementors or users of this specification, can be obtained from the OASIS Executive Director.
OASIS invites any interested party to bring to its attention any copyrights, patents or patent applications, or other proprietary rights which may cover technology that may be required to implement this specification. Please address the information to the OASIS Executive Director.
Copyright (C) OASIS Open (2004). All Rights Reserved.
This document and translations of it may be copied and furnished to others, and derivative works that comment on or otherwise explain it or assist in its implementation may be prepared, copied, published and distributed, in whole or in part, without restriction of any kind, provided that the above copyright notice and this paragraph are included on all such copies and derivative works. However, this document itself may not be modified in any way, such as by removing the copyright notice or references to OASIS, except as needed for the purpose of developing OASIS specifications, in which case the procedures for copyrights defined in the OASIS Intellectual Property Rights document must be followed, or as required to translate it into languages other than English.
The limited permissions granted above are perpetual and will not be revoked by OASIS or its successors or assigns.
This document and the information contained herein is provided on an "AS IS" basis and OASIS DISCLAIMS ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTY THAT THE USE OF THE INFORMATION HEREIN WILL NOT INFRINGE ANY RIGHTS OR ANY IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.
-->
<xsd:schema
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:wsrp=
"http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceProperties-1.2-draft-01.xsd"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
elementFormDefault="qualified" attributeFormDefault="unqualified"
targetNamespace=
"http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceProperties-1.2-draft-01.xsd"
>
<!-- ======= Global Attribute Declaration for WSDL 1.1 portType==== -->
<xsd:attribute name="ResourceProperties" type="xsd:QName" />
<!-- = Notification Message for ResourceProperties value change === -->
<xsd:complexType name="ResourcePropertyValueChangeNotificationType">
<xsd:sequence>
<xsd:element name="OldValue" nillable="true"
minOccurs="0" maxOccurs="1" >
<xsd:complexType>
<xsd:sequence>
<xsd:any minOccurs="1" maxOccurs="1" />
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="NewValue" nillable="true"
minOccurs="1" maxOccurs="1" >
<xsd:complexType>
<xsd:sequence>
<xsd:any minOccurs="1" maxOccurs="1" />
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
<xsd:element name="ResourcePropertyValueChangeNotification"
type="wsrp:ResourcePropertyValueChangeNotificationType" />
<xsd:complexType name="QueryExpressionType" mixed="true">
<xsd:sequence>
<xsd:any minOccurs="0" maxOccurs="1" processContents="lax" />
</xsd:sequence>
<xsd:attribute name="Dialect" type="xsd:anyURI" />
</xsd:complexType>
<xsd:element name="QueryExpression" type="wsrp:QueryExpressionType" />
</xsd:schema>

View File

@ -0,0 +1,94 @@
<?xml version="1.0" encoding="UTF-8"?>
<wsdl:definitions name="WS-ResourceProperties" targetNamespace="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceProperties-1.2-draft-01.wsdl/bindings" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:porttype="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceProperties-1.2-draft-01.wsdl" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/">
<wsdl:import namespace="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceProperties-1.2-draft-01.wsdl" location="WS-ResourceProperties.wsdl"/>
<wsdl:binding name="GetMultipleResourcePropertiesSOAPBinding" type="porttype:GetMultipleResourceProperties">
<soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
<wsdl:operation name="GetMultipleResourceProperties">
<soap:operation soapAction="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceProperties/GetMultipleResourceProperties"/>
<wsdl:input>
<soap:body use="literal"/>
</wsdl:input>
<wsdl:output>
<soap:body use="literal"/>
</wsdl:output>
<wsdl:fault name="InvalidResourcePropertyQNameFault">
<soap:fault name="InvalidResourcePropertyQNameFault" use="literal"/>
</wsdl:fault>
<wsdl:fault name="ResourceUnknownFault">
<soap:fault name="ResourceUnknownFault" use="literal"/>
</wsdl:fault>
</wsdl:operation>
</wsdl:binding>
<wsdl:binding name="SetResourcePropertiesSOAPBinding" type="porttype:SetResourceProperties">
<soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
<wsdl:operation name="SetResourceProperties">
<soap:operation soapAction="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceProperties/SetResourceProperties"/>
<wsdl:input>
<soap:body use="literal"/>
</wsdl:input>
<wsdl:output>
<soap:body use="literal"/>
</wsdl:output>
<wsdl:fault name="InvalidResourcePropertyQNameFault">
<soap:fault name="InvalidResourcePropertyQNameFault" use="literal"/>
</wsdl:fault>
<wsdl:fault name="SetResourcePropertyRequestFailedFault">
<soap:fault name="SetResourcePropertyRequestFailedFault" use="literal"/>
</wsdl:fault>
<wsdl:fault name="ResourceUnknownFault">
<soap:fault name="ResourceUnknownFault" use="literal"/>
</wsdl:fault>
<wsdl:fault name="UnableToModifyResourcePropertyFault">
<soap:fault name="UnableToModifyResourcePropertyFault" use="literal"/>
</wsdl:fault>
<wsdl:fault name="InvalidSetResourcePropertiesRequestContentFault">
<soap:fault name="InvalidSetResourcePropertiesRequestContentFault" use="literal"/>
</wsdl:fault>
</wsdl:operation>
</wsdl:binding>
<wsdl:binding name="GetResourcePropertySOAPBinding" type="porttype:GetResourceProperty">
<soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
<wsdl:operation name="GetResourceProperty">
<soap:operation soapAction="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceProperties/GetResourceProperty"/>
<wsdl:input>
<soap:body use="literal"/>
</wsdl:input>
<wsdl:output>
<soap:body use="literal"/>
</wsdl:output>
<wsdl:fault name="InvalidResourcePropertyQNameFault">
<soap:fault name="InvalidResourcePropertyQNameFault" use="literal"/>
</wsdl:fault>
<wsdl:fault name="ResourceUnknownFault">
<soap:fault name="ResourceUnknownFault" use="literal"/>
</wsdl:fault>
</wsdl:operation>
</wsdl:binding>
<wsdl:binding name="QueryResourcePropertiesSOAPBinding" type="porttype:QueryResourceProperties">
<soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
<wsdl:operation name="QueryResourceProperties">
<soap:operation soapAction="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceProperties/QueryResourceProperties"/>
<wsdl:input>
<soap:body use="literal"/>
</wsdl:input>
<wsdl:output>
<soap:body use="literal"/>
</wsdl:output>
<wsdl:fault name="UnknownQueryExpressionDialectFault">
<soap:fault name="UnknownQueryExpressionDialectFault" use="literal"/>
</wsdl:fault>
<wsdl:fault name="InvalidResourcePropertyQNameFault">
<soap:fault name="InvalidResourcePropertyQNameFault" use="literal"/>
</wsdl:fault>
<wsdl:fault name="ResourceUnknownFault">
<soap:fault name="ResourceUnknownFault" use="literal"/>
</wsdl:fault>
<wsdl:fault name="InvalidQueryExpressionFault">
<soap:fault name="InvalidQueryExpressionFault" use="literal"/>
</wsdl:fault>
<wsdl:fault name="QueryEvaluationErrorFault">
<soap:fault name="QueryEvaluationErrorFault" use="literal"/>
</wsdl:fault>
</wsdl:operation>
</wsdl:binding>
</wsdl:definitions>

View File

@ -0,0 +1,18 @@
<?xml version="1.0" encoding="UTF-8"?>
<wsdl:definitions name="WS-ResourceProperties" targetNamespace="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceProperties-1.2-draft-01.wsdl/service" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:binding="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceProperties-1.2-draft-01.wsdl/bindings">
<wsdl:import namespace="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceProperties-1.2-draft-01.wsdl/bindings" location="WS-ResourceProperties_bindings.wsdl"/>
<wsdl:service name="WS-ResourcePropertiesService">
<wsdl:port name="QueryResourcePropertiesPort" binding="binding:QueryResourcePropertiesSOAPBinding">
<soap:address location="http://localhost:8080/wsrf/services/"/>
</wsdl:port>
<wsdl:port name="GetMultipleResourcePropertiesPort" binding="binding:GetMultipleResourcePropertiesSOAPBinding">
<soap:address location="http://localhost:8080/wsrf/services/"/>
</wsdl:port>
<wsdl:port name="SetResourcePropertiesPort" binding="binding:SetResourcePropertiesSOAPBinding">
<soap:address location="http://localhost:8080/wsrf/services/"/>
</wsdl:port>
<wsdl:port name="GetResourcePropertyPort" binding="binding:GetResourcePropertySOAPBinding">
<soap:address location="http://localhost:8080/wsrf/services/"/>
</wsdl:port>
</wsdl:service>
</wsdl:definitions>

View File

@ -0,0 +1,251 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
OASIS takes no position regarding the validity or scope of any intellectual property or other rights that might be claimed to pertain to the implementation or use of the technology described in this document or the extent to which any license under such rights might or might not be available; neither does it represent that it has made any effort to identify any such rights. Information on OASIS's procedures with respect to rights in OASIS specifications can be found at the OASIS website. Copies of claims of rights made available for publication and any assurances of licenses to be made available, or the result of an attempt made to obtain a general license or permission for the use of such proprietary rights by implementors or users of this specification, can be obtained from the OASIS Executive Director.
OASIS invites any interested party to bring to its attention any copyrights, patents or patent applications, or other proprietary rights which may cover technology that may be required to implement this specification. Please address the information to the OASIS Executive Director.
Copyright (C) OASIS Open (2004). All Rights Reserved.
This document and translations of it may be copied and furnished to others, and derivative works that comment on or otherwise explain it or assist in its implementation may be prepared, copied, published and distributed, in whole or in part, without restriction of any kind, provided that the above copyright notice and this paragraph are included on all such copies and derivative works. However, this document itself may not be modified in any way, such as by removing the copyright notice or references to OASIS, except as needed for the purpose of developing OASIS specifications, in which case the procedures for copyrights defined in the OASIS Intellectual Property Rights document must be followed, or as required to translate it into languages other than English.
The limited permissions granted above are perpetual and will not be revoked by OASIS or its successors or assigns.
This document and the information contained herein is provided on an "AS IS" basis and OASIS DISCLAIMS ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTY THAT THE USE OF THE INFORMATION HEREIN WILL NOT INFRINGE ANY RIGHTS OR ANY IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.
-->
<wsdl:definitions name="ServiceGroup"
xmlns="http://schemas.xmlsoap.org/wsdl/"
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/03/addressing"
xmlns:wsbf=
"http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-BaseFaults-1.2-draft-01.xsd"
xmlns:wsrp=
"http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceProperties-1.2-draft-01.xsd"
xmlns:wsrpw=
"http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceProperties-1.2-draft-01.wsdl"
xmlns:wsrl=
"http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceLifetime-1.2-draft-01.xsd"
xmlns:wssg=
"http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ServiceGroup-1.2-draft-01.xsd"
xmlns:wssgw=
"http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ServiceGroup-1.2-draft-01.wsdl"
targetNamespace=
"http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ServiceGroup-1.2-draft-01.wsdl">
<!-- ========================== Imports =========================== -->
<wsdl:import namespace=
"http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceProperties-1.2-draft-01.wsdl"
location="../properties/WS-ResourceProperties.wsdl" />
<wsdl:import namespace=
"http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceLifetime-1.2-draft-01.wsdl"
location="../lifetime/WS-ResourceLifetime.wsdl"/>
<!-- ===================== Types Definitions ====================== -->
<wsdl:types>
<xsd:schema
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
targetNamespace=
"http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ServiceGroup-1.2-draft-01.xsd"
elementFormDefault="qualified"
attributeFormDefault="unqualified">
<xsd:include schemaLocation="./WS-ServiceGroup.xsd" />
<xsd:import namespace=
"http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceLifetime-1.2-draft-01.xsd"
schemaLocation="../lifetime/WS-ResourceLifetime.xsd"
/>
<xsd:import namespace=
"http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceProperties-1.2-draft-01.xsd"
schemaLocation="../properties/WS-ResourceProperties.xsd"
/>
<xsd:import namespace=
"http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-BaseFaults-1.2-draft-01.xsd"
schemaLocation="../faults/WS-BaseFaults.xsd"
/>
<xsd:import
namespace=
"http://schemas.xmlsoap.org/ws/2004/03/addressing"
schemaLocation="../../ws/addressing/WS-Addressing.xsd"
/>
<!-- =============== Resource Property Related =================== -->
<!-- ============ Resource Properties for ServiceGroup ============ -->
<xsd:element name="ServiceGroupRP">
<xsd:complexType>
<xsd:sequence>
<xsd:element ref="wssg:MembershipContentRule"
minOccurs="0" maxOccurs="unbounded"/>
<xsd:element ref="wssg:Entry"
minOccurs="0" maxOccurs="unbounded"/>
</xsd:sequence>
</xsd:complexType>
<xsd:unique name="UniqueInterfaces">
<xsd:selector xpath="./wssg:MembershipContentRule"/>
<xsd:field xpath="@MemberInterface"/>
</xsd:unique>
</xsd:element>
<!-- ========== Resource Properties for ServiceGroupEntry ========= -->
<xsd:element name="ServiceGroupEntryRP">
<xsd:complexType>
<xsd:sequence>
<xsd:element ref="wssg:ServiceGroupEPR"
minOccurs="1" maxOccurs="1"/>
<xsd:element ref="wssg:MemberEPR"
minOccurs="1" maxOccurs="1"/>
<xsd:element ref="wssg:Content"
minOccurs="1" maxOccurs="1"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<!-- ================= Message Specific Types ==================== -->
<!-- ======== Message Types for ServiceGroupRegistration ========= -->
<xsd:element name="Add">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="MemberEPR"
type="wsa:EndpointReferenceType" />
<xsd:element name="Content"
type="xsd:anyType" />
<xsd:element name="InitialTerminationTime"
type="xsd:dateTime"
minOccurs="0" maxOccurs="1" />
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="AddResponse"
type="wsa:EndpointReferenceType" />
<xsd:complexType name="ContentCreationFailedFaultType">
<xsd:complexContent>
<xsd:extension base="wsbf:BaseFaultType"/>
</xsd:complexContent>
</xsd:complexType>
<xsd:element name="ContentCreationFailedFault"
type="wssg:ContentCreationFailedFaultType"/>
<xsd:complexType name="UnsupportedMemberInterfaceFaultType">
<xsd:complexContent>
<xsd:extension base="wsbf:BaseFaultType"/>
</xsd:complexContent>
</xsd:complexType>
<xsd:element name="UnsupportedMemberInterfaceFault"
type="wssg:UnsupportedMemberInterfaceFaultType"/>
<xsd:complexType name="AddRefusedFaultType">
<xsd:complexContent>
<xsd:extension base="wsbf:BaseFaultType"/>
</xsd:complexContent>
</xsd:complexType>
<xsd:element name="AddRefusedFault"
type="wssg:AddRefusedFaultType"/>
</xsd:schema>
</wsdl:types>
<!-- ==================== Message Definitions ===================== -->
<!-- =============== ServiceGroupRegistration::Add ================
Add(MemberEPR, Content, [InitialTerminationTime])
returns: EPR to ServiceGroupEntry
-->
<wsdl:message name="AddRequest">
<wsdl:part name="AddRequest" element="wssg:Add"/>
</wsdl:message>
<wsdl:message name="AddResponse">
<wsdl:part name="AddResponse" element="wssg:AddResponse"/>
</wsdl:message>
<wsdl:message name="ContentCreationFailedFault">
<wsdl:part name="ContentCreationFailedFault"
element="wssg:ContentCreationFailedFault" />
</wsdl:message>
<wsdl:message name="UnsupportedMemberInterfaceFault">
<wsdl:part name="UnsupportedMemberInterfaceFault"
element="wssg:UnsupportedMemberInterfaceFault" />
</wsdl:message>
<wsdl:message name="AddRefusedFault">
<wsdl:part name="AddRefusedFault"
element="wssg:AddRefusedFault" />
</wsdl:message>
<!-- =================== PortType Definitions ===================== -->
<wsdl:portType name="ServiceGroup"
wsrp:ResourceProperties="wssg:ServiceGroupRP">
<!-- ========== extends wsrp:ResourceProperties ============= -->
<wsdl:operation name="GetResourceProperty">
<wsdl:input name="GetResourcePropertyRequest"
message="wsrpw:GetResourcePropertyRequest"
wsa:Action="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceProperties/GetResourceProperty"/>
<wsdl:output name="GetResourcePropertyResponse"
message="wsrpw:GetResourcePropertyResponse"
wsa:Action="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceProperties/GetResourcePropertyResponse"/>
<wsdl:fault name="ResourceUnknownFault"
message="wsrpw:ResourceUnknownFault" />
<wsdl:fault name="InvalidResourcePropertyQNameFault"
message="wsrpw:InvalidResourcePropertyQNameFault" />
</wsdl:operation>
</wsdl:portType>
<wsdl:portType name="ServiceGroupEntry"
wsrp:ResourceProperties="wssg:ServiceGroupEntryRP">
<!-- ========== extends wsrp:ResourceProperties ============= -->
<wsdl:operation name="GetResourceProperty">
<wsdl:input name="GetResourcePropertyRequest"
message="wsrpw:GetResourcePropertyRequest"
wsa:Action="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceProperties/GetResourceProperty"/>
<wsdl:output name="GetResourcePropertyResponse"
message="wsrpw:GetResourcePropertyResponse"
wsa:Action="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceProperties/GetResourcePropertyResponse"/>
<wsdl:fault name="ResourceUnknownFault"
message="wsrpw:ResourceUnknownFault" />
<wsdl:fault name="InvalidResourcePropertyQNameFault"
message="wsrpw:InvalidResourcePropertyQNameFault" />
</wsdl:operation>
</wsdl:portType>
<wsdl:portType name="ServiceGroupRegistration"
wsrp:ResourceProperties="wssg:ServiceGroupRP">
<!-- ========== extends wsrp:ResourceProperties ============= -->
<wsdl:operation name="GetResourceProperty">
<wsdl:input name="GetResourcePropertyRequest"
message="wsrpw:GetResourcePropertyRequest"
wsa:Action="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceProperties/GetResourceProperty"/>
<wsdl:output name="GetResourcePropertyResponse"
message="wsrpw:GetResourcePropertyResponse"
wsa:Action="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceProperties/GetResourcePropertyResponse"/>
<wsdl:fault name="ResourceUnknownFault"
message="wsrpw:ResourceUnknownFault" />
<wsdl:fault name="InvalidResourcePropertyQNameFault"
message="wsrpw:InvalidResourcePropertyQNameFault" />
</wsdl:operation>
<wsdl:operation name="Add">
<wsdl:input name="AddRequest"
message="wssgw:AddRequest"
wsa:Action="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ServiceGroup-1.2/Add"/>
<wsdl:output name="AddResponse"
message="wssgw:AddResponse"
wsa:Action="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ServiceGroup-1.2/AddResponse"/>
<wsdl:fault name="ContentCreationFailedFault"
message="wssgw:ContentCreationFailedFault"/>
<wsdl:fault name="UnsupportedMemberInterfaceFault"
message="wssgw:UnsupportedMemberInterfaceFault"/>
<wsdl:fault name="AddRefusedFault"
message="wssgw:AddRefusedFault"/>
</wsdl:operation>
</wsdl:portType>
</wsdl:definitions>

View File

@ -0,0 +1,119 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
OASIS takes no position regarding the validity or scope of any intellectual property or other rights that might be claimed to pertain to the implementation or use of the technology described in this document or the extent to which any license under such rights might or might not be available; neither does it represent that it has made any effort to identify any such rights. Information on OASIS's procedures with respect to rights in OASIS specifications can be found at the OASIS website. Copies of claims of rights made available for publication and any assurances of licenses to be made available, or the result of an attempt made to obtain a general license or permission for the use of such proprietary rights by implementors or users of this specification, can be obtained from the OASIS Executive Director.
OASIS invites any interested party to bring to its attention any copyrights, patents or patent applications, or other proprietary rights which may cover technology that may be required to implement this specification. Please address the information to the OASIS Executive Director.
Copyright (C) OASIS Open (2004). All Rights Reserved.
This document and translations of it may be copied and furnished to others, and derivative works that comment on or otherwise explain it or assist in its implementation may be prepared, copied, published and distributed, in whole or in part, without restriction of any kind, provided that the above copyright notice and this paragraph are included on all such copies and derivative works. However, this document itself may not be modified in any way, such as by removing the copyright notice or references to OASIS, except as needed for the purpose of developing OASIS specifications, in which case the procedures for copyrights defined in the OASIS Intellectual Property Rights document must be followed, or as required to translate it into languages other than English.
The limited permissions granted above are perpetual and will not be revoked by OASIS or its successors or assigns.
This document and the information contained herein is provided on an "AS IS" basis and OASIS DISCLAIMS ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTY THAT THE USE OF THE INFORMATION HEREIN WILL NOT INFRINGE ANY RIGHTS OR ANY IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.
-->
<xsd:schema
xmlns="http://www.w3.org/2001/XMLSchema"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:wsrp=
"http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceProperties-1.2-draft-01.xsd"
xmlns:wssg=
"http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ServiceGroup-1.2-draft-01.xsd"
xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/03/addressing"
elementFormDefault="qualified" attributeFormDefault="unqualified"
targetNamespace=
"http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ServiceGroup-1.2-draft-01.xsd" >
<!-- ======================== Imports ============================ -->
<xsd:import
namespace="http://schemas.xmlsoap.org/ws/2004/03/addressing"
schemaLocation="../../ws/addressing/WS-Addressing.xsd" />
<xsd:import
namespace="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceProperties-1.2-draft-01.xsd"
schemaLocation="../properties/WS-ResourceProperties.xsd" />
<!-- =============== Resource Property Related =================== -->
<!-- ============ Resource Properties for ServiceGroup ============ -->
<xsd:simpleType name="ContentElementsType">
<xsd:list itemType="xsd:QName"/>
</xsd:simpleType>
<xsd:element name="MembershipContentRule">
<xsd:complexType>
<xsd:attribute name="MemberInterface" type="xsd:QName"/>
<xsd:attribute name="ContentElements"
type="wssg:ContentElementsType"
use="required"/>
</xsd:complexType>
</xsd:element>
<xsd:complexType name="EntryType">
<xsd:sequence>
<xsd:element name="ServiceGroupEntryEPR"
type="wsa:EndpointReferenceType"
minOccurs="1" maxOccurs="1"
nillable="true"/>
<xsd:element name="MemberServiceEPR"
type="wsa:EndpointReferenceType"
minOccurs="1" maxOccurs="1"/>
<xsd:element name="Content"
type="xsd:anyType"
minOccurs="0" maxOccurs="1"/>
</xsd:sequence>
</xsd:complexType>
<!-- ========== Resource Properties for ServiceGroupEntry ========= -->
<xsd:element name="Entry"
type="wssg:EntryType"/>
<xsd:element name="Content"
type="xsd:anyType"/>
<xsd:element name="MemberEPR"
type="wsa:EndpointReferenceType"/>
<xsd:element name="ServiceGroupEPR"
type="wsa:EndpointReferenceType"/>
<!-- = Messages Related to ServiceGroup Change Notification ======= -->
<xsd:complexType name="ServiceGroupModificationNotificationType">
<xsd:sequence>
<xsd:element name="ServiceGroupEntryEPR"
type="wsa:EndpointReferenceType"
minOccurs="1" maxOccurs="1"
nillable="true"/>
<xsd:element name="MemberServiceEPR"
type="wsa:EndpointReferenceType"
minOccurs="1" maxOccurs="1"/>
<xsd:element name="Content"
type="xsd:anyType"
minOccurs="0" maxOccurs="1"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="ServiceGroupRemovalNotificationType">
<xsd:complexContent>
<xsd:extension
base="wssg:ServiceGroupModificationNotificationType">
<xsd:sequence>
<xsd:element name="Reason"
type="xsd:string"
minOccurs="0" maxOccurs="1"/>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:element name="EntryAdditionNotification"
type="wssg:ServiceGroupModificationNotificationType" />
<xsd:element name="EntryRemovalNotification"
type="wssg:ServiceGroupRemovalNotificationType" />
</xsd:schema>

View File

@ -0,0 +1,76 @@
<?xml version="1.0" encoding="UTF-8"?>
<wsdl:definitions name="ServiceGroup" targetNamespace="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ServiceGroup-1.2-draft-01.wsdl/bindings" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:porttype="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ServiceGroup-1.2-draft-01.wsdl" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/">
<wsdl:import namespace="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ServiceGroup-1.2-draft-01.wsdl" location="WS-ServiceGroup.wsdl"/>
<wsdl:binding name="ServiceGroupEntrySOAPBinding" type="porttype:ServiceGroupEntry">
<soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
<wsdl:operation name="GetResourceProperty">
<soap:operation soapAction="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceProperties/GetResourceProperty"/>
<wsdl:input>
<soap:body use="literal"/>
</wsdl:input>
<wsdl:output>
<soap:body use="literal"/>
</wsdl:output>
<wsdl:fault name="InvalidResourcePropertyQNameFault">
<soap:fault name="InvalidResourcePropertyQNameFault" use="literal"/>
</wsdl:fault>
<wsdl:fault name="ResourceUnknownFault">
<soap:fault name="ResourceUnknownFault" use="literal"/>
</wsdl:fault>
</wsdl:operation>
</wsdl:binding>
<wsdl:binding name="ServiceGroupSOAPBinding" type="porttype:ServiceGroup">
<soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
<wsdl:operation name="GetResourceProperty">
<soap:operation soapAction="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceProperties/GetResourceProperty"/>
<wsdl:input>
<soap:body use="literal"/>
</wsdl:input>
<wsdl:output>
<soap:body use="literal"/>
</wsdl:output>
<wsdl:fault name="InvalidResourcePropertyQNameFault">
<soap:fault name="InvalidResourcePropertyQNameFault" use="literal"/>
</wsdl:fault>
<wsdl:fault name="ResourceUnknownFault">
<soap:fault name="ResourceUnknownFault" use="literal"/>
</wsdl:fault>
</wsdl:operation>
</wsdl:binding>
<wsdl:binding name="ServiceGroupRegistrationSOAPBinding" type="porttype:ServiceGroupRegistration">
<soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
<wsdl:operation name="GetResourceProperty">
<soap:operation soapAction="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceProperties/GetResourceProperty"/>
<wsdl:input>
<soap:body use="literal"/>
</wsdl:input>
<wsdl:output>
<soap:body use="literal"/>
</wsdl:output>
<wsdl:fault name="InvalidResourcePropertyQNameFault">
<soap:fault name="InvalidResourcePropertyQNameFault" use="literal"/>
</wsdl:fault>
<wsdl:fault name="ResourceUnknownFault">
<soap:fault name="ResourceUnknownFault" use="literal"/>
</wsdl:fault>
</wsdl:operation>
<wsdl:operation name="Add">
<soap:operation soapAction="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ServiceGroup-1.2/Add"/>
<wsdl:input>
<soap:body use="literal"/>
</wsdl:input>
<wsdl:output>
<soap:body use="literal"/>
</wsdl:output>
<wsdl:fault name="ContentCreationFailedFault">
<soap:fault name="ContentCreationFailedFault" use="literal"/>
</wsdl:fault>
<wsdl:fault name="UnsupportedMemberInterfaceFault">
<soap:fault name="UnsupportedMemberInterfaceFault" use="literal"/>
</wsdl:fault>
<wsdl:fault name="AddRefusedFault">
<soap:fault name="AddRefusedFault" use="literal"/>
</wsdl:fault>
</wsdl:operation>
</wsdl:binding>
</wsdl:definitions>

View File

@ -0,0 +1,15 @@
<?xml version="1.0" encoding="UTF-8"?>
<wsdl:definitions name="ServiceGroup" targetNamespace="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ServiceGroup-1.2-draft-01.wsdl/service" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:binding="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ServiceGroup-1.2-draft-01.wsdl/bindings">
<wsdl:import namespace="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ServiceGroup-1.2-draft-01.wsdl/bindings" location="WS-ServiceGroup_bindings.wsdl"/>
<wsdl:service name="ServiceGroupService">
<wsdl:port name="ServiceGroupEntryPort" binding="binding:ServiceGroupEntrySOAPBinding">
<soap:address location="http://localhost:8080/wsrf/services/"/>
</wsdl:port>
<wsdl:port name="ServiceGroupPort" binding="binding:ServiceGroupSOAPBinding">
<soap:address location="http://localhost:8080/wsrf/services/"/>
</wsdl:port>
<wsdl:port name="ServiceGroupRegistrationPort" binding="binding:ServiceGroupRegistrationSOAPBinding">
<soap:address location="http://localhost:8080/wsrf/services/"/>
</wsdl:port>
</wsdl:service>
</wsdl:definitions>

View File

@ -80,6 +80,19 @@
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="updateResourcesParameters">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="software" type="tns:SoftwareList" minOccurs="0" maxOccurs="1"/>
<xsd:element name="newSoftware" type="tns:SoftwareList" minOccurs="0" maxOccurs="1"/>
<xsd:element name="resources" type="tns:ResourceList" minOccurs="0" maxOccurs="1"/>
<xsd:element name="newResources" type="tns:ResourceList" minOccurs="0" maxOccurs="1"/>
<xsd:element ref="tns:targetScope"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="removeResourcesParameters">
<xsd:complexType>
@ -126,6 +139,9 @@
<message name="AddResourcesInputMessage">
<part name="request" element="tns:addResourcesParameters"/>
</message>
<!--message name="UpdateResourcesInputMessage">
<part name="request" element="tns:addResourcesParameters"/>
</message-->
<message name="ReportID">
<part name="request" element="tns:reportID"/>
</message>
@ -163,6 +179,14 @@
<fault name="fault" message="tns:ResourcesRemovalFaultMessage"/>
<fault name="fault1" message="tns:InvalidScopeFaultMessage"/>
</operation>
<!--operation name="UpdateResources">
<input message="tns:UpdateResourcesInputMessage"/>
<output message="tns:ReportID"/>
<fault name="fault" message="tns:ResourcesCreationFaultMessage"/>
<fault name="fault1" message="tns:InvalidScopeFaultMessage"/>
</operation-->
</portType>