Author: scamp
Date: Tue Mar 22 09:23:21 2005
New Revision: 158628
URL: http://svn.apache.org/viewcvs?view=rev&rev=158628
Log: (empty)
Added:
incubator/muse/trunk/src/site/content/interop/build.properties
incubator/muse/trunk/src/site/content/interop/build.xml
Modified:
incubator/muse/trunk/muws-xbeans/src/wsdl/wsdm/MOWS-1_0.wsdl
incubator/muse/trunk/src/site/content/interop/src/wsdl/blackberry.wsdl
incubator/muse/trunk/src/site/content/interop/src/wsdl/ipmiserver.wsdl
incubator/muse/trunk/src/site/content/interop/src/wsdl/mowsfactoryservice.wsdl
incubator/muse/trunk/src/site/content/interop/src/wsdl/weatherstation.wsdl
Modified: incubator/muse/trunk/muws-xbeans/src/wsdl/wsdm/MOWS-1_0.wsdl
URL:
http://svn.apache.org/viewcvs/incubator/muse/trunk/muws-xbeans/src/wsdl/wsdm/MOWS-1_0.wsdl?view=diff&r1=158627&r2=158628
==============================================================================
--- incubator/muse/trunk/muws-xbeans/src/wsdl/wsdm/MOWS-1_0.wsdl (original)
+++ incubator/muse/trunk/muws-xbeans/src/wsdl/wsdm/MOWS-1_0.wsdl Tue Mar 22
09:23:21 2005
@@ -3,7 +3,7 @@
<types>
<xs:schema elementFormDefault="qualified"
targetNamespace="http://docs.oasis-open.org/wsdm/2004/12/mows/wsdm-mows.wsdl">
- <xs:import
namespace="http://docs.oasis-open.org/wsdm/2004/12/mows/wsdm-mows.xsd"
schemaLocation="../spec/wsdm/MOWS-1_0.wsdl"/>
+ <xs:import
namespace="http://docs.oasis-open.org/wsdm/2004/12/mows/wsdm-mows.xsd"
schemaLocation="MOWS-1_0.xsd"/>
</xs:schema>
</types>
Added: incubator/muse/trunk/src/site/content/interop/build.properties
URL:
http://svn.apache.org/viewcvs/incubator/muse/trunk/src/site/content/interop/build.properties?view=auto&rev=158628
==============================================================================
--- incubator/muse/trunk/src/site/content/interop/build.properties (added)
+++ incubator/muse/trunk/src/site/content/interop/build.properties Tue Mar 22
09:23:21 2005
@@ -0,0 +1,12 @@
+base.url=http://localhost:8080/wsdm/services/
+
+
+# Uncomment and modify the below lines if you would like to deploy to a
+# wsdm webapp located somewhere other than the default location of
+# ../webapps/wsdm (e.g. ${env.CATALINA_HOME}/webapps/wsdm)
+wsdm.webapp.dir=${env.CATALINA_HOME}/webapps/wsdm
+
+# Uncomment and modify the below lines if you require a proxy to connect to
external web sites
+#http.proxyHost=proxy.xyz.com
+#http.proxyPort=8088
+#http.nonProxyHosts=localhost
Added: incubator/muse/trunk/src/site/content/interop/build.xml
URL:
http://svn.apache.org/viewcvs/incubator/muse/trunk/src/site/content/interop/build.xml?view=auto&rev=158628
==============================================================================
--- incubator/muse/trunk/src/site/content/interop/build.xml (added)
+++ incubator/muse/trunk/src/site/content/interop/build.xml Tue Mar 22 09:23:21
2005
@@ -0,0 +1,133 @@
+<?xml version="1.0"?>
+
+<project name="interop_buildfile" default="usage" basedir=".">
+
+ <property environment="env" />
+ <property file="build.properties" />
+ <property file="../build.properties" />
+
+ <!-- workaround for those IDEs that dont set ant.home as per the ant script
-->
+ <property name="ant.home" value="env.ANT_HOME"/>
+
+ <property name="endpoint.url" value="${base.url}/PrinterPort" />
+
+ <property name="classes.dir" location="${basedir}\classes" />
+ <property name="jar.dir" location="${basedir}\lib" />
+ <property name="src.dir" location="${basedir}\src\java" />
+ <property name="wsdl.dir" location="${basedir}\src\wsdl" />
+
+
+ <target name="init" unless="muse.classpath">
+
+ <fail message="Please set the location of the wsdm.webapp.dir in
build.properties" unless="wsdm.webapp.dir" />
+ <echo>Using webapp dir: ${wsdm.webapp.dir}</echo>
+ <path id="muse.classpath.id">
+ <pathelement location="${wsdm.webapp.dir}/WEB-INF/classes" />
+ <fileset dir="${wsdm.webapp.dir}/WEB-INF/lib" includes="*.jar" />
+ <fileset dir="${jar.dir}" />
+ <pathelement location="${activation.jar}" />
+ <pathelement location="${mail.jar}" />
+ </path>
+ <property name="muse.classpath" refid="muse.classpath.id" />
+
+ </target>
+
+
+ <target name="generate"
+ depends="init"
+ description="generate Axis service classes and XMLBeans types
for the filesystem WSDL">
+
+ <property name="tmp.dir" location="${wsdm.webapp.dir}/_tmp_" />
+ <mkdir dir="${tmp.dir}" />
+ <copy todir="${tmp.dir}" includes="**/*" overwrite="true">
+ <fileset dir="${wsdl.dir}" />
+ </copy>
+ <mkdir dir="${wsdm.webapp.dir}/wsdl" />
+
+
+ <taskdef name="wsdl2Java"
classname="org.apache.ws.resource.tool.Wsdl2JavaTask"
classpath="${muse.classpath}" />
+
+ <wsdl2Java outputDir="${out.dir}"
+ classpath="${muse.classpath}"
+ debug="off"
+ proxyHost="${http.proxyHost}"
+ proxyPort="${http.proxyPort}"
+ nonProxyHosts="${http.nonProxyHosts}">
+ <wsdls dir="${tmp.dir}">
+ <include name="**/*.wsdl" />
+ </wsdls>
+ </wsdl2Java>
+
+ <delete dir="${tmp.dir}" />
+
+ </target>
+
+
+ <target name="compile"
+ depends="init"
+ description="compile all classes below classes directory">
+ <mkdir dir="${classes.dir}" />
+ <javac srcdir="${src.dir}"
+ destdir="${classes.dir}"
+ classpathref="muse.classpath.id"
+ debug="on"
+ excludes="xmlbeans/**"/>
+ <copy todir="${classes.dir}">
+ <fileset dir="${src.dir}" excludes="**/*.java,**/package.html" />
+ </copy>
+ </target>
+
+ <target name="deploy"
+ depends="init"
+ description="deploys the JobPort service to the wsdm webapp">
+
+ <copy todir="${wsdm.webapp.dir}/WEB-INF/classes/wsdl"
includes="**/*.wsdl" overwrite="true" verbose="true">
+ <fileset dir="${wsdl.dir}"/>
+ </copy>
+ <mkdir dir="${wsdm.webapp.dir}/wsdl" />
+ <copy todir="${wsdm.webapp.dir}/wsdl" includes="**/*.xsd"
overwrite="true" verbose="true">
+ <fileset dir="${wsdl.dir}"/>
+ </copy>
+ <echo>Deploying classes to ${wsdm.webapp.dir}/WEB-INF/classes/...</echo>
+ <copy todir="${wsdm.webapp.dir}/WEB-INF/classes" overwrite="true"
verbose="true" >
+ <fileset dir="${classes.dir}" />
+ </copy>
+
+ <copy file="${jar.dir}/**/*.jar" todir="${wsdm.webapp.dir}/WEB-INF/lib"
/>
+ <!-- update server-config.wsdd using WsddUpdater -->
+ <taskdef name="wsddUpdater"
classname="org.apache.ws.util.platform.axis.tool.WsddUpdater"
classpathref="muse.classpath.id" />
+ <property name="config.wsdd"
location="${wsdm.webapp.dir}/WEB-INF/server-config.wsdd" /> <!-- normalize
path -->
+ <wsddUpdater configWsdd="${config.wsdd}">
+ <wsddPaths dir="${src.dir}" includes="**/*.wsdd" />
+ </wsddUpdater>
+
+ <!-- update jndi-config.wsdd using JndiConfigUpdater -->
+ <taskdef name="jndiUpdater"
classname="org.apache.ws.util.jndi.tools.JndiConfigUpdater"
classpathref="muse.classpath.id" />
+ <property name="jndi.config"
location="${wsdm.webapp.dir}/WEB-INF/classes/jndi-config.xml" /> <!--
normalize path -->
+ <jndiUpdater jndiConfig="${jndi.config}">
+ <jndiConfigPaths dir="${src.dir}" includes="**/*-config.xml" />
+ </jndiUpdater>
+
+ </target>
+
+ <target name="sendRequest"
+ description="sends a request to the service">
+ <ant antfile="soapclient.xml">
+ <property name="url" value="${endpoint.url}" />
+ </ant>
+
+ </target>
+
+ <target name="clean" description="delete the class files">
+ <delete dir="${classes.dir}" />
+ </target>
+
+ <target name="usage">
+ <java classname="org.apache.tools.ant.Main">
+ <arg value="-buildfile" />
+ <arg value="${ant.file}" />
+ <arg value="-projecthelp" />
+ </java>
+ </target>
+
+</project>
Modified: incubator/muse/trunk/src/site/content/interop/src/wsdl/blackberry.wsdl
URL:
http://svn.apache.org/viewcvs/incubator/muse/trunk/src/site/content/interop/src/wsdl/blackberry.wsdl?view=diff&r1=158627&r2=158628
==============================================================================
--- incubator/muse/trunk/src/site/content/interop/src/wsdl/blackberry.wsdl
(original)
+++ incubator/muse/trunk/src/site/content/interop/src/wsdl/blackberry.wsdl Tue
Mar 22 09:23:21 2005
@@ -0,0 +1,165 @@
+<definitions xmlns:tns="http://ws.apache.org/resource/example/blackberry"
xmlns="http://schemas.xmlsoap.org/wsdl/"
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:muws-xs1="http://docs.oasis-open.org/wsdm/2004/12/muws/wsdm-muws-part1.xsd"
xmlns:muws-xs2="http://docs.oasis-open.org/wsdm/2004/12/muws/wsdm-muws-part2.xsd"
xmlns:muws-wsdl2="http://docs.oasis-open.org/wsdm/2004/12/muws/wsdm-muws-part2.wsdl"
xmlns:muws-events="http://docs.oasis-open.org/wsdm/2004/12/muws/wsdm-muws-part2-events.xml
" xmlns:mows-xs="http://docs.oasis-open.org/wsdm/2004/12/mows/wsdm-mows.xsd"
xmlns:mows-wsdl="http://docs.oasis-open.org/wsdm/2004/12/mows/wsdm-mows.wsdl"
xmlns:mows-events="http://docs.oasis-open.org/wsdm/2004/12/mows/wsdm-mows-events.xml"
xmlns:wsa0="http://schemas.xmlsoap.org/ws/2004/03/addressing"
xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing"
xmlns:S="http://www.w3.org/2002/12/soap-envelope"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:wsrf-rp="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"
xmlns:wsws-xs="http://everest-weather.org/wsdm/samples/2005/04/schema"
+xmlns:wsntw="http://docs.oasis-open.org/wsn/2004/06/wsn-WS-BaseNotification-1.2-draft-01.wsdl"
+xmlns:wsrpw="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceProperties-1.2-draft-01.wsdl"
+xmlns:bbry="http://pda.rim"
+
+targetNamespace="http://ws.apache.org/resource/example/blackberry"
name="Blackberry">
+ <import
namespace="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceProperties-1.2-draft-01.wsdl"
location="../spec/wsrf/WS-ResourceProperties-1_2-Draft_01.wsdl"/>
+ <import
namespace="http://docs.oasis-open.org/wsn/2004/06/wsn-WS-BaseNotification-1.2-draft-01.wsdl"
location="../spec/wsn/WS-BaseNotification-1_2-Draft_01.wsdl"/>
+
+ <types>
+ <schema elementFormDefault="qualified"
targetNamespace="http://ws.apache.org/resource/example/blackberry"
xmlns="http://www.w3.org/2001/XMLSchema"
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
+ <import
namespace="http://docs.oasis-open.org/wsdm/2004/12/muws/wsdm-muws-part1.xsd"
schemaLocation="../spec/wsdm/MUWS-Part1-1_0.xsd"/>
+ <import
namespace="http://docs.oasis-open.org/wsdm/2004/12/muws/wsdm-muws-part2.xsd"
schemaLocation="../spec/wsdm/MUWS-Part2-1_0.xsd"/>
+ <import namespace="http://pda.rim"
schemaLocation="manageable_resource.xsd"/>
+
+ <!-- Resource Properties Document Schema -->
+ <element name="BlackberryProperties">
+ <complexType>
+ <sequence>
+ <!--common props -->
+ <element ref="muws-xs1:ResourceId"/>
+ <element
ref="muws-xs1:ManageabilityCapability" minOccurs="0" maxOccurs="unbounded"/>
+ <element
ref="muws-xs2:OperationalStatus"/>
+ <!-- other props -->
+ <element ref="muws-xs2:CurrentTime"/>
+ <element ref="bbry:AllocatedStorage"/>
+ <element ref="bbry:FreeStorage"/>
+ <element
ref="bbry:TotalCodeModuleSize"/>
+ <element ref="bbry:CurrentTime"/>
+ <element ref="bbry:Date"/>
+ <element ref="bbry:Time"/>
+
+ </sequence>
+ </complexType>
+ </element>
+ </schema>
+ </types>
+ <portType name="BlackberryPortType"
wsrf-rp:ResourceProperties="tns:BlackberryProperties">
+ <!-- wsrp:* operations -->
+ <operation name="GetResourceProperty">
+ <input name="GetResourcePropertyRequest"
message="wsrpw:GetResourcePropertyRequest"/>
+ <output name="GetResourcePropertyResponse"
message="wsrpw:GetResourcePropertyResponse"/>
+ <fault name="ResourceUnknownFault"
message="wsrpw:ResourceUnknownFault"/>
+ <fault name="InvalidResourcePropertyQNameFault"
message="wsrpw:InvalidResourcePropertyQNameFault"/>
+ </operation>
+ <operation name="SetResourceProperties">
+ <input name="SetResourcePropertiesRequest"
message="wsrpw:SetResourcePropertiesRequest"/>
+ <output name="SetResourcePropertiesResponse"
message="wsrpw:SetResourcePropertiesResponse"/>
+ <fault name="ResourceUnknownFault"
message="wsrpw:ResourceUnknownFault"/>
+ <fault name="InvalidResourcePropertyQNameFault"
message="wsrpw:InvalidResourcePropertyQNameFault"/>
+ <fault
name="InvalidSetResourcePropertiesRequestContentFault"
message="wsrpw:InvalidSetResourcePropertiesRequestContentFault"/>
+ <fault name="UnableToModifyResourcePropertyFault"
message="wsrpw:UnableToModifyResourcePropertyFault"/>
+ <fault name="SetResourcePropertyRequestFailedFault"
message="wsrpw:SetResourcePropertyRequestFailedFault"/>
+ </operation>
+ <!-- wsntw:NotificationProducer operations -->
+ <operation name="Subscribe">
+ <input message="wsntw:SubscribeRequest"/>
+ <output message="wsntw:SubscribeResponse"/>
+ <fault name="ResourceUnknownFault"
message="wsntw:ResourceUnknownFault"/>
+ <fault name="SubscribeCreationFailedFault"
message="wsntw:SubscribeCreationFailedFault"/>
+ <fault name="TopicPathDialectUnknownFault"
message="wsntw:TopicPathDialectUnknownFault"/>
+ </operation>
+ <operation name="GetCurrentMessage">
+ <input message="wsntw:GetCurrentMessageRequest"/>
+ <output message="wsntw:GetCurrentMessageResponse"/>
+ <fault name="ResourceUnknownFault"
message="wsntw:ResourceUnknownFault"/>
+ <fault name="InvalidTopicExpressionFault"
message="wsntw:InvalidTopicExpressionFault"/>
+ <fault name="TopicNotSupportedFault"
message="wsntw:TopicNotSupportedFault"/>
+ <fault name="NoCurrentMessageOnTopicFault"
message="wsntw:NoCurrentMessageOnTopicFault"/>
+ </operation>
+
+ </portType>
+ <binding name="BlackberrySoapHttpBinding" type="tns:BlackberryPortType">
+ <soap:binding style="document"
transport="http://schemas.xmlsoap.org/soap/http"/>
+ <!-- wsrpw:* operations -->
+ <operation name="GetResourceProperty">
+ <soap:operation style="document"/>
+ <input>
+ <soap:body use="literal"/>
+ </input>
+ <output>
+ <soap:body use="literal"/>
+ </output>
+ <fault name="ResourceUnknownFault">
+ <soap:fault name="ResourceUnknownFault"
use="literal"/>
+ </fault>
+ <fault name="InvalidResourcePropertyQNameFault">
+ <soap:fault
name="InvalidResourcePropertyQNameFault" use="literal"/>
+ </fault>
+ </operation>
+ <operation name="SetResourceProperties">
+ <soap:operation style="document"/>
+ <input>
+ <soap:body use="literal"/>
+ </input>
+ <output>
+ <soap:body use="literal"/>
+ </output>
+ <fault name="ResourceUnknownFault">
+ <soap:fault name="ResourceUnknownFault"
use="literal"/>
+ </fault>
+ <fault name="InvalidResourcePropertyQNameFault">
+ <soap:fault
name="InvalidResourcePropertyQNameFault" use="literal"/>
+ </fault>
+ <fault name="UnableToModifyResourcePropertyFault">
+ <soap:fault
name="UnableToModifyResourcePropertyFault" use="literal"/>
+ </fault>
+ <fault
name="InvalidSetResourcePropertiesRequestContentFault">
+ <soap:fault
name="InvalidSetResourcePropertiesRequestContentFault" use="literal"/>
+ </fault>
+ <fault name="SetResourcePropertyRequestFailedFault">
+ <soap:fault
name="SetResourcePropertyRequestFailedFault" use="literal"/>
+ </fault>
+ </operation>
+ <!-- wsntw:NotificationProducer operations -->
+ <operation name="Subscribe">
+ <soap:operation style="document"/>
+ <input>
+ <soap:body use="literal"/>
+ </input>
+ <output>
+ <soap:body use="literal"/>
+ </output>
+ <fault name="ResourceUnknownFault">
+ <soap:fault name="ResourceUnknownFault"
use="literal"/>
+ </fault>
+ <fault name="SubscribeCreationFailedFault">
+ <soap:fault name="SubscribeCreationFailedFault"
use="literal"/>
+ </fault>
+ <fault name="TopicPathDialectUnknownFault">
+ <soap:fault name="TopicPathDialectUnknownFault"
use="literal"/>
+ </fault>
+ </operation>
+ <operation name="GetCurrentMessage">
+ <soap:operation style="document"/>
+ <input>
+ <soap:body use="literal"/>
+ </input>
+ <output>
+ <soap:body use="literal"/>
+ </output>
+ <fault name="ResourceUnknownFault">
+ <soap:fault name="ResourceUnknownFault"
use="literal"/>
+ </fault>
+ <fault name="InvalidTopicExpressionFault">
+ <soap:fault name="InvalidTopicExpressionFault"
use="literal"/>
+ </fault>
+ <fault name="TopicNotSupportedFault">
+ <soap:fault name="TopicPathDialectUnknownFault"
use="literal"/>
+ </fault>
+ <fault name="NoCurrentMessageOnTopicFault">
+ <soap:fault name="NoCurrentMessageOnTopicFault"
use="literal"/>
+ </fault>
+ </operation>
+
+ </binding>
+ <service name="Blackberry">
+ <!-- Note: the port name becomes the service name in the wsdd
generated by Axis Wsdl2Java -->
+ <port name="blackberry"
binding="tns:WeatherStationSoapHttpBinding">
+ <soap:address
location="http://localhost:8080/wsrf/services/blackberry"/>
+ </port>
+ </service>
+ <!-- ============= Message Definitions for Custom Operations
============= -->
+</definitions>
+
Modified: incubator/muse/trunk/src/site/content/interop/src/wsdl/ipmiserver.wsdl
URL:
http://svn.apache.org/viewcvs/incubator/muse/trunk/src/site/content/interop/src/wsdl/ipmiserver.wsdl?view=diff&r1=158627&r2=158628
==============================================================================
--- incubator/muse/trunk/src/site/content/interop/src/wsdl/ipmiserver.wsdl
(original)
+++ incubator/muse/trunk/src/site/content/interop/src/wsdl/ipmiserver.wsdl Tue
Mar 22 09:23:21 2005
@@ -0,0 +1,181 @@
+<definitions xmlns:tns="http://ws.apache.org/resource/example/ipmiserver"
xmlns="http://schemas.xmlsoap.org/wsdl/"
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:muws-xs1="http://docs.oasis-open.org/wsdm/2004/12/muws/wsdm-muws-part1.xsd"
xmlns:muws-xs2="http://docs.oasis-open.org/wsdm/2004/12/muws/wsdm-muws-part2.xsd"
xmlns:muws-wsdl2="http://docs.oasis-open.org/wsdm/2004/12/muws/wsdm-muws-part2.wsdl"
xmlns:muws-events="http://docs.oasis-open.org/wsdm/2004/12/muws/wsdm-muws-part2-events.xml
" xmlns:mows-xs="http://docs.oasis-open.org/wsdm/2004/12/mows/wsdm-mows.xsd"
xmlns:mows-wsdl="http://docs.oasis-open.org/wsdm/2004/12/mows/wsdm-mows.wsdl"
xmlns:mows-events="http://docs.oasis-open.org/wsdm/2004/12/mows/wsdm-mows-events.xml"
xmlns:wsa0="http://schemas.xmlsoap.org/ws/2004/03/addressing"
xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing"
xmlns:S="http://www.w3.org/2002/12/soap-envelope"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:wsrf-rp="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"
xmlns:wsws-xs="http://everest-weather.org/wsdm/samples/2005/04/schema"
+xmlns:wsntw="http://docs.oasis-open.org/wsn/2004/06/wsn-WS-BaseNotification-1.2-draft-01.wsdl"
+xmlns:wsrpw="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceProperties-1.2-draft-01.wsdl"
+
+targetNamespace="http://ws.apache.org/resource/example/ipmiserver"
name="IPMIServer">
+ <import
namespace="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceProperties-1.2-draft-01.wsdl"
location="../spec/wsrf/WS-ResourceProperties-1_2-Draft_01.wsdl"/>
+ <import
namespace="http://docs.oasis-open.org/wsn/2004/06/wsn-WS-BaseNotification-1.2-draft-01.wsdl"
location="../spec/wsn/WS-BaseNotification-1_2-Draft_01.wsdl"/>
+
+ <types>
+ <schema elementFormDefault="qualified"
targetNamespace="http://ws.apache.org/resource/example/ipmiserver"
xmlns="http://www.w3.org/2001/XMLSchema"
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
+ <import
namespace="http://docs.oasis-open.org/wsdm/2004/12/muws/wsdm-muws-part1.xsd"
schemaLocation="../spec/wsdm/MUWS-Part1-1_0.xsd"/>
+ <import
namespace="http://docs.oasis-open.org/wsdm/2004/12/muws/wsdm-muws-part2.xsd"
schemaLocation="../spec/wsdm/MUWS-Part2-1_0.xsd"/>
+ <element name="CpuUsage"/>
+ <!-- Resource Properties Document Schema -->
+ <element name="IPMIServerProperties">
+ <complexType>
+ <sequence>
+ <!--common props -->
+ <element
ref="muws-xs1:ResourceId"/>
+ <element
ref="muws-xs1:ManageabilityCapability" minOccurs="0" maxOccurs="unbounded"/>
+ <element
ref="muws-xs2:OperationalStatus"/>
+ <!-- other props -->
+ <element
ref="muws-xs2:CurrentTime"/>
+ <element ref="tns:CpuUsage"
minOccurs="0"/>
+ </sequence>
+ </complexType>
+ </element>
+ <!-- ====== Message Types for Custom Operations
======= -->
+ <element name="Reset">
+ <complexType/>
+ </element>
+ <element name="ResetResponse">
+ <complexType/>
+ </element>
+ </schema>
+ </types>
+ <message name="ResetRequest">
+ <part name="ResetRequest" element="tns:Reset"/>
+ </message>
+ <message name="ResetResponse">
+ <part name="ResetResponse" element="tns:ResetResponse"/>
+ </message>
+ <portType name="IPMIServerPortType"
wsrf-rp:ResourceProperties="tns:IPMIServerProperties">
+ <!-- wsrp:* operations -->
+ <operation name="GetResourceProperty">
+ <input name="GetResourcePropertyRequest"
message="wsrpw:GetResourcePropertyRequest"/>
+ <output name="GetResourcePropertyResponse"
message="wsrpw:GetResourcePropertyResponse"/>
+ <fault name="ResourceUnknownFault"
message="wsrpw:ResourceUnknownFault"/>
+ <fault name="InvalidResourcePropertyQNameFault"
message="wsrpw:InvalidResourcePropertyQNameFault"/>
+ </operation>
+ <operation name="SetResourceProperties">
+ <input name="SetResourcePropertiesRequest"
message="wsrpw:SetResourcePropertiesRequest"/>
+ <output name="SetResourcePropertiesResponse"
message="wsrpw:SetResourcePropertiesResponse"/>
+ <fault name="ResourceUnknownFault"
message="wsrpw:ResourceUnknownFault"/>
+ <fault name="InvalidResourcePropertyQNameFault"
message="wsrpw:InvalidResourcePropertyQNameFault"/>
+ <fault
name="InvalidSetResourcePropertiesRequestContentFault"
message="wsrpw:InvalidSetResourcePropertiesRequestContentFault"/>
+ <fault name="UnableToModifyResourcePropertyFault"
message="wsrpw:UnableToModifyResourcePropertyFault"/>
+ <fault name="SetResourcePropertyRequestFailedFault"
message="wsrpw:SetResourcePropertyRequestFailedFault"/>
+ </operation>
+ <!-- wsntw:NotificationProducer operations -->
+ <operation name="Subscribe">
+ <input message="wsntw:SubscribeRequest"/>
+ <output message="wsntw:SubscribeResponse"/>
+ <fault name="ResourceUnknownFault"
message="wsntw:ResourceUnknownFault"/>
+ <fault name="SubscribeCreationFailedFault"
message="wsntw:SubscribeCreationFailedFault"/>
+ <fault name="TopicPathDialectUnknownFault"
message="wsntw:TopicPathDialectUnknownFault"/>
+ </operation>
+ <operation name="GetCurrentMessage">
+ <input message="wsntw:GetCurrentMessageRequest"/>
+ <output message="wsntw:GetCurrentMessageResponse"/>
+ <fault name="ResourceUnknownFault"
message="wsntw:ResourceUnknownFault"/>
+ <fault name="InvalidTopicExpressionFault"
message="wsntw:InvalidTopicExpressionFault"/>
+ <fault name="TopicNotSupportedFault"
message="wsntw:TopicNotSupportedFault"/>
+ <fault name="NoCurrentMessageOnTopicFault"
message="wsntw:NoCurrentMessageOnTopicFault"/>
+ </operation>
+ <!-- custom operations -->
+ <operation name="Reset">
+ <input name="ResetRequest" message="tns:ResetRequest"/>
+ <output name="ResetResponse"
message="tns:ResetResponse"/>
+ </operation>
+ </portType>
+ <binding name="IPMIServerSoapHttpBinding" type="tns:IPMIServerPortType">
+ <soap:binding style="document"
transport="http://schemas.xmlsoap.org/soap/http"/>
+ <!-- wsrpw:* operations -->
+ <operation name="GetResourceProperty">
+ <soap:operation style="document"/>
+ <input>
+ <soap:body use="literal"/>
+ </input>
+ <output>
+ <soap:body use="literal"/>
+ </output>
+ <fault name="ResourceUnknownFault">
+ <soap:fault name="ResourceUnknownFault"
use="literal"/>
+ </fault>
+ <fault name="InvalidResourcePropertyQNameFault">
+ <soap:fault
name="InvalidResourcePropertyQNameFault" use="literal"/>
+ </fault>
+ </operation>
+ <operation name="SetResourceProperties">
+ <soap:operation style="document"/>
+ <input>
+ <soap:body use="literal"/>
+ </input>
+ <output>
+ <soap:body use="literal"/>
+ </output>
+ <fault name="ResourceUnknownFault">
+ <soap:fault name="ResourceUnknownFault"
use="literal"/>
+ </fault>
+ <fault name="InvalidResourcePropertyQNameFault">
+ <soap:fault
name="InvalidResourcePropertyQNameFault" use="literal"/>
+ </fault>
+ <fault name="UnableToModifyResourcePropertyFault">
+ <soap:fault
name="UnableToModifyResourcePropertyFault" use="literal"/>
+ </fault>
+ <fault
name="InvalidSetResourcePropertiesRequestContentFault">
+ <soap:fault
name="InvalidSetResourcePropertiesRequestContentFault" use="literal"/>
+ </fault>
+ <fault name="SetResourcePropertyRequestFailedFault">
+ <soap:fault
name="SetResourcePropertyRequestFailedFault" use="literal"/>
+ </fault>
+ </operation>
+ <!-- wsntw:NotificationProducer operations -->
+ <operation name="Subscribe">
+ <soap:operation style="document"/>
+ <input>
+ <soap:body use="literal"/>
+ </input>
+ <output>
+ <soap:body use="literal"/>
+ </output>
+ <fault name="ResourceUnknownFault">
+ <soap:fault name="ResourceUnknownFault"
use="literal"/>
+ </fault>
+ <fault name="SubscribeCreationFailedFault">
+ <soap:fault name="SubscribeCreationFailedFault"
use="literal"/>
+ </fault>
+ <fault name="TopicPathDialectUnknownFault">
+ <soap:fault name="TopicPathDialectUnknownFault"
use="literal"/>
+ </fault>
+ </operation>
+ <operation name="GetCurrentMessage">
+ <soap:operation style="document"/>
+ <input>
+ <soap:body use="literal"/>
+ </input>
+ <output>
+ <soap:body use="literal"/>
+ </output>
+ <fault name="ResourceUnknownFault">
+ <soap:fault name="ResourceUnknownFault"
use="literal"/>
+ </fault>
+ <fault name="InvalidTopicExpressionFault">
+ <soap:fault name="InvalidTopicExpressionFault"
use="literal"/>
+ </fault>
+ <fault name="TopicNotSupportedFault">
+ <soap:fault name="TopicPathDialectUnknownFault"
use="literal"/>
+ </fault>
+ <fault name="NoCurrentMessageOnTopicFault">
+ <soap:fault name="NoCurrentMessageOnTopicFault"
use="literal"/>
+ </fault>
+ </operation>
+ <operation name="Reset">
+ <soap:operation style="document"/>
+ <input>
+ <soap:body use="literal"/>
+ </input>
+ <output>
+ <soap:body use="literal"/>
+ </output>
+ </operation>
+ </binding>
+ <service name="IPMIServer">
+ <!-- Note: the port name becomes the service name in the wsdd
generated by Axis Wsdl2Java -->
+ <port name="ipmiserver" binding="tns:IPMIServerSoapHttpBinding">
+ <soap:address
location="http://localhost:8080/wsrf/services/ipmiserver"/>
+ </port>
+ </service>
+ <!-- ============= Message Definitions for Custom Operations
============= -->
+</definitions>
Modified:
incubator/muse/trunk/src/site/content/interop/src/wsdl/mowsfactoryservice.wsdl
URL:
http://svn.apache.org/viewcvs/incubator/muse/trunk/src/site/content/interop/src/wsdl/mowsfactoryservice.wsdl?view=diff&r1=158627&r2=158628
==============================================================================
---
incubator/muse/trunk/src/site/content/interop/src/wsdl/mowsfactoryservice.wsdl
(original)
+++
incubator/muse/trunk/src/site/content/interop/src/wsdl/mowsfactoryservice.wsdl
Tue Mar 22 09:23:21 2005
@@ -0,0 +1,72 @@
+<?xml version="1.0"?>
+<definitions name="MowsFactory"
targetNamespace="http://ws.apache.org/resource/example/mowsfactory"
xmlns:tns="http://ws.apache.org/resource/example/mowsfactory"
xmlns="http://www.w3.org/2002/07/wsdl"
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:muws-xs1="http://docs.oasis-open.org/wsdm/2004/12/muws/wsdm-muws-part1.xsd"
xmlns:muws-xs2="http://docs.oasis-open.org/wsdm/2004/12/muws/wsdm-muws-part2.xsd"
xmlns:mows-xs="http://docs.oasis-open.org/wsdm/2004/12/mows/wsdm-mows.xsd"
xmlns:mows-wsdl="http://docs.oasis-open.org/wsdm/2004/12/mows/wsdm-mows.wsdl"
xmlns:S="http://www.w3.org/2002/12/soap-envelope"
xmlns:wsrf-rp="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:wsntw="http://docs.oasis-open.org/wsn/2004/06/wsn-WS-BaseNotification-1.2-draft-01.wsdl"
xmlns:wsrpw="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceProperties-1.2-draft-01.wsdl"
>
+ <import
namespace="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceProperties-1.2-draft-01.wsdl"
location="../spec/wsrf/WS-ResourceProperties-1_2-Draft_01.wsdl"/>
+ <import
namespace="http://docs.oasis-open.org/wsdm/2004/12/mows/wsdm-mows.wsdl"
location="../spec/wsdm/MOWS-1_0.wsdl"/>
+ <types>
+ <schema elementFormDefault="qualified"
targetNamespace="http://ws.apache.org/resource/example/mowsfactory"
xmlns="http://www.w3.org/2001/XMLSchema"
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
+ <import
namespace="http://docs.oasis-open.org/wsdm/2004/12/muws/wsdm-muws-part1.xsd"
schemaLocation="../spec/wsdm/MUWS-Part1-1_0.xsd"/>
+ <import
namespace="http://docs.oasis-open.org/wsdm/2004/12/muws/wsdm-muws-part2.xsd"
schemaLocation="../spec/wsdm/MUWS-Part2-1_0.xsd"/>
+
+ <!-- Resource Properties Document Schema -->
+ <element name="MowsFactoryProperties">
+ <complexType>
+ <sequence>
+ <!--common props -->
+ <element
ref="muws-xs1:ResourceId"/>
+ <!-- Management Capabilities
must be defined for at least Identity and Status and Relationship and
Correlatible Props
+ MUWS2 MetricsCapability AND MOWS Metrics capability -->
+ <element
ref="muws-xs1:ManageabilityCapability" minOccurs="0" maxOccurs="unbounded"/>
+ <element
ref="muws-xs2:OperationalStatus"/>
+ </sequence>
+ </complexType>
+ </element>
+ </schema>
+ </types>
+ <portType name="MowsFactoryPortType"
wsrf-rp:ResourceProperties="tns:MowsFactoryProperties">
+ <!-- wsrp:* operations -->
+ <operation name="GetResourceProperty">
+ <input name="GetResourcePropertyRequest"
message="wsrpw:GetResourcePropertyRequest"/>
+ <output name="GetResourcePropertyResponse"
message="wsrpw:GetResourcePropertyResponse"/>
+ <fault name="ResourceUnknownFault"
message="wsrpw:ResourceUnknownFault"/>
+ <fault name="InvalidResourcePropertyQNameFault"
message="wsrpw:InvalidResourcePropertyQNameFault"/>
+ </operation>
+ <operation name="GetManageabilityReferences">
+ <input
message="mows-wsdl:GetManageabilityReferencesRequest"/>
+ <output
message="mows-wsdl:GetManageabilityReferencesResponse"/>
+ </operation>
+ </portType>
+ <binding name="MowsFactorySoapHttpBinding"
type="tns:MowsFactoryPortType">
+ <soap:binding style="document"
transport="http://schemas.xmlsoap.org/soap/http"/>
+ <!-- wsrpw:* operations -->
+ <operation name="GetResourceProperty">
+ <soap:operation style="document"/>
+ <input>
+ <soap:body use="literal"/>
+ </input>
+ <output>
+ <soap:body use="literal"/>
+ </output>
+ <fault name="ResourceUnknownFault">
+ <soap:fault name="ResourceUnknownFault"
use="literal"/>
+ </fault>
+ <fault name="InvalidResourcePropertyQNameFault">
+ <soap:fault
name="InvalidResourcePropertyQNameFault" use="literal"/>
+ </fault>
+ </operation>
+ <operation name="GetManageabilityReferences">
+ <soap:operation style="document"/>
+ <input>
+ <soap:body use="literal"/>
+ </input>
+ <output>
+ <soap:body use="literal"/>
+ </output>
+ </operation>
+ </binding>
+ <service name="MowsFactoryService">
+ <!-- Note: the port name becomes the service name in the wsdd
generated by Axis Wsdl2Java -->
+ <port name="mowsfactory"
binding="tns:WeatherStationSoapHttpBinding">
+ <soap:address
location="http://localhost:8080/wsrf/services/mowsfactory"/>
+ </port>
+ </service>
+</definitions>
Modified:
incubator/muse/trunk/src/site/content/interop/src/wsdl/weatherstation.wsdl
URL:
http://svn.apache.org/viewcvs/incubator/muse/trunk/src/site/content/interop/src/wsdl/weatherstation.wsdl?view=diff&r1=158627&r2=158628
==============================================================================
--- incubator/muse/trunk/src/site/content/interop/src/wsdl/weatherstation.wsdl
(original)
+++ incubator/muse/trunk/src/site/content/interop/src/wsdl/weatherstation.wsdl
Tue Mar 22 09:23:21 2005
@@ -1,10 +1,12 @@
<?xml version="1.0"?>
-<definitions name="WeatherStation"
targetNamespace="http://everest-weather.org/wsdm/samples/2005/04/schema"
xmlns:tns="http://everest-weather.org/wsdm/samples/2005/04/schema"
xmlns="http://www.w3.org/2002/07/wsdl"
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:muws-xs1="http://docs.oasis-open.org/wsdm/2004/12/muws/wsdm-muws-part1.xsd"
xmlns:muws-xs2="http://docs.oasis-open.org/wsdm/2004/12/muws/wsdm-muws-part2.xsd"
xmlns:mows-xs="http://docs.oasis-open.org/wsdm/2004/12/mows/wsdm-mows.xsd"
xmlns:mows-wsdl="http://docs.oasis-open.org/wsdm/2004/12/mows/wsdm-mows.wsdl"
xmlns:S="http://www.w3.org/2002/12/soap-envelope"
xmlns:wsrf-rp="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:wsws-xs="http://everest-weather.org/wsdm/samples/2005/04/schema">
+<definitions name="WeatherStation"
targetNamespace="http://everest-weather.org/wsdm/samples/2005/04/schema"
xmlns:tns="http://everest-weather.org/wsdm/samples/2005/04/schema"
xmlns="http://www.w3.org/2002/07/wsdl"
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:muws-xs1="http://docs.oasis-open.org/wsdm/2004/12/muws/wsdm-muws-part1.xsd"
xmlns:muws-xs2="http://docs.oasis-open.org/wsdm/2004/12/muws/wsdm-muws-part2.xsd"
xmlns:mows-xs="http://docs.oasis-open.org/wsdm/2004/12/mows/wsdm-mows.xsd"
xmlns:mows-wsdl="http://docs.oasis-open.org/wsdm/2004/12/mows/wsdm-mows.wsdl"
xmlns:S="http://www.w3.org/2002/12/soap-envelope"
xmlns:wsrf-rp="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:wsntw="http://docs.oasis-open.org/wsn/2004/06/wsn-WS-BaseNotification-1.2-draft-01.wsdl"
+xmlns:wsrpw="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceProperties-1.2-draft-01.wsdl"
+xmlns:wsws-xs="http://everest-weather.org/wsdm/samples/2005/04/schema">
<import
namespace="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceProperties-1.2-draft-01.wsdl"
location="../spec/wsrf/WS-ResourceProperties-1_2-Draft_01.wsdl"/>
- <import
namespace="http://docs.oasis-open.org/wsn/2004/06/wsn-WS-BaseNotification-1.2-draft-01.wsdl"
location="../spec/wsn/WS-BaseNotification-1_2.wsdl"/>
+ <import
namespace="http://docs.oasis-open.org/wsn/2004/06/wsn-WS-BaseNotification-1.2-draft-01.wsdl"
location="../spec/wsn/WS-BaseNotification-1_2-Draft_01.wsdl"/>
<import
namespace="http://docs.oasis-open.org/wsdm/2004/12/mows/wsdm-mows.wsdl"
location="../spec/wsdm/MOWS-1_0.wsdl"/>
-
<types>
<schema elementFormDefault="qualified"
targetNamespace="http://everest-weather.org/wsdm/samples/2005/04/schema"
xmlns="http://www.w3.org/2001/XMLSchema"
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<import
namespace="http://docs.oasis-open.org/wsdm/2004/12/muws/wsdm-muws-part1.xsd"
schemaLocation="../spec/wsdm/MUWS-Part1-1_0.xsd"/>
@@ -19,7 +21,7 @@
<element
ref="muws-xs1:ResourceId"/>
<!-- Management Capabilities
must be defined for at least Identity and Status and Relationship and
Correlatible Props
MUWS2 MetricsCapability AND MOWS Metrics capability -->
- <element
ref="muws-xs1:ManageabilityCapability" minOccurs="0" maxOccurs="unbounded"/>
+ <element
ref="muws-xs1:ManageabilityCapability" minOccurs="0" maxOccurs="unbounded"/>
<element
ref="muws-xs2:OperationalStatus"/>
<!-- other props -->
<element
ref="muws-xs2:Relationship" minOccurs="0" maxOccurs="unbounded"/>
@@ -40,19 +42,19 @@
</element>
</schema>
</types>
- <portType name="WeatherStationPortType"
wsrp:ResourceProperties="tns:WeatherStationProperties">
+ <portType name="WeatherStationPortType"
wsrf-rp:ResourceProperties="tns:WeatherStationProperties">
<!-- wsrp:* operations -->
<operation name="GetResourceProperty">
- <input name="GetResourcePropertyRequest"
message="wsrf-rp:GetResourcePropertyRequest"/>
- <output name="GetResourcePropertyResponse"
message="wsrf-rp:GetResourcePropertyResponse"/>
- <fault name="ResourceUnknownFault"
message="wsrf-rp:ResourceUnknownFault"/>
- <fault name="InvalidResourcePropertyQNameFault"
message="wsrf-rp:InvalidResourcePropertyQNameFault"/>
+ <input name="GetResourcePropertyRequest"
message="wsrpw:GetResourcePropertyRequest"/>
+ <output name="GetResourcePropertyResponse"
message="wsrpw:GetResourcePropertyResponse"/>
+ <fault name="ResourceUnknownFault"
message="wsrpw:ResourceUnknownFault"/>
+ <fault name="InvalidResourcePropertyQNameFault"
message="wsrpw:InvalidResourcePropertyQNameFault"/>
</operation>
<operation name="GetMultipleResourceProperties">
- <input name="GetMultipleResourcePropertiesRequest"
message="wsrf-rp:GetMultipleResourcePropertiesRequest"/>
- <output name="GetMultipleResourcePropertiesResponse"
message="wsrf-rp:GetMultipleResourcePropertiesResponse"/>
- <fault name="ResourceUnknownFault"
message="wsrf-rp:ResourceUnknownFault"/>
- <fault name="InvalidResourcePropertyQNameFault"
message="wsrf-rp:InvalidResourcePropertyQNameFault"/>
+ <input name="GetMultipleResourcePropertiesRequest"
message="wsrpw:GetMultipleResourcePropertiesRequest"/>
+ <output name="GetMultipleResourcePropertiesResponse"
message="wsrpw:GetMultipleResourcePropertiesResponse"/>
+ <fault name="ResourceUnknownFault"
message="wsrpw:ResourceUnknownFault"/>
+ <fault name="InvalidResourcePropertyQNameFault"
message="wsrpw:InvalidResourcePropertyQNameFault"/>
</operation>
<!-- wsntw:NotificationProducer operations -->
<operation name="Subscribe">
@@ -149,7 +151,7 @@
</fault>
</operation>
<operation name="GetManageabilityReferences">
- <soap:operation style="document"/>
+ <soap:operation style="document"/>
<input>
<soap:body use="literal"/>
</input>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]