You are viewing a plain text version of this content. The canonical link for it is here.
Posted to wsrf-dev@ws.apache.org by sc...@apache.org on 2005/02/23 18:51:37 UTC

svn commit: r155034 - in incubator/apollo/trunk/src: java/org/apache/ws/resource/AbstractPortType.java java/org/apache/ws/resource/properties/faults/ResourceUnknownFaultException.java site/content/example/requests/QueryPropertiesDoc.soap

Author: scamp
Date: Wed Feb 23 09:51:34 2005
New Revision: 155034

URL: http://svn.apache.org/viewcvs?view=rev&rev=155034
Log: (empty)


Added:
    incubator/apollo/trunk/src/site/content/example/requests/QueryPropertiesDoc.soap
Modified:
    incubator/apollo/trunk/src/java/org/apache/ws/resource/AbstractPortType.java
    incubator/apollo/trunk/src/java/org/apache/ws/resource/properties/faults/ResourceUnknownFaultException.java

Modified: incubator/apollo/trunk/src/java/org/apache/ws/resource/AbstractPortType.java
URL: http://svn.apache.org/viewcvs/incubator/apollo/trunk/src/java/org/apache/ws/resource/AbstractPortType.java?view=diff&r1=155033&r2=155034
==============================================================================
--- incubator/apollo/trunk/src/java/org/apache/ws/resource/AbstractPortType.java (original)
+++ incubator/apollo/trunk/src/java/org/apache/ws/resource/AbstractPortType.java Wed Feb 23 09:51:34 2005
@@ -81,6 +81,10 @@
       {
          throw new JAXRPCException( re );
       }
+      catch ( ResourceUnknownException rce )
+      {
+         throw new org.apache.ws.resource.properties.faults.ResourceUnknownFaultException(getNamespaceSet(),rce);
+      }
       catch ( ResourceContextException rce )
       {
          rce.printStackTrace(  );

Modified: incubator/apollo/trunk/src/java/org/apache/ws/resource/properties/faults/ResourceUnknownFaultException.java
URL: http://svn.apache.org/viewcvs/incubator/apollo/trunk/src/java/org/apache/ws/resource/properties/faults/ResourceUnknownFaultException.java?view=diff&r1=155033&r2=155034
==============================================================================
--- incubator/apollo/trunk/src/java/org/apache/ws/resource/properties/faults/ResourceUnknownFaultException.java (original)
+++ incubator/apollo/trunk/src/java/org/apache/ws/resource/properties/faults/ResourceUnknownFaultException.java Wed Feb 23 09:51:34 2005
@@ -89,7 +89,7 @@
 
     private static QName getQName(NamespaceVersionHolder namespaces)
       {
-          return new QName( namespaces.getPropertiesXsdNamespace(), "SetResourcePropertyRequestFailedFault",
+          return new QName( namespaces.getPropertiesXsdNamespace(), "ResourceUnknownFault",
                     ResourcePropertiesConstants.NSPREFIX_WSRP_SCHEMA );
       }
 

Added: incubator/apollo/trunk/src/site/content/example/requests/QueryPropertiesDoc.soap
URL: http://svn.apache.org/viewcvs/incubator/apollo/trunk/src/site/content/example/requests/QueryPropertiesDoc.soap?view=auto&rev=155034
==============================================================================
--- incubator/apollo/trunk/src/site/content/example/requests/QueryPropertiesDoc.soap (added)
+++ incubator/apollo/trunk/src/site/content/example/requests/QueryPropertiesDoc.soap Wed Feb 23 09:51:34 2005
@@ -0,0 +1,20 @@
+
+<Envelope xmlns="http://schemas.xmlsoap.org/soap/envelope/"
+	  xmlns:wsrf-rp="http://docs.oasis-open.org/wsrf/2004/11/wsrf-WS-ResourceProperties-1.2-draft-05.xsd"
+          xmlns:wsrf-pr="http://docs.oasis-open.org/wsrf/2005/01/wsrf-Interop-2.0-draft-03.xsd">
+
+   <Header xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/03/addressing">
+      <wsa:To mustUnderstand="1">http://localhost:8080/wsrf/services/PrinterPort</wsa:To>
+      <wsa:Action mustUnderstand="1">http://localhost:8080/wsrf/services/PrinterPort</wsa:Action>  
+     
+   </Header>
+
+   <Body>
+       <wsrf-rp:QueryResourceProperties xmlns:wsrp="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceProperties-1.2-draft-01.xsd">
+         <wsrf-rp:QueryExpression Dialect="http://www.w3.org/TR/1999/REC-xpath-19991116">         
+         contains(/*/*[namespace-uri()='http://docs.oasis-open.org/wsrf/2005/01/wsrf-Interop-2.0-draft-03.xsd' and local-name()='operations_supported'],"Print_Job")
+         </wsrf-rp:QueryExpression>
+      </wsrf-rp:QueryResourceProperties>           
+   </Body>
+
+</Envelope>



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