Package org.apache.axis.message.addressing

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


          RegistrationFailureException
   {
      m_isSingleton             = false;
      m_simulatedEndpointRef    = new EndpointReference( new URI( "http://unittest.apache.org/wsdm/unittest" ) );
      m_simulatedEndpointRef.setPortType( new AttributedQName( "", "UNIT_TEST_PORT" ) );
      ServiceNameType snt = new ServiceNameType( "UNIT_TEST_PORT", "UNIT_TEST_SERVICE" );
      snt.setPort( "UNIT_TEST_PORT" );
      m_simulatedEndpointRef.setServiceName( snt );
      m_simulatedId = "UNIT_TEST_RESOURCE_ID_1234";
      m_manager.register( this );
   }
View Full Code Here


          RegistrationFailureException
   {
      m_isSingleton             = true;
      m_simulatedEndpointRef    = new EndpointReference( new URI( "http://unittest.apache.org/wsdm/unittest" ) );
      m_simulatedEndpointRef.setPortType( new AttributedQName( "", "UNIT_TEST_PORT" ) );
      ServiceNameType snt = new ServiceNameType( "UNIT_TEST_PORT", "UNIT_TEST_SERVICE" );
      snt.setPort( "UNIT_TEST_PORT" );
      m_simulatedEndpointRef.setServiceName( snt );
      m_simulatedId = null;
      m_manager.register( this );
   }
View Full Code Here

      {
         throw new RuntimeException( murie );
      }

      endpointRef.setPortType( new PortType( getPortTypeQName(  ) ) );
      endpointRef.setServiceName( new ServiceNameType( getServiceQName(  ),
                                                       getPortName(  ) ) );

      // if this object is not a singleton, add the appropriate reference properties to the EPR
      if ( !isSingleton(  ) )
      {
View Full Code Here

      {
         EndpointReference endpointRef =
            new EndpointReference( new Address( "http://xyz.com/notificationConsumer/" ) );
         endpointRef.setPortType( new PortType( new javax.xml.namespace.QName( "http://xyz.com/",
                                                                               "NotificationConsumer" ) ) );
         endpointRef.setServiceName( new ServiceNameType( new javax.xml.namespace.QName( "http://xyz.com/",
                                                                                         "NotificationConsuerService" ),
                                                          "consumer" ) );
         org.apache.axis.message.addressing.ReferencePropertiesType props =
            new org.apache.axis.message.addressing.ReferencePropertiesType(  );
View Full Code Here

      public EndpointReference getEndpointReference(  )
      {
         try
         {
            EndpointReference epr = new EndpointReference( "http://localhost/wsdm/services/" + m_id );
            epr.setServiceName( new ServiceNameType( "urn:test", "" + m_id ) );
            epr.getServiceName(  ).setPort( "" + m_id + "_PORT" );

            return epr;
         }
         catch ( MalformedURIException e )
View Full Code Here

TOP

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

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.