|
Style Intelligence v12.0 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectinetsoft.uql.XDataSource
inetsoft.uql.util.HierDataSource
inetsoft.uql.soap.SoapDataSource
public class SoapDataSource
SOAP data source class. It contains information on how to connect to a SOAP server and the type of method and result of the SOAP server.
| Field Summary |
|---|
| Fields inherited from class inetsoft.uql.util.HierDataSource |
|---|
GET, POST |
| Fields inherited from class inetsoft.uql.XDataSource |
|---|
CORBA, DOMAIN_DB2, DOMAIN_NONE, DOMAIN_ORACLE, DOMAIN_SQL, DOMAIN_SQLSERVER, EJB, JDBC, OBJECT, SAP, SOAP, TEXT, XML, XMLA |
| Constructor Summary | |
|---|---|
SoapDataSource()
Create a SOAP data source. |
|
| Method Summary | |
|---|---|
Object |
clone()
Create a clone of this object. |
boolean |
equals(Object obj)
Check if equals another object. |
String |
generate(String wsdl)
Generates the SOAP client. |
String |
getInterface()
Get the SOAP server object interface class full name. |
String |
getMethodName(String reqname)
Get the name of the SOAP method for the specified request. |
String |
getPassword()
Get the used user password. |
String |
getRequest(int idx)
Get the data source item name. |
int |
getRequestCount()
Get the number of SOAP requests. |
XTypeNode |
getRequestInputType(String method)
Get the input type of the specified request. |
XTypeNode |
getRequestOutputType(String method)
Get the output type of the specified request. |
XNode |
getRequestParameters(String method)
Get the parameters of the specified request. |
String |
getURL()
Get the name of the SOAP naming service. |
String |
getUser()
Get the used user id. |
void |
importInterface(String serverclass)
Import the SOAP server object interface class. |
boolean |
isGenerated()
Gets the flag that determines if the SOAP client was generated by this data source. |
boolean |
isPost()
Check whether use post method in url connection. |
boolean |
isRequireLogin()
Check if this data soure requires user login. |
void |
parseXML(Element root)
Parse the XML element that contains information on this data source. |
void |
setGenerated(boolean generated)
Sets the flag that determines if the SOAP client was generated by this data source. |
void |
setInterface(String serverclass)
Set the SOAP server object interface class full name. |
void |
setPassword(String password)
Set the user password. |
void |
setPost(boolean post)
Set the method of soap url connect. |
void |
setRequestParameters(String method,
XNode params)
Set the parameters of the specified request. |
void |
setRequireLogin(boolean login)
Set whether this data source requires user login during connection. |
void |
setURL(String url)
Set the name of the SOAP naming service. |
void |
setUser(String user)
Set the user id. |
void |
writeXML(PrintWriter writer)
Generate the XML segment to represent this data source. |
| Methods inherited from class inetsoft.uql.util.HierDataSource |
|---|
getParameters, getTypeResolver, setTypeResolver |
| Methods inherited from class inetsoft.uql.XDataSource |
|---|
addFolder, getDescription, getDomainType, getFolders, getFullName, getName, getRuntimeValue, getType, hashCode, isMVEnabled, removeFolder, removeFolders, setDescription, setName, toString |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public SoapDataSource()
| Method Detail |
|---|
public void setURL(String url)
public String getURL()
public void setPost(boolean post)
public boolean isPost()
public String getRequest(int idx)
getRequest in class HierDataSourcepublic String getMethodName(String reqname)
reqname - the name of the request.
null if no such method
exists.public void setUser(String user)
public String getUser()
public void setPassword(String password)
public String getPassword()
public void setRequireLogin(boolean login)
public boolean isRequireLogin()
public int getRequestCount()
getRequestCount in class HierDataSourcepublic XTypeNode getRequestOutputType(String method)
getRequestOutputType in class HierDataSourcemethod - request name.
public XTypeNode getRequestInputType(String method)
getRequestInputType in class HierDataSourcemethod - request name.
public XNode getRequestParameters(String method)
getRequestParameters in class HierDataSourcemethod - request name.
public void setRequestParameters(String method,
XNode params)
setRequestParameters in class HierDataSourcemethod - request name.params - parameters represented as a tree. It is converted
to a SOAP object during runtime to be passed to the SOAP call.public String getInterface()
public void setInterface(String serverclass)
public boolean isGenerated()
public void setGenerated(boolean generated)
generated - true if generated; false otherwise.
public String generate(String wsdl)
throws Exception
wsdl - the URL of the WSDL describing the SOAP service.
Exception - if the generation failed.
public void importInterface(String serverclass)
throws Exception
Exception
public void parseXML(Element root)
throws Exception
parseXML in interface inetsoft.util.XMLSerializableparseXML in class XDataSourceExceptionpublic void writeXML(PrintWriter writer)
writeXML in interface inetsoft.util.XMLSerializablewriteXML in class XDataSourcepublic boolean equals(Object obj)
equals in class XDataSourcepublic Object clone()
clone in class XDataSource
|
Copyright © 1996-2014 InetSoft Technology Corp. All Rights Reserved. | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||