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 ip...@apache.org on 2005/07/22 01:38:22 UTC

svn commit: r220210 - /webservices/muse/trunk/src/examples/filesystem/src/wsdl/Host.wsdl

Author: ips
Date: Thu Jul 21 16:38:21 2005
New Revision: 220210

URL: http://svn.apache.org/viewcvs?rev=220210&view=rev
Log:
WSDL for Host resource

Added:
    webservices/muse/trunk/src/examples/filesystem/src/wsdl/Host.wsdl

Added: webservices/muse/trunk/src/examples/filesystem/src/wsdl/Host.wsdl
URL: http://svn.apache.org/viewcvs/webservices/muse/trunk/src/examples/filesystem/src/wsdl/Host.wsdl?rev=220210&view=auto
==============================================================================
--- webservices/muse/trunk/src/examples/filesystem/src/wsdl/Host.wsdl (added)
+++ webservices/muse/trunk/src/examples/filesystem/src/wsdl/Host.wsdl Thu Jul 21 16:38:21 2005
@@ -0,0 +1,57 @@
+<?xml version="1.0"?>
+
+<definitions name="HostResourceDefinition"
+             targetNamespace="http://ws.apache.org/resource/example/Host"
+             xmlns="http://schemas.xmlsoap.org/wsdl/"
+             xmlns:tns="http://ws.apache.org/resource/example/Host"
+             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:muws-p1-xs="http://docs.oasis-open.org/wsdm/2004/12/muws/wsdm-muws-part1.xsd">
+
+   <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"/>
+   
+   <portType name="HostPortType" wsrp:ResourceProperties="muws-p1-xs:IdentityProperties">
+         
+      <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>
+     
+   </portType>
+
+   <binding name="HostSoapHttpBinding" type="tns:HostPortType">
+
+      <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>
+           
+   </binding>
+
+   <service name="HostService">
+      <!-- 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="host" binding="tns:HostSoapHttpBinding">
+         <soap:address location="http://localhost:8080/muse/services/host" />
+      </port>
+   </service>
+
+</definitions>



---------------------------------------------------------------------
To unsubscribe, e-mail: muse-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: muse-dev-help@ws.apache.org