
package com.cognos.client;

import com.cognos.developer.*;
import org.apache.axis.client.*;
import org.apache.axis.message.SOAPHeader;

/**
 *  ServiceInvoker
 */
public class ServiceInvoker
{
    public ServiceInvoker(){}

	public static void main(String [] args) throws Exception
	{
        com.cognos.developer.ContentManagerServicePortType binding;
        try {
            binding = new com.cognos.developer.ContentManagerServiceLocator().getContentManagerServicePortType();
        }
        catch (javax.xml.rpc.ServiceException jre) {
            throw new junit.framework.AssertionFailedError("JAX-RPC ServiceException caught: " + jre);
        }

        binding.query(
					"", 
					"", 
					true,
					"",
					0,
					0,
					true,
					new com.cognos.developer.QueryPropertyStruct[] {
						new com.cognos.developer.QueryPropertyStruct(), 
						new com.cognos.developer.QueryPropertyStruct()
					},
					new com.cognos.developer.SortPropertyStruct[] {
						new com.cognos.developer.SortPropertyStruct(), 
						new com.cognos.developer.SortPropertyStruct()}
					);
	}	
}