public void AccessPublishService()
	{
		System.out.println("---------------------------------------------------------------");
		System.out.println("AccessPublishService started... ");
		try
		{
			String serviceURL = PublishServiceUrl;
			com.aquarius.Publish.AquariusPublishService aqPublishService = 
					new com.aquarius.Publish.AquariusPublishService(new URL(serviceURL), new QName("http://tempuri.org/", "AquariusPublishService"));
			com.aquarius.Publish.IAquariusPublishService clientProxy = aqPublishService.getBasicHttpBindingIAquariusPublishService();
			javax.xml.ws.BindingProvider basicBindingProvider = (javax.xml.ws.BindingProvider) clientProxy;
			basicBindingProvider.getRequestContext().put(javax.xml.ws.BindingProvider.ENDPOINT_ADDRESS_PROPERTY, serviceURL);
			
			String authToken = clientProxy.getAuthToken(AqUser,  AqPassword);
			System.out.println("AuthToken is: " + authToken);
			
			//Pass token into clietProxy for other web services
			com.sun.xml.ws.developer.WSBindingProvider wsBindingProvider = (com.sun.xml.ws.developer.WSBindingProvider) clientProxy;
			wsBindingProvider.setOutboundHeaders(
					com.sun.xml.ws.api.message.Headers.create(new QName("AQAuthToken"), authToken)
			);
			
			Boolean isSessionValid = clientProxy.isConnectionValid();
			if(!isSessionValid)
			{
				System.err.println("Session is invalid!");
			}
			
			String parametersCsv = clientProxy.getParameterList();
			System.out.println("Parameters are: ");
			System.out.println(parametersCsv);
			
			
			Boolean expectSessionAlive = clientProxy.keepConnectionAlive();
			if(!expectSessionAlive)
			{
				System.err.println("keepSessionAlive failed!");
			}
			
			String filter = "identifier=072632995";
			String allLocations = clientProxy.getLocations(filter);
			System.out.println("All locations are: ");
			System.out.println(allLocations);
			
			wsBindingProvider.close();//Avoid resource leaking
		}
		catch(Exception e)
		{
			e.printStackTrace();
		}
	}