You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@juddi.apache.org by al...@apache.org on 2013/10/28 19:48:45 UTC

svn commit: r1536483 [1/2] - in /juddi/trunk: juddi-examples/uddi-samples/cxf.wadl juddi-gui/src/main/java/org/apache/juddi/webconsole/hub/UddiHub.java

Author: alexoree
Date: Mon Oct 28 18:48:44 2013
New Revision: 1536483

URL: http://svn.apache.org/r1536483
Log:
JUDDI-678 added additional checks
JUDDI-679 fixed

Added:
    juddi/trunk/juddi-examples/uddi-samples/cxf.wadl
Modified:
    juddi/trunk/juddi-gui/src/main/java/org/apache/juddi/webconsole/hub/UddiHub.java

Added: juddi/trunk/juddi-examples/uddi-samples/cxf.wadl
URL: http://svn.apache.org/viewvc/juddi/trunk/juddi-examples/uddi-samples/cxf.wadl?rev=1536483&view=auto
==============================================================================
--- juddi/trunk/juddi-examples/uddi-samples/cxf.wadl (added)
+++ juddi/trunk/juddi-examples/uddi-samples/cxf.wadl Mon Oct 28 18:48:44 2013
@@ -0,0 +1,35 @@
+<application xmlns="http://wadl.dev.java.net/2009/02" xmlns:ns="http://superbooks">
+ <grammars>
+  <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" 
+        xmlns:tns="http://superbooks" attributeFormDefault="unqualified" elementFormDefault="unqualified" 
+        targetNamespace="http://superbooks">
+    <xs:element name="thebook" type="tns:book"/>
+    <xs:complexType name="book">
+        <xs:sequence>
+            <xs:element minOccurs="0" ref="tns:thechapter"/>
+            <xs:element name="id" type="xs:int"/>
+        </xs:sequence>
+    </xs:complexType>
+  </xs:schema>
+ </grammars>
+ <resources base="http://localhost:8080/">
+   <resource path="/bookstore/{id}">
+     <param name="id" style="template"/>
+     <method name="GET">
+      <response>
+       <representation mediaType="application/xml" element="ns:thebook"/>
+      </response>
+    </method>
+   </resource>
+   <resource path="/books">
+      <resource path="/bookstore/{id}">
+        <param name="id" style="template"/>
+        <method name="GET">
+          <response>
+           <representation mediaType="application/xml" element="ns:thebook"/>
+          </response>
+        </method>
+      </resource>
+   </resource>
+ </resources>  
+</application>
\ No newline at end of file



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@juddi.apache.org
For additional commands, e-mail: commits-help@juddi.apache.org