Package axis.org.apache.ws.generated.submgr

Examples of axis.org.apache.ws.generated.submgr.SubscriptionManagerServiceLocator


    */
   private SubscriptionManagerHttpBindingStub getSubMgrBinding(  )
   throws ServiceException
   {
      SubscriptionManagerHttpBindingStub binding =
         (SubscriptionManagerHttpBindingStub) new SubscriptionManagerServiceLocator(  ).getSubscriptionManagerPort( getAxisWebServiceWsdlUrl( "SubscriptionManagerPort" ) );
      assertNotNull( "subMgr stub is null.", binding );

      // ensure that we will time out after a minute
      binding.setTimeout( CALL_TIMEOUT );

View Full Code Here


      {
         // find the subscription manager service
         if ( m_subscriptionManagerService == null )
         {
            // create the locator used to find the subscription manager
            SubscriptionManagerServiceLocator subMgrLocator = new SubscriptionManagerServiceLocator(  );

            // determine the subscription manager URL assuming it is in the same SOAP engine as the consumer
            URL subMgrUrl =
               new URL( getBaseEndpointUrl(  ) + "/" + SubscriptionManagerServiceWSResource.PORT_NAME );

            // get the client-side stub to the subscription manager service
            m_subscriptionManagerService =
               (SubscriptionManagerHttpBindingStub) subMgrLocator.getSubscriptionManagerPort( subMgrUrl );
         }

         // tell the subcription manager to cancel the subscription
         m_subscriptionManagerService.setResourceId( AxisGenTypesUtils.getResourceId( subscriptionEprs[i] ) );
         m_subscriptionManagerService.destroy( null );
View Full Code Here

TOP

Related Classes of axis.org.apache.ws.generated.submgr.SubscriptionManagerServiceLocator

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.