Package axis.org.xmlsoap.schemas.ws._2003._03.addressing

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


      // Note that since we are using PortListener to handle notifications,
      // rather than a Web Service that implements NotificationConsumer this
      // EPR is somewhat bogus.
      EndpointReferenceType epr = new EndpointReferenceType(  );
      epr.setAddress( new AttributedURI( callback_url ) );
      epr.setPortType( new AttributedQName( "nothing" ) );
      ServiceNameType snt = new ServiceNameType(  );
      snt.setPortName( new NCName( "NotificationConsumer" ) );
      snt.set_value( new QName( "TestNotifConsumer" ) );
      epr.setServiceName( snt );
View Full Code Here


          Exception
   {
      axis.org.xmlsoap.schemas.ws._2003._03.addressing.EndpointReferenceType axisEprType =
         new axis.org.xmlsoap.schemas.ws._2003._03.addressing.EndpointReferenceType(  );
      axisEprType.setAddress( new AttributedURI( xmlBeansEprType.getAddress(  ).getStringValue(  ) ) );
      axisEprType.setPortType( new AttributedQName( xmlBeansEprType.getPortType(  ).getQNameValue(  ) ) );
      axis.org.xmlsoap.schemas.ws._2003._03.addressing.ServiceNameType snt =
         new axis.org.xmlsoap.schemas.ws._2003._03.addressing.ServiceNameType( xmlBeansEprType.getServiceName(  )
                                                                                              .getQNameValue(  ) );
      axisEprType.setServiceName( snt );
      axis.org.xmlsoap.schemas.ws._2003._03.addressing.ReferencePropertiesType rpt =
View Full Code Here

      org.apache.axis.message.addressing.EndpointReferenceType base_endpoint = base_fault.getOriginator(  );

      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(  ) );
View Full Code Here

      EndpointReferenceType axis_endpoint = new EndpointReferenceType(  );
      String                end_address   = "http://foo";
      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();
View Full Code Here

      //create the EPR of the consumer - this EPR object is a specific type for use with the client-side stub
      axis.org.xmlsoap.schemas.ws._2003._03.addressing.EndpointReferenceType consumerEprForStub =
         new axis.org.xmlsoap.schemas.ws._2003._03.addressing.EndpointReferenceType(  );
      consumerEprForStub.setAddress( new AttributedURI( m_notificationConsumer.getAddress(  ) ) );
      consumerEprForStub.setPortType( new AttributedQName( m_notificationConsumer.getPortType(  ) ) );
      ServiceNameType snt = new ServiceNameType(  );
      snt.setPortName( new NCName( m_notificationConsumer.getServiceName(  ).getPort(  ) ) );
      snt.set_value( m_notificationConsumer.getServiceName(  ) );
      consumerEprForStub.setServiceName( snt );
View Full Code Here

      // Create an endpoint reference for the NotificationConsumer
      // Note that since we are using PortListener to handle notifications,
      // rather than a Web Service that implements NotificationConsumer this
      // EPR is somewhat bogus.
      EndpointReferenceType epr = new EndpointReferenceType(  );
      epr.setAddress( new AttributedURI( callback_url ) );
      epr.setPortType( new AttributedQName( "nothing" ) );
      ServiceNameType snt = new ServiceNameType(  );
      snt.setPortName( new NCName( "NotificationConsumer" ) );
      snt.set_value( new QName( "TestNotifConsumer" ) );
      epr.setServiceName( snt );
View Full Code Here

   throws MalformedURIException,
          Exception
   {
      axis.org.xmlsoap.schemas.ws._2003._03.addressing.EndpointReferenceType axisEprType =
         new axis.org.xmlsoap.schemas.ws._2003._03.addressing.EndpointReferenceType(  );
      axisEprType.setAddress( new AttributedURI( xmlBeansEprType.getAddress(  ).getStringValue(  ) ) );
      axisEprType.setPortType( new AttributedQName( xmlBeansEprType.getPortType(  ).getQNameValue(  ) ) );
      axis.org.xmlsoap.schemas.ws._2003._03.addressing.ServiceNameType snt =
         new axis.org.xmlsoap.schemas.ws._2003._03.addressing.ServiceNameType( xmlBeansEprType.getServiceName(  )
                                                                                              .getQNameValue(  ) );
      axisEprType.setServiceName( snt );
View Full Code Here

      EndpointReferenceType                                    axis_endpoint = new EndpointReferenceType(  );
      org.apache.axis.message.addressing.EndpointReferenceType base_endpoint = base_fault.getOriginator(  );

      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(  );
View Full Code Here

      boolean               isNotify    = true;
      Calendar              termination = Calendar.getInstance(  );

      EndpointReferenceType axis_endpoint = new EndpointReferenceType(  );
      String                end_address   = "http://foo";
      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(  );
View Full Code Here

      Subscribe request = new Subscribe(  );

      //create the EPR of the consumer - this EPR object is a specific type for use with the client-side stub
      axis.org.xmlsoap.schemas.ws._2003._03.addressing.EndpointReferenceType consumerEprForStub =
         new axis.org.xmlsoap.schemas.ws._2003._03.addressing.EndpointReferenceType(  );
      consumerEprForStub.setAddress( new AttributedURI( m_notificationConsumer.getAddress(  ) ) );
      consumerEprForStub.setPortType( new AttributedQName( m_notificationConsumer.getPortType(  ) ) );
      ServiceNameType snt = new ServiceNameType(  );
      snt.setPortName( new NCName( m_notificationConsumer.getServiceName(  ).getPort(  ) ) );
      snt.set_value( m_notificationConsumer.getServiceName(  ) );
      consumerEprForStub.setServiceName( snt );
View Full Code Here

TOP

Related Classes of axis.org.xmlsoap.schemas.ws._2003._03.addressing.EndpointReferenceType

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.