Examples of ReferencePropertiesType


Examples of axis.org.xmlsoap.schemas.ws._2003._03.addressing.ReferencePropertiesType

         new SOAPBodyElement( MuseAddressingConstants.REFERENCE_PROP_QNAME_RESOURCE_ID, "4444" );
      prop[0] = propsResourceID;
      MessageElement otherProp = new SOAPBodyElement( new QName( "http://com.xyz/props", "myprop" ),
                                                      "foo" );
      prop[1] = otherProp;
      ReferencePropertiesType props = new ReferencePropertiesType(  );
      props.set_any( prop );
      epr.setReferenceProperties( props );
      request.setConsumerReference( epr );

      // Build the TopicExpressionType for the request.
      TopicExpressionType tet = new TopicExpressionType(  );
View Full Code Here

Examples of axis.org.xmlsoap.schemas.ws._2003._03.addressing.ReferencePropertiesType

    * Given an EndpointReferenceType get the resourceID
    */
   public static String getResourceId( EndpointReferenceType subRef )
   {
      String                  id        = "";
      ReferencePropertiesType props     = subRef.getReferenceProperties(  );
      MessageElement[]        propElems = props.get_any(  );

      if ( propElems != null )
      {
         for ( int i = 0; i < propElems.length; i++ )
         {
View Full Code Here

Examples of axis.org.xmlsoap.schemas.ws._2003._03.addressing.ReferencePropertiesType

      if ( base_endpoint != null )
      {
         axis_endpoint.setAddress( new AttributedURI( base_endpoint.getAddress(  ).toString(  ) ) );
         axis_endpoint.setPortType( new AttributedQName( base_endpoint.getPortType(  ) ) );
         ReferencePropertiesType                                    axis_ref_props =
            new ReferencePropertiesType(  );
         org.apache.axis.message.addressing.ReferencePropertiesType base_ref_props =
            base_endpoint.getProperties(  );
         axis_ref_props.set_any( base_ref_props.get_any(  ) );
         axis_endpoint.setReferenceProperties( axis_ref_props );
         ServiceNameType                                    axis_service_name = new ServiceNameType(  );
         org.apache.axis.message.addressing.ServiceNameType base_service_name = base_endpoint.getServiceName(  );
         axis_service_name.setPortName( new NCName( base_service_name.getPort(  ) ) );
         axis_service_name.set_value( base_service_name );
View Full Code Here

Examples of axis.org.xmlsoap.schemas.ws._2003._03.addressing.ReferencePropertiesType

      axis_endpoint.setAddress( new AttributedURI( end_address ) );
      QName portType = new QName( end_address, "myporttype" );
      axis_endpoint.setPortType( new AttributedQName( portType ) );
      String service_name = "myfoo";
      axis_endpoint.setServiceName( new ServiceNameType( service_name ) );
      ReferencePropertiesType ref_prop = new ReferencePropertiesType(  );

      //ref_prop.set_any();
      axis_endpoint.setReferenceProperties( ref_prop );

      //axis_endpoint.set_any();
View Full Code Here

Examples of axis.org.xmlsoap.schemas.ws._2003._03.addressing.ReferencePropertiesType

                    xmlBeanEPR.getPortType(  ).getQNameValue(  ) );
      assertEquals( axisEPR.getServiceName(  ).get_value(  ),
                    xmlBeanEPR.getServiceName(  ).getQNameValue(  ) );
      org.xmlsoap.schemas.ws.x2003.x03.addressing.ReferencePropertiesType xmlBeanRefProps =
         xmlBeanEPR.getReferenceProperties(  );
      ReferencePropertiesType                                             axisRefProps =
         axisEPR.getReferenceProperties(  );

      //MessageElement[] any = referenceProperties.get_any();
      //ref_prop
   }
View Full Code Here

Examples of org.activemq.ws.xmlbeans.addressing.v2003_03.ReferencePropertiesType

        // lets get the endpoint reference
        EndpointReferenceType endpointReference = subscribe.getConsumerReference();
        AttributedURI address = endpointReference.getAddress();
        System.out.println("EndpointReference address is: " + address.getStringValue());

        ReferencePropertiesType referenceProperties = endpointReference.getReferenceProperties();
        System.out.println("Reference properties: " + referenceProperties);


        // lets get the selector
        QueryExpressionType selector = subscribe.getSelector();
View Full Code Here

Examples of org.activemq.ws.xmlbeans.addressing.v2003_03.ReferencePropertiesType

    }
   
    private EndpointReferenceType toEndpointReference(String ref) {
        EndpointReferenceType rc = EndpointReferenceType.Factory.newInstance();
        rc.addNewAddress().setStringValue(address);
        ReferencePropertiesType props = rc.addNewReferenceProperties();
        XmlCursor cursor = props.newCursor();
        cursor.setTextValue(ref);
        return rc;
    }
View Full Code Here

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

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

         {
            (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

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

            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
TOP
Copyright © 2018 www.massapi.com. 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.