Examples of ServiceNameType


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

      // 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 );

      // Set a couple of reference properties, including a ResourceID.
      MessageElement[] prop = new MessageElement[2];
      MessageElement   propsResourceID =
View Full Code Here

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

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

          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

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

      {
         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

Examples of org.apache.cxf.ws.addressing.v200408.ServiceNameType

        exposed.setAddress(convert(internal.getAddress()));
        exposed.setReferenceParameters(
                            convert(internal.getReferenceParameters()));
        QName serviceQName = EndpointReferenceUtils.getServiceName(internal, null);
        if (serviceQName != null) {
            ServiceNameType serviceName =
                Names200408.WSA_OBJECT_FACTORY.createServiceNameType();
            serviceName.setValue(serviceQName);
            exposed.setServiceName(serviceName);
        }
        String portLocalName = EndpointReferenceUtils.getPortName(internal);
        if (portLocalName != null) {
            String namespace = serviceQName.getNamespaceURI() != null
View Full Code Here

Examples of org.apache.cxf.ws.addressing.v200408.ServiceNameType

        EndpointReferenceType internal =
            ContextUtils.WSA_OBJECT_FACTORY.createEndpointReferenceType();
        internal.setAddress(convert(exposed.getAddress()));
        internal.setReferenceParameters(
                            convert(exposed.getReferenceParameters()));
        ServiceNameType serviceName = exposed.getServiceName();
        AttributedQName portName = exposed.getPortType();
        if (serviceName != null && portName != null) {
            EndpointReferenceUtils.setServiceAndPortName(internal,
                                                  serviceName.getValue(),
                                                  portName.getValue().getLocalPart());
        }

        // no direct analogue for ReferenceProperties
        addAll(internal.getAny(), exposed.getAny());
View Full Code Here

Examples of org.apache.cxf.ws.addressing.v200408.ServiceNameType

        exposed.setAddress(convert(internal.getAddress()));
        exposed.setReferenceParameters(
                            convert(internal.getReferenceParameters()));
        QName serviceQName = EndpointReferenceUtils.getServiceName(internal);
        if (serviceQName != null) {
            ServiceNameType serviceName =
                Names200408.WSA_OBJECT_FACTORY.createServiceNameType();
            serviceName.setValue(serviceQName);
            exposed.setServiceName(serviceName);
        }
        String portLocalName = EndpointReferenceUtils.getPortName(internal);
        if (portLocalName != null) {
            String namespace = serviceQName.getNamespaceURI() != null
View Full Code Here

Examples of org.apache.cxf.ws.addressing.v200408.ServiceNameType

        EndpointReferenceType internal =
            ContextUtils.WSA_OBJECT_FACTORY.createEndpointReferenceType();
        internal.setAddress(convert(exposed.getAddress()));
        internal.setReferenceParameters(
                            convert(exposed.getReferenceParameters()));
        ServiceNameType serviceName = exposed.getServiceName();
        AttributedQName portName = exposed.getPortType();
        if (serviceName != null && portName != null) {
            EndpointReferenceUtils.setServiceAndPortName(internal,
                                                  serviceName.getValue(),
                                                  portName.getValue().getLocalPart());
        }

        // no direct analogue for ReferenceProperties
        addAll(internal.getAny(), exposed.getAny());
View Full Code Here

Examples of org.apache.cxf.ws.addressing.v200408.ServiceNameType

        exposed.setAddress(convert(internal.getAddress()));
        exposed.setReferenceParameters(
                            convert(internal.getReferenceParameters()));
        QName serviceQName = EndpointReferenceUtils.getServiceName(internal, null);
        if (serviceQName != null) {
            ServiceNameType serviceName =
                Names200408.WSA_OBJECT_FACTORY.createServiceNameType();
            serviceName.setValue(serviceQName);
            exposed.setServiceName(serviceName);
        }
        String portLocalName = EndpointReferenceUtils.getPortName(internal);
        if (portLocalName != null) {
            String namespace = serviceQName.getNamespaceURI() != null
View Full Code Here

Examples of org.apache.cxf.ws.addressing.v200408.ServiceNameType

        EndpointReferenceType internal =
            ContextUtils.WSA_OBJECT_FACTORY.createEndpointReferenceType();
        internal.setAddress(convert(exposed.getAddress()));
        internal.setReferenceParameters(
                            convert(exposed.getReferenceParameters()));
        ServiceNameType serviceName = exposed.getServiceName();
        AttributedQName portName = exposed.getPortType();
        if (serviceName != null && portName != null) {
            EndpointReferenceUtils.setServiceAndPortName(internal,
                                                  serviceName.getValue(),
                                                  portName.getValue().getLocalPart());
        }

        // no direct analogue for ReferenceProperties
        addAll(internal.getAny(), exposed.getAny());
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.