Package org.apache.ws.resource.properties.v1_2_draft05.impl

Examples of org.apache.ws.resource.properties.v1_2_draft05.impl.NamespaceVersionHolderImpl


      {
         resource = (PrinterPortResource) getResourceContext(  ).getResource(  );
      }
      catch ( Exception e )
      {
         throw new ClientErrorNotPossibleFaultException(new NamespaceVersionHolderImpl(), "Problem occurred when retrieving resource: " + e.getLocalizedMessage());
      }

      XmlBeansResourceProperty resourceProperty =
         (XmlBeansResourceProperty) resource.getResourcePropertySet(  ).get( PrinterPortPropertyQNames.PRINTER_IS_ACCEPTING_JOBS );
      XmlBoolean               doc = (XmlBoolean) resourceProperty.get( 0 );
View Full Code Here


      }
      catch (ResourceUnknownException nsr)
      {
          try
          {
              throw new ResourceUnknownFaultException(new NamespaceVersionHolderImpl(),getResourceContext().getResource().getID(), getResourceContext().getServiceName() );
          }
          catch (ResourceException re)
          {
              throw new ClientErrorNotPossibleFaultException(new NamespaceVersionHolderImpl(), "Error Occurred: " + re.getLocalizedMessage());
          }
      }

      catch ( Exception e )
      {
         throw new ClientErrorNotPossibleFaultException(new NamespaceVersionHolderImpl(), "Error Occurred: " + e.getLocalizedMessage());
      }

      return responseDoc;
   }
View Full Code Here

TOP

Related Classes of org.apache.ws.resource.properties.v1_2_draft05.impl.NamespaceVersionHolderImpl

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.