Package org.xmlsoap.schemas.ws.x2003.x03.addressing

Examples of org.xmlsoap.schemas.ws.x2003.x03.addressing.ReferencePropertiesType$Factory


         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


    * 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

      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

      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

                    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

        AttributedURI attributedURI = endpointReferenceType.addNewAddress();
        attributedURI.setStringValue(m_address);

        if(m_portTypeQName != null)
        {
        AttributedQName attributedQName = endpointReferenceType.addNewPortType();
        attributedQName.setQNameValue(m_portTypeQName);
        }
        if(m_servicePortName != null)
        {
        ServiceNameType serviceNameType = endpointReferenceType.addNewServiceName();
        serviceNameType.setPortName(m_servicePortName);
View Full Code Here

            EndpointReference subscriptionEPR = resource.getEndpointReference(  );
            AttributedURI     address = returnEPR.addNewAddress(  );
            address.setStringValue( subscriptionEPR.getAddress(  ).toString(  ) );

            // Setup the port type
            AttributedQName portType = returnEPR.addNewPortType(  );
            portType.setQNameValue( QName.valueOf( subscriptionEPR.getPortType(  ).toString(  ) ) );
            ServiceNameType snt = returnEPR.addNewServiceName(  );
            snt.setQNameValue( QName.valueOf( subscriptionEPR.getServiceName(  ).toString(  ) ) );

            // Setup the resource properties.
            ReferencePropertiesType props      = returnEPR.addNewReferenceProperties(  );
View Full Code Here

      EndpointReferenceType endpointReference = EndpointReferenceType.Factory.newInstance(  );

      AttributedURI         attrURI = endpointReference.addNewAddress(  );
      attrURI.setStringValue( endpointRef.getAddress(  ).toString(  ) );

      AttributedQName attrQname = endpointReference.addNewPortType(  );
      attrQname.setQNameValue( endpointRef.getPortType(  ) );

      org.xmlsoap.schemas.ws.x2003.x03.addressing.ReferencePropertiesType endpointPropType =
         endpointReference.addNewReferenceProperties(  );
      org.apache.axis.message.addressing.ReferencePropertiesType          axisPropType =
         endpointRef.getProperties(  );
View Full Code Here

   /**
    * @param subMgrEpr
    */
   private void testPortType( EndpointReferenceType subMgrEpr )
   {
      AttributedQName portType = subMgrEpr.getPortType(  );

      assertNotNull( portType );
      assertFalse( portType.isNil(  ) );

      assertEquals( EXPECTED_SUBMGR_PORTTYPE,
                    portType.getQNameValue(  ).toString(  ) );
   }
View Full Code Here

      AttributedURI         attributedURI = endpointReferenceType.addNewAddress(  );
      attributedURI.setStringValue( m_address );

      if ( m_portTypeQName != null )
      {
         AttributedQName attributedQName = endpointReferenceType.addNewPortType(  );
         attributedQName.setQNameValue( m_portTypeQName );
      }

      if ( m_servicePortName != null )
      {
         ServiceNameType serviceNameType = endpointReferenceType.addNewServiceName(  );
View Full Code Here

TOP

Related Classes of org.xmlsoap.schemas.ws.x2003.x03.addressing.ReferencePropertiesType$Factory

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.