Examples of AttributedURI


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

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

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

   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

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

      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

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

      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

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

      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

Examples of com.sun.xml.ws.security.trust.impl.bindings.AttributedURI

        ref.setValue(id);
        return eleFac.createSecurityTokenReference(ref);
    }
  
   public static AppliesTo createAppliesTo(final String appliesTo){
       final AttributedURI uri = new AttributedURI();
       uri.setValue(appliesTo);
       final EndpointReference epr = new EndpointReference();
       epr.setAddress(uri);
       final AppliesTo applTo = (new com.sun.xml.ws.policy.impl.bindings.ObjectFactory()).createAppliesTo();
       applTo.getAny().add((new com.sun.xml.ws.security.trust.impl.bindings.ObjectFactory()).createEndpointReference(epr));
      
View Full Code Here

Examples of javax.xml.ws.addressing.AttributedURI

      return (from != null ? new NativeMAPEndpoint(from) : null);
   }

   public String getMessageID()
   {
      AttributedURI messageId = implementation.getMessageID();
      return (messageId != null ? messageId.getURI().toString() : null);
   }
View Full Code Here

Examples of javax.xml.ws.addressing.AttributedURI

      return (messageId != null ? messageId.getURI().toString() : null);
   }

   public String getAction()
   {
      AttributedURI action = implementation.getAction();
      return (action != null ? action.getURI().toString() : null);
   }
View Full Code Here

Examples of javax.xml.ws.addressing.AttributedURI

      if (address != null)
      {
         try
         {
            AddressingBuilder builder = AddressingBuilder.getAddressingBuilder();
            AttributedURI uri = builder.newURI(address);
            implementation.setTo(uri);
         }
         catch (URISyntaxException e)
         {
            // should not happen
View Full Code Here

Examples of javax.xml.ws.addressing.AttributedURI

      if (messageID != null)
      {
         try
         {
            AddressingBuilder builder = AddressingBuilder.getAddressingBuilder();
            AttributedURI uri = builder.newURI(messageID);
            implementation.setMessageID(uri);
         }
         catch (URISyntaxException e)
         {
            // should not happen
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.