You are viewing a plain text version of this content. The canonical link for it is here.
Posted to muse-dev@ws.apache.org by sc...@apache.org on 2005/05/23 20:42:29 UTC
svn commit: r177998 - in /incubator/muse/trunk/src/ieeedemo: ./ src/
src/java/ src/test/ src/wsdl/ src/wsdl/weatherstation.wsdl
src/wsdl/weatherstationclient.wsdl src/wsdl/weatherstationdirectory.wsdl
Author: scamp
Date: Mon May 23 11:42:28 2005
New Revision: 177998
URL: http://svn.apache.org/viewcvs?rev=177998&view=rev
Log:
added for ieee demo
Added:
incubator/muse/trunk/src/ieeedemo/
incubator/muse/trunk/src/ieeedemo/src/
incubator/muse/trunk/src/ieeedemo/src/java/
incubator/muse/trunk/src/ieeedemo/src/test/
incubator/muse/trunk/src/ieeedemo/src/wsdl/
incubator/muse/trunk/src/ieeedemo/src/wsdl/weatherstation.wsdl
incubator/muse/trunk/src/ieeedemo/src/wsdl/weatherstationclient.wsdl
incubator/muse/trunk/src/ieeedemo/src/wsdl/weatherstationdirectory.wsdl
Added: incubator/muse/trunk/src/ieeedemo/src/wsdl/weatherstation.wsdl
URL: http://svn.apache.org/viewcvs/incubator/muse/trunk/src/ieeedemo/src/wsdl/weatherstation.wsdl?rev=177998&view=auto
==============================================================================
--- incubator/muse/trunk/src/ieeedemo/src/wsdl/weatherstation.wsdl (added)
+++ incubator/muse/trunk/src/ieeedemo/src/wsdl/weatherstation.wsdl Mon May 23 11:42:28 2005
@@ -0,0 +1,294 @@
+<?xml version="1.0"?>
+
+<definitions name="WeatherStation"
+ targetNamespace="http://wsdmdemo.org"
+ xmlns="http://schemas.xmlsoap.org/wsdl/"
+ xmlns:tns="http://wsdmdemo.org"
+ xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+ xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
+ 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:wsntw="http://docs.oasis-open.org/wsn/2004/06/wsn-WS-BaseNotification-1.2-draft-01.wsdl"
+ xmlns:muws-p2-wsdl="http://docs.oasis-open.org/wsdm/2004/12/muws/wsdm-muws-part2.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/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/muws/wsdm-muws-part2.wsdl"
+ location="../spec/wsdm/MUWS-Part2-1_0.wsdl"/>
+
+ <types>
+ <schema elementFormDefault="qualified"
+ targetNamespace="http://wsdmdemo.org"
+ xmlns="http://www.w3.org/2001/XMLSchema"
+ 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"
+ xmlns:wsnt="http://docs.oasis-open.org/wsn/2004/06/wsn-WS-BaseNotification-1.2-draft-01.xsd"
+ xmlns:muws-p1-xs="http://docs.oasis-open.org/wsdm/2004/12/muws/wsdm-muws-part1.xsd"
+ xmlns:muws-p2-xs="http://docs.oasis-open.org/wsdm/2004/12/muws/wsdm-muws-part2.xsd">
+
+ <xsd:import namespace="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-BaseFaults-1.2-draft-01.xsd"
+ schemaLocation="../spec/wsrf/WS-BaseFaults-1_2.xsd"/>
+
+ <xsd:import namespace="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceLifetime-1.2-draft-01.xsd"
+ schemaLocation="../spec/wsrf/WS-ResourceLifetime-1_2.xsd"/>
+
+ <xsd:import namespace="http://docs.oasis-open.org/wsn/2004/06/wsn-WS-BaseNotification-1.2-draft-01.xsd"
+ schemaLocation="../spec/wsn/WS-BaseNotification-1_2-Draft_01.xsd"/>
+
+ <xsd:import namespace="http://docs.oasis-open.org/wsdm/2004/12/muws/wsdm-muws-part1.xsd"
+ schemaLocation="../spec/wsdm/MUWS-Part1-1_0.xsd"/>
+
+ <xsd:import namespace="http://docs.oasis-open.org/wsdm/2004/12/muws/wsdm-muws-part2.xsd"
+ schemaLocation="../spec/wsdm/MUWS-Part2-1_0.xsd"/>
+
+ <!-- Some Weather Props As Metrics-->
+
+ <complexType name="PriceMetricType">
+ <simpleContent>
+ <extension base="xsd:double">
+ <xsd:attributeGroup ref="muws-p2-xs:MetricAttributes"/>
+ </extension>
+ </simpleContent>
+ </complexType>
+ <element name="Price" type="tns:PriceMetricType" />
+
+ <complexType name="TemperatureMetricType">
+ <simpleContent>
+ <extension base="xsd:double">
+ <xsd:attributeGroup ref="muws-p2-xs:MetricAttributes"/>
+ </extension>
+ </simpleContent>
+ </complexType>
+ <element name="Temperature" type="tns:TemperatureMetricType" />
+
+ <complexType name="VisibilityMetricType">
+ <simpleContent>
+ <extension base="xsd:double">
+ <xsd:attributeGroup ref="muws-p2-xs:MetricAttributes"/>
+ </extension>
+ </simpleContent>
+ </complexType>
+ <element name="Visibility" type="tns:VisibilityMetricType"/>
+
+ <complexType name="UVIndexMetricType">
+ <simpleContent>
+ <extension base="xsd:integer">
+ <xsd:attributeGroup ref="muws-p2-xs:MetricAttributes"/>
+ </extension>
+ </simpleContent>
+ </complexType>
+ <element name="UVIndex" type="tns:UVIndexMetricType"/>
+
+ <!-- Windspeed is displayed as mph-->
+ <complexType name="WindSpeedMetricType">
+ <simpleContent>
+ <extension base="xsd:integer">
+ <xsd:attributeGroup ref="muws-p2-xs:MetricAttributes"/>
+ </extension>
+ </simpleContent>
+ </complexType>
+ <element name="WindSpeed" type="tns:WindSpeedMetricType" />
+
+ <!-- Humidity is displayed as percentage-->
+ <complexType name="HumidityMetricType">
+ <simpleContent>
+ <extension base="xsd:double">
+ <xsd:attributeGroup ref="muws-p2-xs:MetricAttributes"/>
+ </extension>
+ </simpleContent>
+ </complexType>
+ <element name="Humidity" type="tns:HumidityMetricType"/>
+
+ <!-- Resource Properties Document Schema -->
+ <element name="WeatherStationResourceProperties">
+ <complexType>
+ <sequence>
+ <element ref="tns:Price" />
+ <element ref="tns:Temperature" />
+ <element ref="tns:Visibility" />
+ <element ref="tns:UVIndex" />
+ <element ref="tns:WindSpeed" />
+ <element ref="tns:Humidity" />
+ <element ref="wsnt:Topic" maxOccurs="unbounded" />
+ <element ref="wsnt:FixedTopicSet" />
+ <element ref="wsnt:TopicExpressionDialects" maxOccurs="unbounded" />
+ <element ref="muws-p1-xs:ResourceId"/>
+ <element ref="muws-p1-xs:ManageabilityCapability" minOccurs="0" maxOccurs="unbounded"/>
+ <element ref="muws-p2-xs:CurrentTime"/>
+ <element ref="muws-p2-xs:OperationalStatus"/>
+ <element ref="muws-p2-xs:Relationship" minOccurs="0" maxOccurs="unbounded"/>
+ </sequence>
+ </complexType>
+ </element>
+
+ <element name="Recalibrate">
+ <complexType />
+ </element>
+ <element name="RecalibrateResponse">
+ <complexType />
+ </element>
+
+
+ </schema>
+ </types>
+
+
+ <message name="RecalibrateRequest">
+ <part name="Recalibrate" element="tns:Recalibrate"/>
+ </message>
+
+ <message name="RecalibrateResponse">
+ <part name="RecalibrateResponse" element="tns:RecalibrateResponse"/>
+ </message>
+
+ <portType name="WeatherStationPortType" wsrp:ResourceProperties="tns:WeatherStationResourceProperties">
+
+ <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="GetMultipleResourceProperties">
+ <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>
+
+ <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>
+
+ <operation name="QueryRelationshipsByType">
+ <input message="muws-p2-wsdl:QueryRelationshipsByTypeRequest"/>
+ <output message="muws-p2-wsdl:QueryRelationshipsByTypeResponse"/>
+ </operation>
+
+ <operation name="Recalibrate">
+ <input message="tns:RecalibrateRequest"/>
+ <output message="tns:RecalibrateResponse"/>
+ </operation>
+
+
+ </portType>
+
+ <binding name="WeatherStationSoapHttpBinding" type="tns:WeatherStationPortType">
+
+ <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
+
+ <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="GetMultipleResourceProperties">
+ <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="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="QueryRelationshipsByType">
+ <soap:operation style="document"/>
+ <input>
+ <soap:body use="literal"/>
+ </input>
+ <output>
+ <soap:body use="literal"/>
+ </output>
+ </operation>
+ <operation name="Recalibrate">
+ <soap:operation style="document"/>
+ <input>
+ <soap:body use="literal"/>
+ </input>
+ <output>
+ <soap:body use="literal"/>
+ </output>
+ </operation>
+ </binding>
+
+ <service name="WeatherStationService">
+ <port name="WeatherStation" binding="tns:WeatherStationSoapHttpBinding">
+ <soap:address location="http://localhost:8080/muse/services/WeatherStation" />
+ </port>
+ </service>
+
+</definitions>
Added: incubator/muse/trunk/src/ieeedemo/src/wsdl/weatherstationclient.wsdl
URL: http://svn.apache.org/viewcvs/incubator/muse/trunk/src/ieeedemo/src/wsdl/weatherstationclient.wsdl?rev=177998&view=auto
==============================================================================
--- incubator/muse/trunk/src/ieeedemo/src/wsdl/weatherstationclient.wsdl (added)
+++ incubator/muse/trunk/src/ieeedemo/src/wsdl/weatherstationclient.wsdl Mon May 23 11:42:28 2005
@@ -0,0 +1,193 @@
+<?xml version="1.0"?>
+<definitions name="WeatherStationClient" targetNamespace="http://wsdmdemo.org" xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:tns="http://wsdmdemo.org" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" 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:wsntw="http://docs.oasis-open.org/wsn/2004/06/wsn-WS-BaseNotification-1.2-draft-01.wsdl" xmlns:muws-p2-wsdl="http://docs.oasis-open.org/wsdm/2004/12/muws/wsdm-muws-part2.wsdl" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing">
+ <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"/>
+ <import namespace="http://docs.oasis-open.org/wsdm/2004/12/muws/wsdm-muws-part2.wsdl" location="../spec/wsdm/MUWS-Part2-1_0.wsdl"/>
+ <types>
+ <schema elementFormDefault="qualified" targetNamespace="http://wsdmdemo.org" xmlns="http://www.w3.org/2001/XMLSchema" 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" xmlns:wsnt="http://docs.oasis-open.org/wsn/2004/06/wsn-WS-BaseNotification-1.2-draft-01.xsd" xmlns:muws-p1-xs="http://docs.oasis-open.org/wsdm/2004/12/muws/wsdm-muws-part1.xsd" xmlns:muws-p2-xs="http://docs.oasis-open.org/wsdm/2004/12/muws/wsdm-muws-part2.xsd" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing">
+ <xsd:import namespace="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-BaseFaults-1.2-draft-01.xsd" schemaLocation="../spec/wsrf/WS-BaseFaults-1_2.xsd"/>
+ <xsd:import namespace="http://docs.oasis-open.org/wsn/2004/06/wsn-WS-BaseNotification-1.2-draft-01.xsd" schemaLocation="../spec/wsn/WS-BaseNotification-1_2-Draft_01.xsd"/>
+ <xsd:import namespace="http://docs.oasis-open.org/wsdm/2004/12/muws/wsdm-muws-part1.xsd" schemaLocation="../spec/wsdm/MUWS-Part1-1_0.xsd"/>
+ <xsd:import namespace="http://docs.oasis-open.org/wsdm/2004/12/muws/wsdm-muws-part2.xsd" schemaLocation="../spec/wsdm/MUWS-Part2-1_0.xsd"/>
+ <xsd:import namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing" schemaLocation="../spec/wsa/WS-Addressing-2004_08_10.xsd"/>
+ <!-- Resource Properties Document Schema -->
+ <element name="WeatherStationClientResourceProperties">
+ <complexType>
+ <sequence>
+ <element ref="wsnt:Topic" maxOccurs="unbounded"/>
+ <element ref="wsnt:FixedTopicSet"/>
+ <element ref="wsnt:TopicExpressionDialects" maxOccurs="unbounded"/>
+ <element ref="muws-p1-xs:ResourceId"/>
+ <element ref="muws-p1-xs:ManageabilityCapability" minOccurs="0" maxOccurs="unbounded"/>
+ <element ref="muws-p2-xs:OperationalStatus"/>
+ <element ref="muws-p2-xs:Relationship" minOccurs="0" maxOccurs="unbounded"/>
+ </sequence>
+ </complexType>
+ </element>
+ <element name="SetWeatherStation">
+ <complexType>
+ <sequence>
+ <element ref="wsa:EndpointReference"/>
+ </sequence>
+ </complexType>
+ </element>
+ <element name="SetWeatherStationResponse">
+ <complexType/>
+ </element>
+ <element name="SetFailedFault">
+ <complexType>
+ <complexContent>
+ <extension base="wsbf:BaseFaultType"/>
+ </complexContent>
+ </complexType>
+ </element>
+ </schema>
+ </types>
+ <message name="SetWeatherStationRequest">
+ <part name="SetWeatherStation" element="tns:SetWeatherStation"/>
+ </message>
+ <message name="SetWeatherStationResponse">
+ <part name="SetWeatherStationResponse" element="tns:SetWeatherStationResponse"/>
+ </message>
+ <message name="SetFailedFault">
+ <part name="SetFailedFault" element="tns:SetFailedFault"/>
+ </message>
+ <portType name="WeatherStationClientPortType" wsrp:ResourceProperties="tns:WeatherStationClientResourceProperties">
+ <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="GetMultipleResourceProperties">
+ <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>
+ <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>
+ <operation name="QueryRelationshipsByType">
+ <input message="muws-p2-wsdl:QueryRelationshipsByTypeRequest"/>
+ <output message="muws-p2-wsdl:QueryRelationshipsByTypeResponse"/>
+ </operation>
+ <operation name="SetWeatherStation">
+ <input message="tns:SetWeatherStationRequest"/>
+ <output message="tns:SetWeatherStationResponse"/>
+ <fault name="SetFailedFault" message="tns:SetFailedFault"/>
+ </operation>
+ </portType>
+ <binding name="WeatherStationClientSoapHttpBinding" type="tns:WeatherStationClientPortType">
+ <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
+ <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="GetMultipleResourceProperties">
+ <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="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="QueryRelationshipsByType">
+ <soap:operation style="document"/>
+ <input>
+ <soap:body use="literal"/>
+ </input>
+ <output>
+ <soap:body use="literal"/>
+ </output>
+ </operation>
+ <operation name="SetWeatherStation">
+ <soap:operation style="document"/>
+ <input>
+ <soap:body use="literal"/>
+ </input>
+ <output>
+ <soap:body use="literal"/>
+ </output>
+ <fault name="SetFailedFault">
+ <soap:fault name="SetFailedFault" use="literal"/>
+ </fault>
+ </operation>
+ </binding>
+ <service name="WeatherStationClientService">
+ <!-- Note: the port name becomes the service name in the wsdd generated by Wsdl2Java -->
+ <!-- *** Change the port name and the soap:address location below to reflect the desired endpoint URL *** -->
+ <port name="WeatherStationClient" binding="tns:WeatherStationClientSoapHttpBinding">
+ <soap:address location="http://localhost:8080/muse/services/WeatherStationClient"/>
+ </port>
+ </service>
+</definitions>
Added: incubator/muse/trunk/src/ieeedemo/src/wsdl/weatherstationdirectory.wsdl
URL: http://svn.apache.org/viewcvs/incubator/muse/trunk/src/ieeedemo/src/wsdl/weatherstationdirectory.wsdl?rev=177998&view=auto
==============================================================================
--- incubator/muse/trunk/src/ieeedemo/src/wsdl/weatherstationdirectory.wsdl (added)
+++ incubator/muse/trunk/src/ieeedemo/src/wsdl/weatherstationdirectory.wsdl Mon May 23 11:42:28 2005
@@ -0,0 +1,233 @@
+<?xml version="1.0"?>
+<definitions name="WeatherStationDirectory" targetNamespace="http://wsdmdemo.org" xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:tns="http://wsdmdemo.org" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" 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:wsntw="http://docs.oasis-open.org/wsn/2004/06/wsn-WS-BaseNotification-1.2-draft-01.wsdl" xmlns:muws-p2-wsdl="http://docs.oasis-open.org/wsdm/2004/12/muws/wsdm-muws-part2.wsdl" xmlns:mex="http://schemas.xmlsoap.org/ws/2004/09/mex" xmlns:wsa04="http://schemas.xmlsoap.org/ws/2004/08/addressing">
+ <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"/>
+ <import namespace="http://docs.oasis-open.org/wsdm/2004/12/muws/wsdm-muws-part2.wsdl" location="../spec/wsdm/MUWS-Part2-1_0.wsdl"/>
+ <types>
+ <schema elementFormDefault="qualified" targetNamespace="http://wsdmdemo.org" xmlns="http://www.w3.org/2001/XMLSchema" 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" xmlns:wsnt="http://docs.oasis-open.org/wsn/2004/06/wsn-WS-BaseNotification-1.2-draft-01.xsd" xmlns:muws-p1-xs="http://docs.oasis-open.org/wsdm/2004/12/muws/wsdm-muws-part1.xsd" xmlns:muws-p2-xs="http://docs.oasis-open.org/wsdm/2004/12/muws/wsdm-muws-part2.xsd" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing">
+ <xsd:import namespace="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-BaseFaults-1.2-draft-01.xsd" schemaLocation="../spec/wsrf/WS-BaseFaults-1_2.xsd"/>
+ <xsd:import namespace="http://docs.oasis-open.org/wsn/2004/06/wsn-WS-BaseNotification-1.2-draft-01.xsd" schemaLocation="../spec/wsn/WS-BaseNotification-1_2-Draft_01.xsd"/>
+ <xsd:import namespace="http://docs.oasis-open.org/wsdm/2004/12/muws/wsdm-muws-part1.xsd" schemaLocation="../spec/wsdm/MUWS-Part1-1_0.xsd"/>
+ <xsd:import namespace="http://docs.oasis-open.org/wsdm/2004/12/muws/wsdm-muws-part2.xsd" schemaLocation="../spec/wsdm/MUWS-Part2-1_0.xsd"/>
+ <xsd:import namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing" schemaLocation="../spec/wsa/WS-Addressing-2004_08_10.xsd"/>
+
+ <!-- Resource Properties Document Schema -->
+ <element name="WeatherStationDirectoryResourceProperties">
+ <complexType>
+ <sequence>
+ <element ref="wsnt:Topic" maxOccurs="unbounded" />
+ <element ref="wsnt:FixedTopicSet" />
+ <element ref="wsnt:TopicExpressionDialects" maxOccurs="unbounded" />
+ <element ref="muws-p1-xs:ResourceId"/>
+ <element ref="muws-p1-xs:ManageabilityCapability" minOccurs="0" maxOccurs="unbounded"/>
+ <element ref="muws-p2-xs:Relationship" minOccurs="0" maxOccurs="unbounded"/>
+ </sequence>
+ </complexType>
+ </element>
+
+ <element name="AddWeatherStation">
+ <complexType>
+ <sequence>
+ <element ref="wsa:EndpointReference"/>
+ </sequence>
+ </complexType>
+ </element>
+
+ <element name="AddWeatherStationResponse">
+ <complexType/>
+ </element>
+
+ <element name="RemoveWeatherStation">
+ <complexType>
+ <sequence>
+ <element ref="muws-p1-xs:ResourceId"/>
+ </sequence>
+ </complexType>
+ </element>
+
+ <element name="RemoveWeatherStationResponse">
+ <complexType/>
+ </element>
+
+ </schema>
+ </types>
+
+ <message name="AddWeatherStation">
+ <part name="AddWeatherStation" element="tns:AddWeatherStation"/>
+ </message>
+
+ <message name="AddWeatherStationResponse">
+ <part name="AddWeatherStationResponse" element="tns:AddWeatherStationResponse"/>
+ </message>
+
+ <message name="RemoveWeatherStation">
+ <part name="RemoveWeatherStation" element="tns:RemoveWeatherStation"/>
+ </message>
+
+ <message name="RemoveWeatherStationResponse">
+ <part name="RemoveWeatherStationResponse" element="tns:RemoveWeatherStationResponse"/>
+ </message>
+
+
+
+ <portType name="WeatherStationDirectoryPortType" wsrp:ResourceProperties="tns:WeatherStationDirectoryResourceProperties">
+ <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="GetMultipleResourceProperties">
+ <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>
+
+ <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>
+
+ <operation name="QueryRelationshipsByType">
+ <input message="muws-p2-wsdl:QueryRelationshipsByTypeRequest"/>
+ <output message="muws-p2-wsdl:QueryRelationshipsByTypeResponse"/>
+ </operation>
+
+ <operation name="AddWeatherStation">
+ <input message="tns:AddWeatherStation"/>
+ <output message="tns:AddWeatherStationResponse"/>
+ </operation>
+
+ <operation name="RemoveWeatherStation">
+ <input message="tns:RemoveWeatherStation"/>
+ <output message="tns:RemoveWeatherStationResponse"/>
+ </operation>
+
+
+ </portType>
+ <binding name="WeatherStationDirectorySoapHttpBinding" type="tns:WeatherStationDirectoryPortType">
+ <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
+ <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="GetMultipleResourceProperties">
+ <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="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="QueryRelationshipsByType">
+ <soap:operation style="document"/>
+ <input>
+ <soap:body use="literal"/>
+ </input>
+ <output>
+ <soap:body use="literal"/>
+ </output>
+ </operation>
+
+ <operation name="AddWeatherStation">
+ <soap:operation style="document"/>
+ <input>
+ <soap:body use="literal"/>
+ </input>
+ <output>
+ <soap:body use="literal"/>
+ </output>
+ </operation>
+
+ <operation name="RemoveWeatherStation">
+ <soap:operation style="document"/>
+ <input>
+ <soap:body use="literal"/>
+ </input>
+ <output>
+ <soap:body use="literal"/>
+ </output>
+ </operation>
+
+ </binding>
+ <service name="WeatherStationDirectoryService">
+ <!-- Note: the port name becomes the service name in the wsdd generated by Wsdl2Java -->
+ <!-- *** Change the port name and the soap:address location below to reflect the desired endpoint URL *** -->
+ <port name="WeatherStationDirectory" binding="tns:WeatherStationDirectorySoapHttpBinding">
+ <soap:address location="http://localhost:8080/muse/services/WeatherStationDirectory"/>
+ </port>
+ </service>
+</definitions>
---------------------------------------------------------------------
To unsubscribe, e-mail: muse-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: muse-dev-help@ws.apache.org