Package org.apache.axis.message.addressing

Examples of org.apache.axis.message.addressing.ReferencePropertiesType


                                                       getPortName(  ) ) );

      // if this object is not a singleton, add the appropriate reference properties to the EPR
      if ( !isSingleton(  ) )
      {
         ReferencePropertiesType props     = new ReferencePropertiesType(  );
         MessageElement[]        propElems =
            new MessageElement[]
            {
               new MessageElement( MuseAddressingConstants.REFERENCE_PROP_QNAME_RESOURCE_ID,
                                   this.getId(  ) )
            };
         props.set_any( propElems );
         endpointRef.setProperties( props );
      }

      return endpointRef;
   }
View Full Code Here


         {
            (org.apache.axis.message.SOAPHeaderElement) toElem,
            (org.apache.axis.message.SOAPHeaderElement) actionElem,
            (org.apache.axis.message.SOAPHeaderElement) resourceIdElem
         };
      ReferencePropertiesType refProps = endpointRef.getProperties(  );
      refProps.set_any( wsaHeaders );
      return endpointRef;
   }
View Full Code Here

            String [] values = line.getOptionValues("k");
            if (values.length != 2) {
                throw new ParseException("-k requires two arguments");
            }
            QName keyName = QName.valueOf(values[0]);
            ReferencePropertiesType props = new ReferencePropertiesType();
            SimpleResourceKey key = new SimpleResourceKey(keyName, values[1]);
            props.add(key.toSOAPElement());
            this.endpoint.setProperties(props);
        }

        this.debugMode = line.hasOption("d");
View Full Code Here

        if (epr == null) {
            throw new Exception("epr is null");
        }

        final ReferencePropertiesType properties = epr.getProperties();

        if (properties == null) {
            throw new Exception("epr properties are null");
        }

        final QName groupKeyQName =
                Constants_GT4_0.GROUP_RESOURCE_KEY_QNAME;

        final MessageElement elem = properties.get(groupKeyQName);
        if (elem == null) {
            throw new Exception("key not present in EPR");
        }

        final String id = elem.getValue();
View Full Code Here

        if (epr == null) {
            throw new Exception("epr is null");
        }

        final ReferencePropertiesType properties = epr.getProperties();

        if (properties == null) {
            throw new Exception("epr properties are null");
        }

        final QName ensembleKeyQName =
                Constants_GT4_0.ENSEMBLE_RESOURCE_KEY_QNAME;

        final MessageElement elem = properties.get(ensembleKeyQName);
        if (elem == null) {
            throw new Exception("key not present in EPR");
        }

        final String id = elem.getValue();
View Full Code Here

        if (epr == null) {
            throw new Exception("epr is null");
        }

        final ReferencePropertiesType properties = epr.getProperties();

        if (properties == null) {
            throw new Exception("epr properties are null");
        }

        final QName instanceKeyQName = Constants_GT4_0.RESOURCE_KEY_QNAME;

        final MessageElement elem = properties.get(instanceKeyQName);
        if (elem == null) {
            throw new Exception("resource key not present in EPR");
        }

        final String id = elem.getValue();
View Full Code Here

        StatusRPSet rpSet = (StatusRPSet) resp.get_any()[0].
                        getValueAsType(STATUS_RP_SET, StatusRPSet.class);

        String impl = null;
        ReferencePropertiesType refProps = this.endpoint.getProperties();
        if (refProps != null) {
             MessageElement key = refProps.get(RESOURCE_KEY_QNAME);
            if (key != null) {
                impl = key.getValue();
            }
        }
View Full Code Here

        if (endpoint == null) {
            return false;
        }

        final ReferencePropertiesType rpt = endpoint.getProperties();
        if (rpt == null) {
            return false;
        }

        final MessageElement me =
                    rpt.get(Constants_GT4_0.RESOURCE_KEY_QNAME);
       
        return me != null;
    }
View Full Code Here

        if (endpoint == null) {
            return false;
        }

        final ReferencePropertiesType rpt = endpoint.getProperties();
        if (rpt == null) {
            return false;
        }

        final MessageElement me =
                    rpt.get(Constants_GT4_0.GROUP_RESOURCE_KEY_QNAME);

        return me != null;
    }
View Full Code Here

        if (endpoint == null) {
            return false;
        }

        final ReferencePropertiesType rpt = endpoint.getProperties();
        if (rpt == null) {
            return false;
        }

        final MessageElement me =
                    rpt.get(Constants_GT4_0.ENSEMBLE_RESOURCE_KEY_QNAME);

        return me != null;
    }
View Full Code Here

TOP

Related Classes of org.apache.axis.message.addressing.ReferencePropertiesType

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.