Package com.microsoft.schemas._2003._10.serialization

Examples of com.microsoft.schemas._2003._10.serialization._double


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

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

   {
      // Subscribe to a TerminationNotification Notification
      QName                 notifQName   = ResourceLifetime11Constants.TOPIC_QNAME_RESOURCE_TERMINATION;
      SubscribeResponse    sub_response =
         subscribe( notifQName, "http://127.0.0.1:" + NOTIFICATION_LISTENER_PORT );
      EndpointReferenceType subRef = sub_response.getSubscriptionReference(  );
      assertNotNull( subRef );
      assertTrue( AxisGenTypesUtils.getResourceId( subRef ).length(  ) != 0 );

      //test as a listener for events
      PortListen notificationListener = new PortListen( NOTIFICATION_LISTENER_PORT, LISTENER_TIMEOUT );
View Full Code Here

      testDiskPortSetResourcePropertiesUpdate(  );
      String incomingMessage = notificationListener.waitForIncomingMessage(  );
      assertFalse( "Incoming Message started with an Error.",
                   incomingMessage.startsWith( "ERROR" ) );

      EndpointReferenceType              subscriptionReference = sub_response.getSubscriptionReference(  );
      SubscriptionManagerHttpBindingStub subMgrBinding = getSubMgrBinding(  );
      assertNotNull( subMgrBinding );

      subMgrBinding.setResourceId( AxisGenTypesUtils.getResourceId( subscriptionReference ) );
View Full Code Here

      // The example Service, DiskWsdmServiceWSResource is written so as to emit this notification
      // every 5 seconds.
      QName                 badSectorQName = new QName( "http://com.xyz", "BadSector" );
      SubscribeResponse    sub_response =
         subscribe( badSectorQName, "http://127.0.0.1:" + NOTIFICATION_LISTENER_PORT );
      EndpointReferenceType subRef = sub_response.getSubscriptionReference(  );

      assertNotNull( subRef );

      //test as a listener for events
      PortListen notificationListener = new PortListen( NOTIFICATION_LISTENER_PORT, LISTENER_TIMEOUT );
View Full Code Here

   {
      // Subscribe to a MUWS ResourceState property change
      SubscribeResponse sub_response =
         subscribe( Muws05Constants.RESOURCE_PROP_QNAME_RESOURCE_STATE,
                    this.getAxisBaseUrl(  ).toString(  ) );
      EndpointReferenceType rsSubRef = sub_response.getSubscriptionReference(  );

      //    Subscribe to a BlockSize property change
      //setup listener url for consumer endpoint url
      sub_response =
         subscribe( ExampleConstants.RESOURCE_PROP_QNAME_BLOCK_SIZE,
                    "http://127.0.0.1:" + NOTIFICATION_LISTENER_PORT );
      EndpointReferenceType bsSubRef = sub_response.getSubscriptionReference(  );
      assertNotNull( rsSubRef );
      assertNotNull( bsSubRef );

      // The two subscription references should be equal except for the ResourceID property
      assertTrue( rsSubRef.getAddress(  ).toString(  ).compareTo( bsSubRef.getAddress(  ).toString(  ) ) == 0 );
      assertTrue( rsSubRef.getPortType(  ).toString(  ).compareTo( bsSubRef.getPortType(  ).toString(  ) ) == 0 );

      //test as a listener for events
      PortListen notificationListener = new PortListen( NOTIFICATION_LISTENER_PORT, LISTENER_TIMEOUT );
      assertTrue( AxisGenTypesUtils.getResourceId( rsSubRef ).compareTo( AxisGenTypesUtils.getResourceId( bsSubRef ) ) != 0 );
View Full Code Here

TOP

Related Classes of com.microsoft.schemas._2003._10.serialization._double

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.