This document contains code for a Java application that uses web services to generate and display an Oracle Analytics report. It logs into a session, generates a report, retrieves the HTML output, writes it to a file, and opens the file in a web browser. It also prints output to the console.
This document contains code for a Java application that uses web services to generate and display an Oracle Analytics report. It logs into a session, generates a report, retrieves the HTML output, writes it to a file, and opens the file in a web browser. It also prints output to the console.
This document contains code for a Java application that uses web services to generate and display an Oracle Analytics report. It logs into a session, generates a report, retrieves the HTML output, writes it to a file, and opens the file in a web browser. It also prints output to the console.
This document contains code for a Java application that uses web services to generate and display an Oracle Analytics report. It logs into a session, generates a report, retrieves the HTML output, writes it to a file, and opens the file in a web browser. It also prints output to the console.
// This source file is generated by Oracle tools and is subject to change
// It is a utility client for invoking the operations of the Web service port. // For reporting problems, use the following // Version = Oracle WebServices (10.1.3.0.0, build 060119.1546.05277) package soaptest; import oracle.webservices.transport.ClientTransport; import oracle.webservices.OracleStub; import javax.xml.rpc.ServiceFactory; import javax.xml.rpc.Stub; import javax.swing.*; import java.awt.*; import java.awt.event.*; import java.net.*; import java.io.*; import java.applet.*; public class SAWSessionServiceSoapClient extends Applet{ private soaptest.SAWSessionServiceSoap _port;
String sessionID = new String(); String curUser = new String(); String pageID = new String(); String reportID = new String(); String reportPath = new String(); String reportXML = new String(); String htmlOutput = new String(); String bodyHTML = new String(); String sqlResult = new String(); String xmlResult = new String();
/** * used to access the JAX-RPC level APIs * returns the interface of the port instance */ public soaptest.SAWSessionServiceSoap getPort() { return _port; }
public String getEndpoint() { return (String) ((Stub) _port)._getProperty(Stub.ENDPOINT_ADDRESS_PROPERTY); }
public void setEndpoint(String endpoint) { ((Stub) _port)._setProperty(Stub.ENDPOINT_ADDRESS_PROPERTY, endpoint); }
public String getPassword() { return (String) ((Stub) _port)._getProperty(Stub.PASSWORD_PROPERTY); }
public void setPassword(String password) { ((Stub) _port)._setProperty(Stub.PASSWORD_PROPERTY, password); }
public String getUsername() { return (String) ((Stub) _port)._getProperty(Stub.USERNAME_PROPERTY); }
public void setUsername(String username) { ((Stub) _port)._setProperty(Stub.USERNAME_PROPERTY, username); }
public void setMaintainSession(boolean maintainSession) { ((Stub) _port)._setProperty(Stub.SESSION_MAINTAIN_PROPERTY, Boolean.valueOf(maintainSession)); }
public boolean getMaintainSession() { return ((Boolean) ((Stub) _port)._getProperty(Stub.SESSION_MAINTAIN_PROPERTY)).booleanValue(); }
/** * returns the transport context */ public ClientTransport getClientTransport() { return ((OracleStub) _port).getClientTransport(); }
} HTMLView Service // This source file is generated by Oracle tools and is subject to change // It is a utility client for invoking the operations of the Web service port. // For reporting problems, use the following // Version = Oracle WebServices (10.1.3.0.0, build 060119.1546.05277) package soaptest; import oracle.webservices.transport.ClientTransport; import oracle.webservices.OracleStub; import javax.xml.rpc.ServiceFactory; import javax.xml.rpc.Stub; public class HtmlViewServiceClient { private soaptest.HtmlViewServiceSoap _port;
/** * used to access the JAX-RPC level APIs * returns the interface of the port instance */ public soaptest.HtmlViewServiceSoap getPort() { return _port; }
public String getEndpoint() { return (String) ((Stub) _port)._getProperty(Stub.ENDPOINT_ADDRESS_PROPERTY); }
public void setEndpoint(String endpoint) { ((Stub) _port)._setProperty(Stub.ENDPOINT_ADDRESS_PROPERTY, endpoint); } public String getPassword() { return (String) ((Stub) _port)._getProperty(Stub.PASSWORD_PROPERTY); }
public void setPassword(String password) { ((Stub) _port)._setProperty(Stub.PASSWORD_PROPERTY, password); }
public String getUsername() { return (String) ((Stub) _port)._getProperty(Stub.USERNAME_PROPERTY); }
public void setUsername(String username) { ((Stub) _port)._setProperty(Stub.USERNAME_PROPERTY, username); }
public void setMaintainSession(boolean maintainSession) { ((Stub) _port)._setProperty(Stub.SESSION_MAINTAIN_PROPERTY, Boolean.valueOf(maintainSession)); }
public boolean getMaintainSession() { return ((Boolean) ((Stub) _port)._getProperty(Stub.SESSION_MAINTAIN_PROPERTY)).booleanValue(); }
/** * returns the transport context */ public ClientTransport getClientTransport() { return ((OracleStub) _port).getClientTransport(); }
} XMLView Service // This source file is generated by Oracle tools and is subject to change // It is a utility client for invoking the operations of the Web service port. // For reporting problems, use the following // Version = Oracle WebServices (10.1.3.0.0, build 060119.1546.05277) package soaptest; import oracle.webservices.transport.ClientTransport; import oracle.webservices.OracleStub; import javax.xml.rpc.ServiceFactory; import javax.xml.rpc.Stub; public class XmlViewServiceSoapClient { private soaptest.XmlViewServiceSoap _port;
/** * used to access the JAX-RPC level APIs * returns the interface of the port instance */ public soaptest.XmlViewServiceSoap getPort() { return _port; }
public String getEndpoint() { return (String) ((Stub) _port)._getProperty(Stub.ENDPOINT_ADDRESS_PROPERTY); }
public void setEndpoint(String endpoint) { ((Stub) _port)._setProperty(Stub.ENDPOINT_ADDRESS_PROPERTY, endpoint); }
public String getPassword() { return (String) ((Stub) _port)._getProperty(Stub.PASSWORD_PROPERTY); }
public void setPassword(String password) { ((Stub) _port)._setProperty(Stub.PASSWORD_PROPERTY, password); }
public String getUsername() { return (String) ((Stub) _port)._getProperty(Stub.USERNAME_PROPERTY); }
public void setUsername(String username) { ((Stub) _port)._setProperty(Stub.USERNAME_PROPERTY, username); }
public void setMaintainSession(boolean maintainSession) { ((Stub) _port)._setProperty(Stub.SESSION_MAINTAIN_PROPERTY, Boolean.valueOf(maintainSession)); }
public boolean getMaintainSession() { return ((Boolean) ((Stub) _port)._getProperty(Stub.SESSION_MAINTAIN_PROPERTY)).booleanValue(); }
/** * returns the transport context */ public ClientTransport getClientTransport() { return ((OracleStub) _port).getClientTransport(); }
} ReportEditing Service // This source file is generated by Oracle tools and is subject to change // It is a utility client for invoking the operations of the Web service port. // For reporting problems, use the following // Version = Oracle WebServices (10.1.3.0.0, build 060119.1546.05277) package soaptest; import oracle.webservices.transport.ClientTransport; import oracle.webservices.OracleStub; import javax.xml.rpc.ServiceFactory; import javax.xml.rpc.Stub; public class ReportEditingServiceSoapClient { private soaptest.ReportEditingServiceSoap _port;
/** * used to access the JAX-RPC level APIs * returns the interface of the port instance */ public soaptest.ReportEditingServiceSoap getPort() { return _port; }
public String getEndpoint() { return (String) ((Stub) _port)._getProperty(Stub.ENDPOINT_ADDRESS_PROPERTY); }
public void setEndpoint(String endpoint) { ((Stub) _port)._setProperty(Stub.ENDPOINT_ADDRESS_PROPERTY, endpoint); }
public String getPassword() { return (String) ((Stub) _port)._getProperty(Stub.PASSWORD_PROPERTY); }
public void setPassword(String password) { ((Stub) _port)._setProperty(Stub.PASSWORD_PROPERTY, password); } public String getUsername() { return (String) ((Stub) _port)._getProperty(Stub.USERNAME_PROPERTY); }
public void setUsername(String username) { ((Stub) _port)._setProperty(Stub.USERNAME_PROPERTY, username); }
public void setMaintainSession(boolean maintainSession) { ((Stub) _port)._setProperty(Stub.SESSION_MAINTAIN_PROPERTY, Boolean.valueOf(maintainSession)); }
public boolean getMaintainSession() { return ((Boolean) ((Stub) _port)._getProperty(Stub.SESSION_MAINTAIN_PROPERTY)).booleanValue(); }
/** * returns the transport context */ public ClientTransport getClientTransport() { return ((OracleStub) _port).getClientTransport(); }