ws-woden-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sag...@apache.org
Subject svn commit: r809824 [2/6] - in /webservices/woden/trunk/java/woden-ant: ./ src/ src/main/ src/main/java/ src/main/java/org/ src/main/java/org/apache/ src/main/java/org/apache/woden/ src/main/java/org/apache/woden/ant/ src/main/resources/ src/main/resou...
Date Tue, 01 Sep 2009 05:35:04 GMT
Added: webservices/woden/trunk/java/woden-ant/documents-good-report.xml
URL: http://svn.apache.org/viewvc/webservices/woden/trunk/java/woden-ant/documents-good-report.xml?rev=809824&view=auto
==============================================================================
--- webservices/woden/trunk/java/woden-ant/documents-good-report.xml (added)
+++ webservices/woden/trunk/java/woden-ant/documents-good-report.xml Tue Sep  1 05:35:02 2009
@@ -0,0 +1,466 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<report xmlns='http://www.w3.org/2006/06/wsdl/ValidationReport'>
+  <wsdl>
+    <uri>file:/C:/workspace/woden/woden/downloads/w3c/documents/good/Chameleon-1G/getBalance.wsdl</uri>
+    <success>true</success>
+  </wsdl>
+  <wsdl>
+    <uri>file:/C:/workspace/woden/woden/downloads/w3c/documents/good/Chameleon-2G/getBalance.wsdl</uri>
+    <success>true</success>
+  </wsdl>
+  <wsdl>
+    <uri>file:/C:/workspace/woden/woden/downloads/w3c/documents/good/Chameleon-3G/getBalance.wsdl</uri>
+    <success>true</success>
+  </wsdl>
+  <wsdl>
+    <uri>file:/C:/workspace/woden/woden/downloads/w3c/documents/good/Chameleon-4G/getBalance.wsdl</uri>
+    <success>true</success>
+  </wsdl>
+  <wsdl>
+    <uri>file:/C:/workspace/woden/woden/downloads/w3c/documents/good/Compound1-1G/compound1.wsdl</uri>
+    <success>true</success>
+  </wsdl>
+  <wsdl>
+    <uri>file:/C:/workspace/woden/woden/downloads/w3c/documents/good/CreditCardFaults-1G/credit-card-faults.wsdl</uri>
+    <success>true</success>
+  </wsdl>
+  <wsdl>
+    <uri>file:/C:/workspace/woden/woden/downloads/w3c/documents/good/CreditCardFaults-1G/use-credit-card-faults.wsdl</uri>
+    <success>true</success>
+  </wsdl>
+  <wsdl>
+    <uri>file:/C:/workspace/woden/woden/downloads/w3c/documents/good/Echo-1G/echo.wsdl</uri>
+    <success>true</success>
+  </wsdl>
+  <wsdl>
+    <uri>file:/C:/workspace/woden/woden/downloads/w3c/documents/good/Echo-2G/echo.wsdl</uri>
+    <success>true</success>
+  </wsdl>
+  <wsdl>
+    <uri>file:/C:/workspace/woden/woden/downloads/w3c/documents/good/EchoComplexDocLit-1G/Axis2SampleDocLit.wsdl</uri>
+    <success>true</success>
+  </wsdl>
+  <wsdl>
+    <uri>file:/C:/workspace/woden/woden/downloads/w3c/documents/good/FlickrHTTP-1G/flickr.wsdl</uri>
+    <success>true</success>
+  </wsdl>
+  <wsdl>
+    <uri>file:/C:/workspace/woden/woden/downloads/w3c/documents/good/FlickrHTTP-1G/flickr2.wsdl</uri>
+    <success>true</success>
+  </wsdl>
+  <wsdl>
+    <uri>file:/C:/workspace/woden/woden/downloads/w3c/documents/good/GreatH-1G/primer-hotelReservationService.wsdl</uri>
+    <success>true</success>
+  </wsdl>
+  <wsdl>
+    <uri>file:/C:/workspace/woden/woden/downloads/w3c/documents/good/GreatH-2G/primer-hotelReservationService.wsdl</uri>
+    <success>true</success>
+  </wsdl>
+  <wsdl>
+    <uri>file:/C:/workspace/woden/woden/downloads/w3c/documents/good/GreatH-3G/primer-hotelReservationService.wsdl</uri>
+    <success>true</success>
+  </wsdl>
+  <wsdl>
+    <uri>file:/C:/workspace/woden/woden/downloads/w3c/documents/good/HTTPBinding-1G/Echo.wsdl</uri>
+    <success>true</success>
+  </wsdl>
+  <wsdl>
+    <uri>file:/C:/workspace/woden/woden/downloads/w3c/documents/good/HTTPBinding-2G/Echo.wsdl</uri>
+    <success>true</success>
+  </wsdl>
+  <wsdl>
+    <uri>file:/C:/workspace/woden/woden/downloads/w3c/documents/good/IRI-1G/iristyleinout.wsdl</uri>
+    <success>true</success>
+  </wsdl>
+  <wsdl>
+    <uri>file:/C:/workspace/woden/woden/downloads/w3c/documents/good/IRI-2G/iristyleinonly.wsdl</uri>
+    <success>true</success>
+  </wsdl>
+  <wsdl>
+    <uri>file:/C:/workspace/woden/woden/downloads/w3c/documents/good/IRI-3G/iristyleinout.wsdl</uri>
+    <success>true</success>
+  </wsdl>
+  <wsdl>
+    <uri>file:/C:/workspace/woden/woden/downloads/w3c/documents/good/Import-1G/XSDImport.wsdl</uri>
+    <success>true</success>
+  </wsdl>
+  <wsdl>
+    <uri>file:/C:/workspace/woden/woden/downloads/w3c/documents/good/Import-2G/XSDImport.wsdl</uri>
+    <success>true</success>
+  </wsdl>
+  <wsdl>
+    <uri>file:/C:/workspace/woden/woden/downloads/w3c/documents/good/Import-2G/XSDImport2.wsdl</uri>
+    <success>true</success>
+  </wsdl>
+  <wsdl>
+    <uri>file:/C:/workspace/woden/woden/downloads/w3c/documents/good/ImportedWSDL-1G/retrieveDetails.wsdl</uri>
+    <success>true</success>
+  </wsdl>
+  <wsdl>
+    <uri>file:/C:/workspace/woden/woden/downloads/w3c/documents/good/ImportedWSDL-1G/updateDetails.wsdl</uri>
+    <success>true</success>
+    <warning>
+      <errorLocator>
+        <lineNumber>0</lineNumber>
+        <columnNumber>0</columnNumber>
+      </errorLocator>
+      <key>WSDL504</key>
+      <message>Could not locate the schema document at URL &quot;http://greath.example.com/2004/schemas/reservationDetails&quot;</message>
+      <exception>
+        <detailMessage>greath.example.com</detailMessage>
+      </exception>
+    </warning>
+  </wsdl>
+  <wsdl>
+    <uri>file:/C:/workspace/woden/woden/downloads/w3c/documents/good/InOnlyMEP-1G/Oneway.wsdl</uri>
+    <success>true</success>
+  </wsdl>
+  <wsdl>
+    <uri>file:/C:/workspace/woden/woden/downloads/w3c/documents/good/Include-1G/Echo.wsdl</uri>
+    <success>true</success>
+  </wsdl>
+  <wsdl>
+    <uri>file:/C:/workspace/woden/woden/downloads/w3c/documents/good/Include-1G/EchoImpl.wsdl</uri>
+    <success>true</success>
+  </wsdl>
+  <wsdl>
+    <uri>file:/C:/workspace/woden/woden/downloads/w3c/documents/good/Interface-1G/Interface.wsdl</uri>
+    <success>true</success>
+  </wsdl>
+  <wsdl>
+    <uri>file:/C:/workspace/woden/woden/downloads/w3c/documents/good/Interface-2G/Interface.wsdl</uri>
+    <success>true</success>
+  </wsdl>
+  <wsdl>
+    <uri>file:/C:/workspace/woden/woden/downloads/w3c/documents/good/Interface-3G/Interface.wsdl</uri>
+    <success>true</success>
+  </wsdl>
+  <wsdl>
+    <uri>file:/C:/workspace/woden/woden/downloads/w3c/documents/good/Interface-4G/Interface.wsdl</uri>
+    <success>true</success>
+  </wsdl>
+  <wsdl>
+    <uri>file:/C:/workspace/woden/woden/downloads/w3c/documents/good/Interface-5G/Interface.wsdl</uri>
+    <success>true</success>
+  </wsdl>
+  <wsdl>
+    <uri>file:/C:/workspace/woden/woden/downloads/w3c/documents/good/Interface-6G/Interface.wsdl</uri>
+    <success>true</success>
+  </wsdl>
+  <wsdl>
+    <uri>file:/C:/workspace/woden/woden/downloads/w3c/documents/good/Interface-7G/Interface.wsdl</uri>
+    <success>true</success>
+  </wsdl>
+  <wsdl>
+    <uri>file:/C:/workspace/woden/woden/downloads/w3c/documents/good/LocationTemplate-1G/SOAPservice.wsdl</uri>
+    <success>true</success>
+  </wsdl>
+  <wsdl>
+    <uri>file:/C:/workspace/woden/woden/downloads/w3c/documents/good/LocationTemplate-2G/SOAPservice.wsdl</uri>
+    <success>true</success>
+  </wsdl>
+  <wsdl>
+    <uri>file:/C:/workspace/woden/woden/downloads/w3c/documents/good/LocationTemplate-3G/SOAPservice.wsdl</uri>
+    <success>true</success>
+  </wsdl>
+  <wsdl>
+    <uri>file:/C:/workspace/woden/woden/downloads/w3c/documents/good/MessageMultipart-1G/HTTPservice.wsdl</uri>
+    <success>true</success>
+  </wsdl>
+  <wsdl>
+    <uri>file:/C:/workspace/woden/woden/downloads/w3c/documents/good/MessageTest-1G/SOAPservice.wsdl</uri>
+    <success>true</success>
+  </wsdl>
+  <wsdl>
+    <uri>file:/C:/workspace/woden/woden/downloads/w3c/documents/good/MessageTest-2G/HTTPservice.wsdl</uri>
+    <success>true</success>
+  </wsdl>
+  <wsdl>
+    <uri>file:/C:/workspace/woden/woden/downloads/w3c/documents/good/MessageTest-3G/HTTPservice.wsdl</uri>
+    <success>true</success>
+  </wsdl>
+  <wsdl>
+    <uri>file:/C:/workspace/woden/woden/downloads/w3c/documents/good/MessageTest-4G/SOAPservice.wsdl</uri>
+    <success>true</success>
+  </wsdl>
+  <wsdl>
+    <uri>file:/C:/workspace/woden/woden/downloads/w3c/documents/good/MessageTest-5G/SOAPservice.wsdl</uri>
+    <success>true</success>
+  </wsdl>
+  <wsdl>
+    <uri>file:/C:/workspace/woden/woden/downloads/w3c/documents/good/MessageTest-6G/SOAPservice.wsdl</uri>
+    <success>true</success>
+  </wsdl>
+  <wsdl>
+    <uri>file:/C:/workspace/woden/woden/downloads/w3c/documents/good/ModuleComposition-1G/SOAPservice.wsdl</uri>
+    <success>true</success>
+  </wsdl>
+  <wsdl>
+    <uri>file:/C:/workspace/woden/woden/downloads/w3c/documents/good/Multipart-1G/multipartstyleinout.wsdl</uri>
+    <success>true</success>
+  </wsdl>
+  <wsdl>
+    <uri>file:/C:/workspace/woden/woden/downloads/w3c/documents/good/Multipart-2G/multipartstyleinonly.wsdl</uri>
+    <success>true</success>
+  </wsdl>
+  <wsdl>
+    <uri>file:/C:/workspace/woden/woden/downloads/w3c/documents/good/Multipart-3G/multipartstyleinout.wsdl</uri>
+    <success>true</success>
+  </wsdl>
+  <wsdl>
+    <uri>file:/C:/workspace/woden/woden/downloads/w3c/documents/good/MultipleInlineSchemas-1G/retrieveItems.wsdl</uri>
+    <success>true</success>
+  </wsdl>
+  <wsdl>
+    <uri>file:/C:/workspace/woden/woden/downloads/w3c/documents/good/RPC-1G/rpcstyleinout.wsdl</uri>
+    <success>true</success>
+  </wsdl>
+  <wsdl>
+    <uri>file:/C:/workspace/woden/woden/downloads/w3c/documents/good/RPC-2G/rpcstyleinonly.wsdl</uri>
+    <success>true</success>
+  </wsdl>
+  <wsdl>
+    <uri>file:/C:/workspace/woden/woden/downloads/w3c/documents/good/RPC-3G/rpcstyleinout.wsdl</uri>
+    <success>true</success>
+  </wsdl>
+  <wsdl>
+    <uri>file:/C:/workspace/woden/woden/downloads/w3c/documents/good/RPC-4G/rpcstyleinout.wsdl</uri>
+    <success>true</success>
+  </wsdl>
+  <wsdl>
+    <uri>file:/C:/workspace/woden/woden/downloads/w3c/documents/good/RPC-5G/rpcstyleinout.wsdl</uri>
+    <success>true</success>
+  </wsdl>
+  <wsdl>
+    <uri>file:/C:/workspace/woden/woden/downloads/w3c/documents/good/RPC-6G/rpcstyleinout.wsdl</uri>
+    <success>true</success>
+  </wsdl>
+  <wsdl>
+    <uri>file:/C:/workspace/woden/woden/downloads/w3c/documents/good/SAWSDL-0G/00-plain.wsdl</uri>
+    <success>true</success>
+  </wsdl>
+  <wsdl>
+    <uri>file:/C:/workspace/woden/woden/downloads/w3c/documents/good/SAWSDL-10G/10-type-lifting.wsdl</uri>
+    <success>true</success>
+  </wsdl>
+  <wsdl>
+    <uri>file:/C:/workspace/woden/woden/downloads/w3c/documents/good/SAWSDL-11G/11-element-lowering.wsdl</uri>
+    <success>true</success>
+  </wsdl>
+  <wsdl>
+    <uri>file:/C:/workspace/woden/woden/downloads/w3c/documents/good/SAWSDL-12G/12-multiple-type-lowering.wsdl</uri>
+    <success>true</success>
+  </wsdl>
+  <wsdl>
+    <uri>file:/C:/workspace/woden/woden/downloads/w3c/documents/good/SAWSDL-12G/12-type-lowering.wsdl</uri>
+    <success>true</success>
+  </wsdl>
+  <wsdl>
+    <uri>file:/C:/workspace/woden/woden/downloads/w3c/documents/good/SAWSDL-13G/13-mapping-propagation.wsdl</uri>
+    <success>true</success>
+  </wsdl>
+  <wsdl>
+    <uri>file:/C:/workspace/woden/woden/downloads/w3c/documents/good/SAWSDL-13G/13-multiple-mapping-propagation.wsdl</uri>
+    <success>true</success>
+  </wsdl>
+  <wsdl>
+    <uri>file:/C:/workspace/woden/woden/downloads/w3c/documents/good/SAWSDL-14G/05-simpletype-annotation-with-attribute.wsdl</uri>
+    <success>true</success>
+  </wsdl>
+  <wsdl>
+    <uri>file:/C:/workspace/woden/woden/downloads/w3c/documents/good/SAWSDL-1G/01-interface-annotation.wsdl</uri>
+    <success>true</success>
+  </wsdl>
+  <wsdl>
+    <uri>file:/C:/workspace/woden/woden/downloads/w3c/documents/good/SAWSDL-1G/01-multiple-interface-annotation.wsdl</uri>
+    <success>true</success>
+  </wsdl>
+  <wsdl>
+    <uri>file:/C:/workspace/woden/woden/downloads/w3c/documents/good/SAWSDL-3G/03-operation-annotation.wsdl</uri>
+    <success>true</success>
+  </wsdl>
+  <wsdl>
+    <uri>file:/C:/workspace/woden/woden/downloads/w3c/documents/good/SAWSDL-4G/04-fault-annotation.wsdl</uri>
+    <success>true</success>
+  </wsdl>
+  <wsdl>
+    <uri>file:/C:/workspace/woden/woden/downloads/w3c/documents/good/SAWSDL-5G/05-simpletype-annotation-with-attribute.wsdl</uri>
+    <success>true</success>
+  </wsdl>
+  <wsdl>
+    <uri>file:/C:/workspace/woden/woden/downloads/w3c/documents/good/SAWSDL-5G/05-simpletype-annotation.wsdl</uri>
+    <success>true</success>
+  </wsdl>
+  <wsdl>
+    <uri>file:/C:/workspace/woden/woden/downloads/w3c/documents/good/SAWSDL-6G/06-complextype-annotation.wsdl</uri>
+    <success>true</success>
+  </wsdl>
+  <wsdl>
+    <uri>file:/C:/workspace/woden/woden/downloads/w3c/documents/good/SAWSDL-6G/06-multiple-complextype-annotation.wsdl</uri>
+    <success>true</success>
+  </wsdl>
+  <wsdl>
+    <uri>file:/C:/workspace/woden/woden/downloads/w3c/documents/good/SAWSDL-7G/07-element-annotation.wsdl</uri>
+    <success>true</success>
+  </wsdl>
+  <wsdl>
+    <uri>file:/C:/workspace/woden/woden/downloads/w3c/documents/good/SAWSDL-8G/08-attribute-annotation.wsdl</uri>
+    <success>true</success>
+  </wsdl>
+  <wsdl>
+    <uri>file:/C:/workspace/woden/woden/downloads/w3c/documents/good/SAWSDL-9G/09-element-lifting.wsdl</uri>
+    <success>true</success>
+  </wsdl>
+  <wsdl>
+    <uri>file:/C:/workspace/woden/woden/downloads/w3c/documents/good/SAWSDL-9G/09-multiple-element-lifting.wsdl</uri>
+    <success>true</success>
+  </wsdl>
+  <wsdl>
+    <uri>file:/C:/workspace/woden/woden/downloads/w3c/documents/good/SOAPHeader-1G/SOAPservice.wsdl</uri>
+    <success>true</success>
+  </wsdl>
+  <wsdl>
+    <uri>file:/C:/workspace/woden/woden/downloads/w3c/documents/good/Schema-1G/string.wsdl</uri>
+    <success>true</success>
+  </wsdl>
+  <wsdl>
+    <uri>file:/C:/workspace/woden/woden/downloads/w3c/documents/good/SchemaId-1G/schemaIds.wsdl</uri>
+    <success>true</success>
+  </wsdl>
+  <wsdl>
+    <uri>file:/C:/workspace/woden/woden/downloads/w3c/documents/good/SchemaLocationFragment-1G/Items.wsdl</uri>
+    <success>true</success>
+  </wsdl>
+  <wsdl>
+    <uri>file:/C:/workspace/woden/woden/downloads/w3c/documents/good/Service-1G/Service.wsdl</uri>
+    <success>true</success>
+  </wsdl>
+  <wsdl>
+    <uri>file:/C:/workspace/woden/woden/downloads/w3c/documents/good/Service-2G/Service.wsdl</uri>
+    <success>true</success>
+  </wsdl>
+  <wsdl>
+    <uri>file:/C:/workspace/woden/woden/downloads/w3c/documents/good/Service-3G/Service.wsdl</uri>
+    <success>true</success>
+  </wsdl>
+  <wsdl>
+    <uri>file:/C:/workspace/woden/woden/downloads/w3c/documents/good/ServiceReference-1G/reservationDetails.wsdl</uri>
+    <success>true</success>
+  </wsdl>
+  <wsdl>
+    <uri>file:/C:/workspace/woden/woden/downloads/w3c/documents/good/ServiceReference-1G/reservationList.wsdl</uri>
+    <success>true</success>
+  </wsdl>
+  <wsdl>
+    <uri>file:/C:/workspace/woden/woden/downloads/w3c/documents/good/SparqlQuery-1G/sparql-protocol-query.wsdl</uri>
+    <success>true</success>
+  </wsdl>
+  <wsdl>
+    <uri>file:/C:/workspace/woden/woden/downloads/w3c/documents/good/SparqlQuerySimplified-1G/sparql-protocol-query.wsdl</uri>
+    <success>true</success>
+  </wsdl>
+  <wsdl>
+    <uri>file:/C:/workspace/woden/woden/downloads/w3c/documents/good/Storage-1G/storage.wsdl</uri>
+    <success>false</success>
+    <error>
+      <errorLocator>
+        <lineNumber>0</lineNumber>
+        <columnNumber>0</columnNumber>
+      </errorLocator>
+      <key>Binding-1045</key>
+      <message>The binding &apos;storageBinding&apos; does not define bindings for the interface operation &apos;{http://example.org/soapStorage}acknowledgedStorage&apos;. When a binding specifies an interface it must specify bindings for all of the interfaces operations.</message>
+    </error>
+    <error>
+      <errorLocator>
+        <lineNumber>0</lineNumber>
+        <columnNumber>0</columnNumber>
+      </errorLocator>
+      <key>Binding-1045</key>
+      <message>The binding &apos;storageBinding&apos; does not define bindings for the interface operation &apos;{http://example.org/soapStorage}silentStorage&apos;. When a binding specifies an interface it must specify bindings for all of the interfaces operations.</message>
+    </error>
+  </wsdl>
+  <wsdl>
+    <uri>file:/C:/workspace/woden/woden/downloads/w3c/documents/good/Storage-2G/storage.wsdl</uri>
+    <success>false</success>
+    <error>
+      <errorLocator>
+        <lineNumber>0</lineNumber>
+        <columnNumber>0</columnNumber>
+      </errorLocator>
+      <key>Binding-1045</key>
+      <message>The binding &apos;storageBinding&apos; does not define bindings for the interface operation &apos;{http://example.org/soapStorage}acknowledgedStorage&apos;. When a binding specifies an interface it must specify bindings for all of the interfaces operations.</message>
+    </error>
+  </wsdl>
+  <wsdl>
+    <uri>file:/C:/workspace/woden/woden/downloads/w3c/documents/good/Storage-3G/storage.wsdl</uri>
+    <success>true</success>
+  </wsdl>
+  <wsdl>
+    <uri>file:/C:/workspace/woden/woden/downloads/w3c/documents/good/Storage-4G/storage.wsdl</uri>
+    <success>false</success>
+    <error>
+      <errorLocator>
+        <lineNumber>0</lineNumber>
+        <columnNumber>0</columnNumber>
+      </errorLocator>
+      <key>Binding-1045</key>
+      <message>The binding &apos;storageBinding&apos; does not define bindings for the interface operation &apos;{http://example.org/soapStorage}store&apos;. When a binding specifies an interface it must specify bindings for all of the interfaces operations.</message>
+    </error>
+  </wsdl>
+  <wsdl>
+    <uri>file:/C:/workspace/woden/woden/downloads/w3c/documents/good/Storage-5G/storage.wsdl</uri>
+    <success>true</success>
+  </wsdl>
+  <wsdl>
+    <uri>file:/C:/workspace/woden/woden/downloads/w3c/documents/good/TicketAgent-1G/TicketAgent.wsdl</uri>
+    <success>true</success>
+  </wsdl>
+  <wsdl>
+    <uri>file:/C:/workspace/woden/woden/downloads/w3c/documents/good/UnknownExtension-1G/Interface.wsdl</uri>
+    <success>true</success>
+  </wsdl>
+  <wsdl>
+    <uri>file:/C:/workspace/woden/woden/downloads/w3c/documents/good/UnknownExtension-2G/Interface.wsdl</uri>
+    <success>true</success>
+  </wsdl>
+  <wsdl>
+    <uri>file:/C:/workspace/woden/woden/downloads/w3c/documents/good/W3CBugzillaHttp-1G/w3c-bugzilla.wsdl</uri>
+    <success>true</success>
+  </wsdl>
+  <wsdl>
+    <uri>file:/C:/workspace/woden/woden/downloads/w3c/documents/good/WSAddressing-1G/wsaTestService2.wsdl</uri>
+    <success>false</success>
+    <error>
+      <errorLocator>
+        <lineNumber>0</lineNumber>
+        <columnNumber>0</columnNumber>
+      </errorLocator>
+      <key>Endpoint-1062</key>
+      <message>The binding &apos;org.apache.woden.internal.wsdl20.BindingImpl@81c868&apos; specified for this endpoint specifies the interface &apos;org.apache.woden.internal.wsdl20.InterfaceImpl@8c241a&apos; and not the interface &apos;org.apache.woden.internal.wsdl20.InterfaceImpl@964c2b&apos; specified by the service. The binding specified for this endpoint must either not specify an interface or specify the same interface as the service.</message>
+    </error>
+  </wsdl>
+  <wsdl>
+    <uri>file:/C:/workspace/woden/woden/downloads/w3c/documents/good/WeathSvc-1G/WeathSvc.wsdl</uri>
+    <success>true</success>
+  </wsdl>
+  <wsdl>
+    <uri>file:/C:/workspace/woden/woden/downloads/w3c/documents/good/XsImport-1G/reservation.wsdl</uri>
+    <success>true</success>
+  </wsdl>
+  <wsdl>
+    <uri>file:/C:/workspace/woden/woden/downloads/w3c/documents/good/XsImport-2G/reservationDetails.wsdl</uri>
+    <success>true</success>
+  </wsdl>
+  <wsdl>
+    <uri>file:/C:/workspace/woden/woden/downloads/w3c/documents/good/XsImport-2G/reservationItems.wsdl</uri>
+    <success>true</success>
+  </wsdl>
+  <wsdl>
+    <uri>file:/C:/workspace/woden/woden/downloads/w3c/documents/good/XsImport-3G/reservationDetails.wsdl</uri>
+    <success>true</success>
+  </wsdl>
+  <wsdl>
+    <uri>file:/C:/workspace/woden/woden/downloads/w3c/documents/good/XsImport-3G/reservationItems.wsdl</uri>
+    <success>true</success>
+  </wsdl>
+</report>

Added: webservices/woden/trunk/java/woden-ant/identify-test-case-roots.xsl
URL: http://svn.apache.org/viewvc/webservices/woden/trunk/java/woden-ant/identify-test-case-roots.xsl?rev=809824&view=auto
==============================================================================
--- webservices/woden/trunk/java/woden-ant/identify-test-case-roots.xsl (added)
+++ webservices/woden/trunk/java/woden-ant/identify-test-case-roots.xsl Tue Sep  1 05:35:02 2009
@@ -0,0 +1,130 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ ! Licensed to the Apache Software Foundation (ASF) under one or more
+ ! contributor license agreements.  See the NOTICE file distributed with
+ ! this work for additional information regarding copyright ownership.
+ ! The ASF licenses this file to You under the Apache License, Version 2.0
+ ! (the "License"); you may not use this file except in compliance with
+ ! the License.  You may obtain a copy of the License at
+ !
+ !      http://www.apache.org/licenses/LICENSE-2.0
+ !
+ ! Unless required by applicable law or agreed to in writing, software
+ ! distributed under the License is distributed on an "AS IS" BASIS,
+ ! WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ ! See the License for the specific language governing permissions and
+ ! limitations under the License.
+ !-->
+<!--
+	Adds identifiers of the test case root documents to the validation report.
+	
+	ChangeLog:
+	
+	2006-11-15 Arthur Ryman <ryman@ca.ibm.com>
+	- created
+-->
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+	version="1.0" xmlns='http://www.w3.org/2006/06/wsdl/ValidationReport'
+	xmlns:v='http://www.w3.org/2006/06/wsdl/ValidationReport'
+	xmlns:t='http://www.w3.org/2006/02/wsdl/TestMetadata'
+	exclude-result-prefixes="v t">
+
+	<!-- Input Parameters -->
+
+	<!-- $test-suite-dir is the test suite directory, 
+		e.g. D:\workspaces\WSD2\woden\downloads\w3c -->
+	<xsl:param name="test-suite-dir" />
+
+	<!-- $test-suite-xml is the test-suite.xml file, 
+		e.g. D:\workspaces\WSD2\woden\downloads\w3c\test-suite.xml -->
+	<xsl:param name="test-suite-xml" />
+
+	<!-- $Identifier-base is the base of the Identifier uri's, 
+		e.g. http://dev.w3.org/cvsweb/2002/ws/desc/test-suite -->
+	<xsl:param name="Identifier-base" />
+
+	<!-- Global Variables -->
+
+	<!-- $test-suite-dir-uri is the test suite directory uri, 
+		e.g. file:/D:/workspaces/WSD2/woden/downloads/w3c -->
+	<xsl:variable name="test-suite-dir-uri"
+		select="concat('file:/',translate ($test-suite-dir ,'\','/'))" />
+
+	<!-- $test-cases is the list of test case noded in test-suite.xml -->
+	<xsl:variable name="test-cases"
+		select="document($test-suite-xml)/test-suite/test-case" />
+
+	<xsl:output method="xml" indent="yes" />
+
+	<xsl:template match="v:wsdl">
+		<wsdl>
+			<xsl:call-template name="add-identifier" />
+			<xsl:apply-templates />
+		</wsdl>
+	</xsl:template>
+
+	<xsl:template match="*">
+		<xsl:element name="{name()}">
+			<xsl:apply-templates />
+		</xsl:element>
+	</xsl:template>
+
+	<xsl:template match="text()">
+		<xsl:value-of select="." />
+	</xsl:template>
+
+	<xsl:template name="add-identifier">
+
+		<!-- $uri is WSDL file uri, 
+			e.g. file:/D:/workspaces/WSD2/woden/downloads/w3c/documents/bad/Binding-1B/BadBinding.wsdl -->
+		<xsl:variable name="uri" select="normalize-space(v:uri)" />
+
+		<!--  $relative-uri is the uri of the WSDL file relative to the test suite directory, 
+			e.g. /documents/bad/Binding-1B/BadBinding.wsdl -->
+		<xsl:variable name="relative-uri"
+			select="substring-after($uri,$test-suite-dir-uri)" />
+
+		<!-- $Identifier-uri is the uri of the WSDL file based on the test case Identifier, 
+			e.g. http://dev.w3.org/cvsweb/2002/ws/desc/test-suite/documents/bad/Binding-1B/BadBinding.wsdl -->
+		<xsl:variable name="Identifier-uri"
+			select="concat($Identifier-base,$relative-uri)" />
+
+		<xsl:variable name="test-case"
+			select="$test-cases[contains($uri,@id)]" />
+		<xsl:if test="$test-case">
+
+			<!-- $TestMetadata-xml is the TestMetadata.xml file for the test case, 
+				e.g. documents/bad/Binding-1B/TestMetadata.xml -->
+			<xsl:variable name="TestMetadata-xml"
+				select="$test-case/@href" />
+
+			<!-- $Identifier is the test case Identifier,
+				e.g. http://dev.w3.org/cvsweb/2002/ws/desc/test-suite/documents/bad/Binding-1B -->
+			<xsl:variable name="Identifier"
+				select="normalize-space(document($TestMetadata-xml)/t:TestMetadata/t:Identifier)" />
+
+			<!-- $Input-root> is the root WSDL file for the test case,
+				e.g. BadBinding.wsdl -->
+			<xsl:variable name="Input-root"
+				select="normalize-space(document($TestMetadata-xml)/t:TestMetadata/t:Inputs/t:Input[@role='root'])" />
+
+			<!-- $Identifier-root is the absolute uri of the test case root WSDL based on the Identifier,
+				e.g. http://dev.w3.org/cvsweb/2002/ws/desc/test-suite/documents/bad/Binding-1B/BadBinding.wsdl -->
+			<xsl:variable name="Identifier-root"
+				select="concat($Identifier,'/',$Input-root)" />
+
+			<!-- $relative-Identifier-root is the root WSDL relative to the absolute Identifier uri,
+				e.g. /documents/bad/Binding-1B/BadBinding.wsdl -->
+			<xsl:variable name="relative-Identifier-root"
+				select="substring-after($Identifier-root,$Identifier-base)" />
+
+			<!-- if this WSDL is a test case root then insert its Identifier -->
+			<xsl:if test="($relative-uri=$relative-Identifier-root)">
+				<identifier>
+					<xsl:value-of select="$Identifier" />
+				</identifier>
+			</xsl:if>
+		</xsl:if>
+	</xsl:template>
+
+</xsl:stylesheet>
\ No newline at end of file

Added: webservices/woden/trunk/java/woden-ant/name.xsd
URL: http://svn.apache.org/viewvc/webservices/woden/trunk/java/woden-ant/name.xsd?rev=809824&view=auto
==============================================================================
--- webservices/woden/trunk/java/woden-ant/name.xsd (added)
+++ webservices/woden/trunk/java/woden-ant/name.xsd Tue Sep  1 05:35:02 2009
@@ -0,0 +1,30 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ ! Licensed to the Apache Software Foundation (ASF) under one or more
+ ! contributor license agreements.  See the NOTICE file distributed with
+ ! this work for additional information regarding copyright ownership.
+ ! The ASF licenses this file to You under the Apache License, Version 2.0
+ ! (the "License"); you may not use this file except in compliance with
+ ! the License.  You may obtain a copy of the License at
+ !
+ !      http://www.apache.org/licenses/LICENSE-2.0
+ !
+ ! Unless required by applicable law or agreed to in writing, software
+ ! distributed under the License is distributed on an "AS IS" BASIS,
+ ! WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ ! See the License for the specific language governing permissions and
+ ! limitations under the License.
+ !-->
+<schema xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace="http://example.org/name" xmlns:tns="http://example.org/name">
+  <!-- This document is used as a sample XML schema document. -->
+  <element name="Name">
+  	<complexType>
+  		<sequence>
+  			<element name="FirstName" type="string"></element>
+  			<element name="LastName" type="string"></element>
+  		</sequence>
+  	</complexType>
+  </element>
+  <element name="SIN" type="string"/>
+
+</schema>
\ No newline at end of file

Added: webservices/woden/trunk/java/woden-ant/pom.xml
URL: http://svn.apache.org/viewvc/webservices/woden/trunk/java/woden-ant/pom.xml?rev=809824&view=auto
==============================================================================
--- webservices/woden/trunk/java/woden-ant/pom.xml (added)
+++ webservices/woden/trunk/java/woden-ant/pom.xml Tue Sep  1 05:35:02 2009
@@ -0,0 +1,139 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ !
+ ! Licensed to the Apache Software Foundation (ASF) under one or more
+ ! contributor license agreements.  See the NOTICE file distributed with
+ ! this work for additional information regarding copyright ownership.
+ ! The ASF licenses this file to You under the Apache License, Version 2.0
+ ! (the "License"); you may not use this file except in compliance with
+ ! the License.  You may obtain a copy of the License at
+ !
+ !      http://www.apache.org/licenses/LICENSE-2.0
+ !
+ ! Unless required by applicable law or agreed to in writing, software
+ ! distributed under the License is distributed on an "AS IS" BASIS,
+ ! WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ ! See the License for the specific language governing permissions and
+ ! limitations under the License.
+ !-->
+<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/maven-v4_0_0.xsd">
+   <modelVersion>4.0.0</modelVersion>
+   <parent>
+       <groupId>org.apache.woden</groupId>
+       <artifactId>woden</artifactId>
+       <version>1.0-SNAPSHOT</version>
+   </parent>
+
+   <artifactId>woden-ant</artifactId>
+   <name>Woden - Ant</name>
+
+   <build>
+       <resources>
+           <resource>
+               <targetPath>META-INF</targetPath>
+               <directory>../</directory>
+               <includes>
+                   <include>LICENSE</include>
+                   <include>README</include>
+                   <include>NOTICE</include>
+               </includes>
+           </resource>
+           <resource>
+             <directory>src/main/resources</directory>
+           </resource>
+       </resources>
+       <plugins>
+           <plugin>
+               <groupId>org.apache.maven.plugins</groupId>
+               <artifactId>maven-compiler-plugin</artifactId>
+               <configuration>
+                   <source>1.4</source>
+                   <target>1.4</target>
+                   <compilerArgument>-g</compilerArgument>
+               </configuration>
+           </plugin>
+           <plugin>
+               <artifactId>maven-one-plugin</artifactId>
+               <executions>
+                   <execution>
+                       <goals>
+                           <goal>install-maven-one-repository</goal>
+                           <goal>deploy-maven-one-repository</goal>
+                       </goals>
+                   </execution>
+               </executions>
+               <configuration>
+                   <remoteRepositoryId>apache</remoteRepositoryId>
+                   <remoteRepositoryUrl>
+                       scpexe://people.apache.org/www/people.apache.org/repo/m1-snapshot-repository
+                   </remoteRepositoryUrl>
+               </configuration>
+           </plugin>
+		   
+		   <!--  to run W3C testsuite and results are compared to W3C baseline -->
+		   <plugin>
+            <groupId>org.apache.maven.plugins</groupId>
+            <artifactId>maven-antrun-plugin</artifactId>
+            <version>1.3</version>
+			<executions>
+               <execution>
+                  <phase>test</phase>
+                  <configuration>
+                       <tasks>					   
+					    <property name="compile_classpath" refid="maven.compile.classpath"/>
+                        <property name="runtime_classpath" refid="maven.runtime.classpath"/>
+                        <property name="test_classpath" refid="maven.test.classpath"/>                       					
+						<ant antfile="${basedir}/build.xml"> 
+			              <target name="getW3cWsdl20"/>		
+						  <target name="main"/> 						   
+                        </ant>
+                       </tasks>
+                 </configuration>
+                 <goals>
+                   <goal>run</goal>
+               </goals>
+          </execution>
+        </executions>
+		<dependencies>
+		  <dependency>
+           <groupId>org.apache.ant</groupId>
+           <artifactId>ant-trax</artifactId>
+           <version>1.7.0</version>
+		   <scope>test</scope>
+		   </dependency>
+		   <dependency>
+           <groupId>org.apache.ant</groupId>
+           <artifactId>ant-nodeps</artifactId>
+           <version>1.7.0</version>
+		   <scope>test</scope>
+       </dependency>
+		</dependencies>
+      </plugin>		   
+       </plugins>
+   </build>
+
+   <dependencies>
+       <dependency>
+           <groupId>org.apache.woden</groupId>
+           <artifactId>woden-api</artifactId>
+           <version>1.0-SNAPSHOT</version>
+       </dependency>
+	   <dependency>
+           <groupId>org.apache.woden</groupId>
+           <artifactId>woden-impl-commons</artifactId>
+           <version>1.0-SNAPSHOT</version>
+       </dependency>
+	   <dependency>
+           <groupId>org.apache.woden</groupId>
+           <artifactId>woden-impl-dom</artifactId>
+           <version>1.0-SNAPSHOT</version>
+       </dependency>
+	   <dependency>
+           <groupId>org.apache.woden</groupId>
+           <artifactId>woden-impl-om</artifactId>
+           <version>1.0-SNAPSHOT</version>
+       </dependency>	  
+   </dependencies>
+</project>

Added: webservices/woden/trunk/java/woden-ant/src/main/java/org/apache/woden/ant/CmBaseWriter.java
URL: http://svn.apache.org/viewvc/webservices/woden/trunk/java/woden-ant/src/main/java/org/apache/woden/ant/CmBaseWriter.java?rev=809824&view=auto
==============================================================================
--- webservices/woden/trunk/java/woden-ant/src/main/java/org/apache/woden/ant/CmBaseWriter.java (added)
+++ webservices/woden/trunk/java/woden-ant/src/main/java/org/apache/woden/ant/CmBaseWriter.java Tue Sep  1 05:35:02 2009
@@ -0,0 +1,129 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ * 
+ *     http://www.apache.org/licenses/LICENSE-2.0 
+ * 
+ * Unless required by applicable law or agreed to in writing, software 
+ * distributed under the License is distributed on an "AS IS" BASIS, 
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 
+ * See the License for the specific language governing permissions and 
+ * limitations under the License.
+ */
+
+package org.apache.woden.ant;
+
+import java.net.URI;
+import java.util.Arrays;
+
+import javax.xml.namespace.QName;
+
+public class CmBaseWriter extends NamespaceWriter {
+    
+    public final static String NS = "http://www.w3.org/2002/ws/desc/wsdl/component-base";
+    
+    public final static String PREFIX = "cmbase";
+    
+    // element names
+    public final static String LOCAL_NAME = PREFIX + ":localName";
+    public final static String NAMESPACE_NAME = PREFIX + ":namespaceName";
+    public final static String PARENT = PREFIX + ":parent";
+    public final static String REF = PREFIX + ":ref";
+    public final static String REQUIRED = PREFIX + ":required";
+    public final static String URI = PREFIX + ":uri";
+    public final static String VALUE = PREFIX + ":value";
+    public final static String VALUE_CONSTRAINT = PREFIX + ":valueConstraint";
+    
+    private ObjectIdTable oit = new ObjectIdTable();
+
+    public CmBaseWriter(XMLWriter out) {
+        
+        super(out, NS, PREFIX);
+    }
+    
+    public void parent(Object parent) {
+        
+        writeRef(PARENT, parent);
+    }
+
+    public void write(String tag, QName qname) {
+
+        if (qname == null)
+            return;
+
+        out.beginElement(tag);
+
+        out.element(NAMESPACE_NAME, qname.getNamespaceURI());
+        out.element(LOCAL_NAME, qname.getLocalPart());
+
+        out.endElement();
+    }
+
+    public void writeUris(String tag, URI[] uris) {
+
+        if (uris.length == 0)
+            return;
+
+        Arrays.sort(uris);
+
+        out.beginElement(tag);
+
+        for (int i = 0; i < uris.length; i++)
+            write(URI, uris[i]);
+
+        out.endElement();
+    }
+
+    public void writeOptionalRef(String tag, Object o) {
+
+        if (o == null)
+            return;
+
+        writeRef(tag, o);
+    }
+
+    public void writeRef(String tag, Object o) {
+
+        out.emptyElement(tag, refAttribute(o));
+    }
+
+    private String id(Object o) {
+
+        if (o == null) {
+            return "id-null";
+        }
+
+        return "id-" + oit.id(o);
+    }
+
+    public String idAttribute(Object o) {
+
+        return "xml:id='" + id(o) + "'";
+    }
+
+    public String refAttribute(Object o) {
+
+        return "ref='" + id(o) + "'";
+    }
+    
+    public static int compareQName(QName q1, QName q2) {
+
+        if (q1.equals(q2))
+            return 0;
+
+        String n1 = q1.getNamespaceURI();
+        String n2 = q2.getNamespaceURI();
+        if (n1.equals(n2)) {
+            String l1 = q1.getLocalPart();
+            String l2 = q2.getLocalPart();
+
+            return l1.compareTo(l2);
+        } else {
+            return n1.compareTo(n2);
+        }
+    }
+}

Added: webservices/woden/trunk/java/woden-ant/src/main/java/org/apache/woden/ant/CmExtensionsWriter.java
URL: http://svn.apache.org/viewvc/webservices/woden/trunk/java/woden-ant/src/main/java/org/apache/woden/ant/CmExtensionsWriter.java?rev=809824&view=auto
==============================================================================
--- webservices/woden/trunk/java/woden-ant/src/main/java/org/apache/woden/ant/CmExtensionsWriter.java (added)
+++ webservices/woden/trunk/java/woden-ant/src/main/java/org/apache/woden/ant/CmExtensionsWriter.java Tue Sep  1 05:35:02 2009
@@ -0,0 +1,54 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ * 
+ *     http://www.apache.org/licenses/LICENSE-2.0 
+ * 
+ * Unless required by applicable law or agreed to in writing, software 
+ * distributed under the License is distributed on an "AS IS" BASIS, 
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 
+ * See the License for the specific language governing permissions and 
+ * limitations under the License.
+ */
+
+package org.apache.woden.ant;
+
+import org.apache.woden.wsdl20.extensions.InterfaceOperationExtensions;
+
+/**
+ * @author Arthur Ryman (ryman@ca.ibm.com, arthur.ryman@gmail.com)
+ *
+ */
+public class CmExtensionsWriter extends NamespaceWriter {
+
+    public final static String NS = "http://www.w3.org/2002/ws/desc/wsdl/component-extensions";
+
+    public final static String PREFIX = "cmextensions";
+
+    public static final String WSDL_INTERFACE_OPERATION_EXTENSION = PREFIX
+            + ":wsdlInterfaceOperationExtension";
+
+    public static final String SAFETY = PREFIX + ":safety";
+
+    public CmExtensionsWriter(XMLWriter out) {
+
+        super(out, NS, PREFIX);
+    }
+
+    public void wsdlInterfaceOperationExtension(
+            InterfaceOperationExtensions extensions) {
+
+        if (extensions == null)
+            return;
+
+        out.beginElement(WSDL_INTERFACE_OPERATION_EXTENSION);
+
+        out.write(SAFETY, extensions.isSafe());
+
+        out.endElement();
+    }
+}

Added: webservices/woden/trunk/java/woden-ant/src/main/java/org/apache/woden/ant/CmHttpWriter.java
URL: http://svn.apache.org/viewvc/webservices/woden/trunk/java/woden-ant/src/main/java/org/apache/woden/ant/CmHttpWriter.java?rev=809824&view=auto
==============================================================================
--- webservices/woden/trunk/java/woden-ant/src/main/java/org/apache/woden/ant/CmHttpWriter.java (added)
+++ webservices/woden/trunk/java/woden-ant/src/main/java/org/apache/woden/ant/CmHttpWriter.java Tue Sep  1 05:35:02 2009
@@ -0,0 +1,213 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ * 
+ *     http://www.apache.org/licenses/LICENSE-2.0 
+ * 
+ * Unless required by applicable law or agreed to in writing, software 
+ * distributed under the License is distributed on an "AS IS" BASIS, 
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 
+ * See the License for the specific language governing permissions and 
+ * limitations under the License.
+ */
+
+package org.apache.woden.ant;
+
+import java.util.Arrays;
+import java.util.Comparator;
+
+import org.apache.woden.wsdl20.extensions.http.HTTPAuthenticationScheme;
+import org.apache.woden.wsdl20.extensions.http.HTTPBindingExtensions;
+import org.apache.woden.wsdl20.extensions.http.HTTPBindingFaultExtensions;
+import org.apache.woden.wsdl20.extensions.http.HTTPBindingMessageReferenceExtensions;
+import org.apache.woden.wsdl20.extensions.http.HTTPBindingOperationExtensions;
+import org.apache.woden.wsdl20.extensions.http.HTTPEndpointExtensions;
+import org.apache.woden.wsdl20.extensions.http.HTTPErrorStatusCode;
+import org.apache.woden.wsdl20.extensions.http.HTTPHeader;
+import org.apache.woden.wsdl20.extensions.http.HTTPLocation;
+
+/**
+ * @author Arthur Ryman (ryman@ca.ibm.com, arthur.ryman@gmail.com)
+ *
+ */
+public class CmHttpWriter extends NamespaceWriter {
+
+    public final static String NS = "http://www.w3.org/2002/ws/desc/wsdl/component-http";
+
+    public final static String PREFIX = "cmhttp";
+
+    private CmBaseWriter cmbase;
+
+    public CmHttpWriter(XMLWriter out) {
+
+        super(out, NS, PREFIX);
+
+        cmbase = (CmBaseWriter) out.lookup(CmBaseWriter.NS);
+    }
+
+    public void httpBindingExtension(HTTPBindingExtensions http) {
+
+        if (http == null)
+            return;
+
+        out.beginElement(PREFIX + ":httpBindingExtension");
+
+        out.write(PREFIX + ":httpCookies", http.isHttpCookies());
+        out.write(PREFIX + ":httpMethodDefault", http.getHttpMethodDefault());
+        out.write(PREFIX + ":httpQueryParameterSeparatorDefault", http
+                .getHttpQueryParameterSeparatorDefault());
+        out.write(PREFIX + ":httpContentEncodingDefault", http
+                .getHttpContentEncodingDefault());
+
+        out.endElement();
+    }
+
+    public void httpBindingFaultExtension(HTTPBindingFaultExtensions http) {
+
+        if (http != null) {
+
+            out.beginElement(PREFIX + ":httpBindingFaultExtension");
+
+            write(PREFIX + ":httpErrorStatusCode", http
+                    .getHttpErrorStatusCode());
+            write(PREFIX + ":httpHeaders", http.getHttpHeaders());
+            out.write(PREFIX + ":httpContentEncoding", http
+                    .getHttpContentEncoding());
+
+            out.endElement();
+        }
+    }
+
+    public void httpBindingOperationExtension(
+            HTTPBindingOperationExtensions http) {
+
+        if (http == null)
+            return;
+        out.beginElement(PREFIX + ":httpBindingOperationExtension");
+
+        out.write(PREFIX + ":httpFaultSerialization", http
+                .getHttpFaultSerialization());
+        out.write(PREFIX + ":httpInputSerialization", http
+                .getHttpInputSerialization());
+        write(PREFIX + ":httpLocation", http.getHttpLocation());
+        out.write(PREFIX + ":httpLocationIgnoreUncited", http
+                .isHttpLocationIgnoreUncited());
+        out.write(PREFIX + ":httpMethod", http.getHttpMethod());
+        out.write(PREFIX + ":httpOutputSerialization", http
+                .getHttpOutputSerialization());
+        out.write(PREFIX + ":httpQueryParameterSeparator", http
+                .getHttpQueryParameterSeparator());
+        out.write(PREFIX + ":httpContentEncodingDefault", http
+                .getHttpContentEncodingDefault());
+
+        out.endElement();
+
+    }
+
+    public void httpBindingMessageReferenceExtension(
+            HTTPBindingMessageReferenceExtensions http) {
+
+        if (http == null)
+            return;
+
+        out.beginElement(PREFIX + ":httpBindingMessageReferenceExtension");
+
+        write(PREFIX + ":httpHeaders", http.getHttpHeaders());
+        out.write(PREFIX + ":httpContentEncoding", http.getHttpContentEncoding());
+
+        out.endElement();
+
+    }
+
+    public void httpEndpointExtension(HTTPEndpointExtensions http) {
+
+        if (http == null)
+            return;
+
+        out.beginElement(PREFIX + ":httpEndpointExtension");
+
+        out.write(PREFIX + ":httpAuthenticationRealm", http
+                .getHttpAuthenticationRealm());
+        write(PREFIX + ":httpAuthenticationScheme", http
+                .getHttpAuthenticationScheme());
+
+        out.endElement();
+    }
+
+    private void write(String tag, HTTPErrorStatusCode httpErrorStatusCode) {
+
+        if (httpErrorStatusCode == null)
+            return;
+
+        out.beginElement(tag);
+
+        if (httpErrorStatusCode.isCodeUsed()) {
+
+            out.write(PREFIX + ":code", httpErrorStatusCode.toString());
+        }
+
+        out.endElement();
+    }
+
+    public void write(String tag, HTTPHeader[] components) {
+
+        if (components.length == 0)
+            return;
+
+        Arrays.sort(components, new Comparator() {
+
+            public int compare(Object o1, Object o2) {
+
+                String n1 = ((HTTPHeader) o1).getName();
+                String n2 = ((HTTPHeader) o2).getName();
+
+                return n1.compareTo(n2);
+            }
+        });
+
+        out.beginElement(tag);
+
+        for (int i = 0; i < components.length; i++)
+            write(PREFIX + ":httpHeaderComponent", components[i]);
+
+        out.endElement();
+    }
+
+    private void write(String tag, HTTPHeader component) {
+
+        out.beginElement(tag, cmbase.idAttribute(component));
+
+        out.write(PREFIX + ":name", component.getName());
+
+        cmbase.writeRef(PREFIX + ":typeDefinition", component
+                .getTypeDefinition());
+
+        out.write(PREFIX + ":required", component.isRequired());
+
+        cmbase.parent(component.getParent());
+
+        out.endElement();
+    }
+
+    public void write(String tag, HTTPAuthenticationScheme scheme) {
+
+        if (scheme == null)
+            return;
+
+        out.write(tag, scheme.toString());
+    }
+    
+    private void write(String tag, HTTPLocation location) {
+        
+        if(location == null) {
+            return;
+        }
+        
+        out.write(tag, location.getOriginalLocation());
+    }
+
+}

Added: webservices/woden/trunk/java/woden-ant/src/main/java/org/apache/woden/ant/CmRpcWriter.java
URL: http://svn.apache.org/viewvc/webservices/woden/trunk/java/woden-ant/src/main/java/org/apache/woden/ant/CmRpcWriter.java?rev=809824&view=auto
==============================================================================
--- webservices/woden/trunk/java/woden-ant/src/main/java/org/apache/woden/ant/CmRpcWriter.java (added)
+++ webservices/woden/trunk/java/woden-ant/src/main/java/org/apache/woden/ant/CmRpcWriter.java Tue Sep  1 05:35:02 2009
@@ -0,0 +1,86 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ * 
+ *     http://www.apache.org/licenses/LICENSE-2.0 
+ * 
+ * Unless required by applicable law or agreed to in writing, software 
+ * distributed under the License is distributed on an "AS IS" BASIS, 
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 
+ * See the License for the specific language governing permissions and 
+ * limitations under the License.
+ */
+
+package org.apache.woden.ant;
+
+import org.apache.woden.wsdl20.extensions.rpc.Argument;
+import org.apache.woden.wsdl20.extensions.rpc.Direction;
+import org.apache.woden.wsdl20.extensions.rpc.RPCInterfaceOperationExtensions;
+
+/**
+ * @author Arthur Ryman (ryman@ca.ibm.com, arthur.ryman@gmail.com)
+ *
+ */
+public class CmRpcWriter extends NamespaceWriter {
+
+    public final static String NS = "http://www.w3.org/2002/ws/desc/wsdl/component-rpc";
+
+    public final static String PREFIX = "cmrpc";
+
+    public static final String RPC_INTERFACE_OPERATION_EXTENSION = PREFIX
+            + ":rpcInterfaceOperationExtension";
+
+    public static final String RPC_SIGNATURE = PREFIX + ":rpcSignature";
+
+    /**
+     * @param out
+     */
+    public CmRpcWriter(XMLWriter out) {
+
+        super(out, NS, PREFIX);
+    }
+
+    public void rpcInterfaceOperationExtension(
+            RPCInterfaceOperationExtensions rpcExtensions) {
+
+        if (rpcExtensions == null)
+            return;
+
+        out.beginElement(RPC_INTERFACE_OPERATION_EXTENSION);
+
+        write(RPC_SIGNATURE, rpcExtensions.getRPCSignature());
+
+        out.endElement();
+    }
+
+    private void write(String tag, Argument[] rpcSignature) {
+
+        out.beginElement(tag);
+        for (int i = 0; i < rpcSignature.length; i++) {
+
+            write(PREFIX + ":argument", rpcSignature[i]);
+        }
+        out.endElement();
+    }
+
+    private void write(String tag, Argument argument) {
+
+        CmBaseWriter cmbase = (CmBaseWriter) out.lookup(CmBaseWriter.NS);
+
+        out.beginElement(tag);
+
+        cmbase.write(PREFIX + ":name", argument.getName());
+        write(PREFIX + ":direction", argument.getDirection());
+
+        out.endElement();
+    }
+
+    private void write(String tag, Direction direction) {
+
+        out.element(tag, direction.toString());
+    }
+}

Added: webservices/woden/trunk/java/woden-ant/src/main/java/org/apache/woden/ant/CmSoapWriter.java
URL: http://svn.apache.org/viewvc/webservices/woden/trunk/java/woden-ant/src/main/java/org/apache/woden/ant/CmSoapWriter.java?rev=809824&view=auto
==============================================================================
--- webservices/woden/trunk/java/woden-ant/src/main/java/org/apache/woden/ant/CmSoapWriter.java (added)
+++ webservices/woden/trunk/java/woden-ant/src/main/java/org/apache/woden/ant/CmSoapWriter.java Tue Sep  1 05:35:02 2009
@@ -0,0 +1,281 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ * 
+ *     http://www.apache.org/licenses/LICENSE-2.0 
+ * 
+ * Unless required by applicable law or agreed to in writing, software 
+ * distributed under the License is distributed on an "AS IS" BASIS, 
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 
+ * See the License for the specific language governing permissions and 
+ * limitations under the License.
+ */
+
+package org.apache.woden.ant;
+
+import java.net.URI;
+import java.util.Arrays;
+import java.util.Comparator;
+
+import javax.xml.namespace.QName;
+
+import org.apache.woden.wsdl20.ElementDeclaration;
+import org.apache.woden.wsdl20.extensions.http.HTTPLocation;
+import org.apache.woden.wsdl20.extensions.soap.SOAPBindingExtensions;
+import org.apache.woden.wsdl20.extensions.soap.SOAPBindingFaultExtensions;
+import org.apache.woden.wsdl20.extensions.soap.SOAPBindingFaultReferenceExtensions;
+import org.apache.woden.wsdl20.extensions.soap.SOAPBindingMessageReferenceExtensions;
+import org.apache.woden.wsdl20.extensions.soap.SOAPBindingOperationExtensions;
+import org.apache.woden.wsdl20.extensions.soap.SOAPEndpointExtensions;
+import org.apache.woden.wsdl20.extensions.soap.SOAPFaultCode;
+import org.apache.woden.wsdl20.extensions.soap.SOAPFaultSubcodes;
+import org.apache.woden.wsdl20.extensions.soap.SOAPHeaderBlock;
+import org.apache.woden.wsdl20.extensions.soap.SOAPModule;
+
+/**
+ * @author Arthur Ryman (ryman@ca.ibm.com, arthur.ryman@gmail.com)
+ *
+ */
+public class CmSoapWriter extends NamespaceWriter {
+
+    public final static String NS = "http://www.w3.org/2002/ws/desc/wsdl/component-soap";
+
+    public final static String PREFIX = "cmsoap";
+
+    private CmBaseWriter cmbase;
+
+    private CmHttpWriter cmhttp;
+
+    /**
+     * @param out
+     */
+    public CmSoapWriter(XMLWriter out) {
+
+        super(out, NS, PREFIX);
+
+        cmbase = (CmBaseWriter) out.lookup(CmBaseWriter.NS);
+        cmhttp = (CmHttpWriter) out.lookup(CmHttpWriter.NS);
+    }
+
+    public void soapBindingExtension(SOAPBindingExtensions soap) {
+
+        if (soap == null)
+            return;
+
+        out.beginElement(PREFIX + ":soapBindingExtension");
+        
+        out.write(CmHttpWriter.PREFIX + ":httpCookies", soap.isHttpCookies());
+        out.write(CmHttpWriter.PREFIX + ":httpContentEncodingDefault", soap.getHttpContentEncodingDefault());
+        out.write(CmHttpWriter.PREFIX + ":httpQueryParameterSeparatorDefault", soap.getHttpQueryParameterSeparatorDefault());
+        write(PREFIX + ":soapMepDefault", soap.getSoapMepDefault());
+        write(PREFIX + ":soapModules", soap.getSoapModules());
+        write(PREFIX + ":soapUnderlyingProtocol", soap.getSoapUnderlyingProtocol());
+        out.write(PREFIX + ":soapVersion", soap.getSoapVersion());
+
+        out.endElement();
+    }
+
+    public void soapBindingFaultExtension(SOAPBindingFaultExtensions soap) {
+
+        if (soap == null)
+            return;
+
+        out.beginElement(PREFIX + ":soapBindingFaultExtension");
+
+        cmhttp.write(CmHttpWriter.PREFIX + ":httpHeaders", soap.getHttpHeaders());
+        out.write(CmHttpWriter.PREFIX + ":httpContentEncoding", soap.getHttpContentEncoding());
+        write(PREFIX + ":soapFaultCode", soap.getSoapFaultCode());
+        write(PREFIX + ":soapFaultSubcodes", soap.getSoapFaultSubcodes());
+        write(PREFIX + ":soapHeaders", soap.getSoapHeaders());
+        write(PREFIX + ":soapModules", soap.getSoapModules());
+
+        out.endElement();
+    }
+
+    public void soapBindingOperationExtension(
+            SOAPBindingOperationExtensions soap) {
+
+        if (soap == null)
+            return;
+
+        out.beginElement(PREFIX + ":soapBindingOperationExtension");
+
+        write(CmHttpWriter.PREFIX + ":httpLocation", soap.getHttpLocation());
+        out.write(CmHttpWriter.PREFIX + ":httpContentEncodingDefault", soap.getHttpContentEncodingDefault());
+        out.write(CmHttpWriter.PREFIX + ":httpQueryParameterSeparator", soap.getHttpQueryParameterSeparator());
+        write(PREFIX + ":soapAction", soap.getSoapAction());
+        write(PREFIX + ":soapMep", soap.getSoapMep());
+        write(PREFIX + ":soapModules", soap.getSoapModules());
+
+        out.endElement();
+    }
+
+    public void soapBindingMessageReferenceExtension(
+            SOAPBindingMessageReferenceExtensions soap) {
+
+        if (soap == null)
+            return;
+
+        out.beginElement(PREFIX + ":soapBindingMessageReferenceExtension");
+
+        cmhttp.write(CmHttpWriter.PREFIX + ":httpHeaders", soap.getHttpHeaders());
+        out.write(CmHttpWriter.PREFIX + ":httpContentEncoding", soap.getHttpContentEncoding());
+        write(PREFIX + ":soapHeaders", soap.getSoapHeaders());
+        write(PREFIX + ":soapModules", soap.getSoapModules());
+
+        out.endElement();
+    }
+
+    public void soapBindingFaultReferenceExtension(
+            SOAPBindingFaultReferenceExtensions soap) {
+
+        if (soap == null)
+            return;
+
+        out.beginElement(PREFIX + ":soapBindingFaultReferenceExtension");
+
+        write(PREFIX + ":soapModules", soap.getSoapModules());
+
+        out.endElement();
+    }
+    
+    public void soapEndpointExtension(SOAPEndpointExtensions soap) {
+        if (soap == null)
+            return;
+
+        out.beginElement(PREFIX + ":soapEndpointExtension");
+        
+        out.write(CmHttpWriter.PREFIX + ":httpAuthenticationRealm", soap.getHttpAuthenticationRealm());
+        cmhttp.write(CmHttpWriter.PREFIX + ":httpAuthenticationScheme", soap.getHttpAuthenticationScheme());
+
+        out.endElement();
+    }
+
+    private void write(String tag, SOAPModule[] components) {
+
+        if (components.length == 0)
+            return;
+
+        Arrays.sort(components, new Comparator() {
+
+            public int compare(Object o1, Object o2) {
+
+                URI uri1 = ((SOAPModule) o1).getRef();
+                URI uri2 = ((SOAPModule) o2).getRef();
+
+                return uri1.compareTo(uri2);
+            }
+        });
+        out.beginElement(tag);
+
+        for (int i = 0; i < components.length; i++)
+            write(PREFIX + ":soapModuleComponent", components[i]);
+
+        out.endElement();
+
+    }
+
+    private void write(String tag, SOAPModule component) {
+
+        out.beginElement(tag, cmbase.idAttribute(component));
+
+        cmbase.write(PREFIX + ":ref", component.getRef());
+
+        out.write(PREFIX + ":required", component.isRequired().booleanValue());
+
+        cmbase.parent(component.getParent());
+
+        out.endElement();
+    }
+
+    private void write(String tag, SOAPFaultSubcodes soapFaultSubcodes) {
+
+        out.beginElement(tag);
+        if (soapFaultSubcodes.isQNames()) {
+            out.beginElement(PREFIX + ":subcodes");
+            QName[] codes = soapFaultSubcodes.getQNames();
+            for (int i = 0; i < codes.length; i++) {
+                cmbase.write(PREFIX + ":code", codes[i]);
+            }
+            out.endElement();
+        }
+        out.endElement();
+    }
+
+    private void write(String tag, SOAPFaultCode soapFaultCode) {
+
+        out.beginElement(tag);
+        if (soapFaultCode.isQName()) {
+            cmbase.write(PREFIX + ":code", soapFaultCode.getQName());
+        }
+        out.endElement();
+    }
+
+    private void write(String tag, SOAPHeaderBlock[] components) {
+
+        if (components.length == 0)
+            return;
+
+        Arrays.sort(components, new Comparator() {
+
+            public int compare(Object o1, Object o2) {
+
+                ElementDeclaration ed1 = ((SOAPHeaderBlock) o1)
+                        .getElementDeclaration();
+                ElementDeclaration ed2 = ((SOAPHeaderBlock) o2)
+                        .getElementDeclaration();
+
+                if (ed1 == ed2)
+                    return 0;
+                if (ed1 == null)
+                    return -1;
+                if (ed2 == null)
+                    return 1;
+
+                QName x1 = ed1.getName();
+                QName x2 = ed2.getName();
+
+                return CmBaseWriter.compareQName(x1, x2);
+            }
+        });
+
+        out.beginElement(tag);
+
+        for (int i = 0; i < components.length; i++)
+            write(PREFIX + ":soapHeaderBlockComponent", components[i]);
+
+        out.endElement();
+    }
+
+    private void write(String tag, SOAPHeaderBlock component) {
+
+        out.beginElement(tag, cmbase.idAttribute(component));
+
+        cmbase.writeRef(PREFIX + ":elementDeclaration", component
+                .getElementDeclaration());
+
+        out.write(PREFIX + ":mustUnderstand", component.mustUnderstand()
+                .booleanValue());
+
+        out.write(PREFIX + ":required", component.isRequired().booleanValue());
+
+        cmbase.parent(component.getParent());
+
+        out.endElement();
+
+    }
+    
+    private void write(String tag, HTTPLocation location) {
+        
+        if(location == null) {
+            return;
+        }
+        
+        out.write(tag, location.getOriginalLocation());
+    }
+
+}



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


Mime
View raw message