public class WsMethodInfo extends MethodInfo implements java.io.Serializable
MethodInfo class used in
licas to store all required information for a remote method call.| Modifier and Type | Field and Description |
|---|---|
static int |
NAME
The web service name - final part in URI
|
static int |
PATH
The class path for any classes
|
static int |
TARGETNS
The target namespace address - also the class path reversed
|
params| Constructor and Description |
|---|
WsMethodInfo()
Create a WsMethodInfo object with dummy values.
|
WsMethodInfo(java.lang.String thisCallType,
java.lang.String thisWebService,
java.lang.String thisOperation,
java.lang.String thisEndpointAddress,
java.lang.String thisSoapActionUri,
java.lang.String thisNamespace,
java.lang.String[] thisLocalWS,
java.util.ArrayList thisParameters)
Create a WsMethodInfo object with the parameters passed in.
|
| Modifier and Type | Method and Description |
|---|---|
void |
checkParamValues()
Change each parameter from a string into its actual type, required for RPC web service call.
|
void |
configLocalWS()
Configure the method info to include the definition for a locally run web service.
|
java.lang.String[] |
getLocalWS()
Get a list of additional values for a locally run (on licas) web service.
|
java.lang.String |
getNamespace()
Get the namespace address.
|
java.lang.String |
getSoapActionUri()
Get the soap action address.
|
java.lang.String |
getSoapEndpointAddress()
Get the endpoint address.
|
java.lang.String |
getSoapWebService()
Get the web service name.
|
java.lang.String |
getWsPassword()
Get the private web service password.
|
java.lang.String |
getWsUsername()
Get the private web service username.
|
void |
setLocalWS(java.lang.String[] thisLocalWS)
Set the local web service values.
|
void |
setNamespace(java.lang.String thisNamespace)
Set the namespace address to the value passed in.
|
void |
setSoapActionUri(java.lang.String thisSoapActionUri)
Set the soap action address.
|
void |
setSoapEndpointAddress(java.lang.String thisSoapEndpointAddress)
Set the endpoint address.
|
void |
setSoapWebService(java.lang.String thisSoapWebService)
Set the web service name.
|
void |
setWsPassword(java.lang.String thisPassword)
Set the private web service password.
|
void |
setWsUsername(java.lang.String thisUsername)
Set the private web service username.
|
java.lang.String |
toString()
Get a String representation of this object.
|
addParam, checkServerURL, clearParams, clone, copyValues, getCallTimeout, getCallType, getClientURI, getCommunicationID, getIsRemote, getName, getPacketSize, getParameter, getParams, getParamValues, getPassword, getRestOfServiceURI, getRtnType, getServerPassword, getServerURL, getServiceRtnType, getServiceURI, isVoid, objParameterTypes, setCallTimeout, setCallType, setClientURI, setCommunicationID, setIfRemote, setName, setPacketSize, setPassword, setRestOfServiceURI, setRtnType, setServerPassword, setServerURL, setServiceObj, setServiceRtnType, setServiceURI, updateServiceURIspublic static final int NAME
public static final int TARGETNS
public static final int PATH
public WsMethodInfo()
throws java.lang.Exception
java.lang.Exception - any error.public WsMethodInfo(java.lang.String thisCallType,
java.lang.String thisWebService,
java.lang.String thisOperation,
java.lang.String thisEndpointAddress,
java.lang.String thisSoapActionUri,
java.lang.String thisNamespace,
java.lang.String[] thisLocalWS,
java.util.ArrayList thisParameters)
throws java.lang.Exception
thisCallType - the protocol type, can be Const.REST or SOAP.thisWebService - the web service name.thisOperation - the global operation name.thisEndpointAddress - the web service location.thisSoapActionUri - the soap action location.thisNamespace - the soap namespace.thisLocalWS - optional set of parameters for a locally running Web Service, RPC type.
This can be empty for a remote (not on licas) service.thisParameters - the operation parameter values. Should be of type WsdlParamInfo.java.lang.Exception - any error.public void configLocalWS()
public void checkParamValues()
throws java.lang.Exception
java.lang.Exception - any error.public java.lang.String getWsUsername()
public void setWsUsername(java.lang.String thisUsername)
thisUsername - a private web service wsUsernamepublic java.lang.String getWsPassword()
public void setWsPassword(java.lang.String thisPassword)
thisPassword - for access to a private web service.public java.lang.String getSoapWebService()
public void setSoapWebService(java.lang.String thisSoapWebService)
thisSoapWebService - the soap web service name.public java.lang.String getSoapEndpointAddress()
public void setSoapEndpointAddress(java.lang.String thisSoapEndpointAddress)
thisSoapEndpointAddress - the web service location.public java.lang.String getSoapActionUri()
public void setSoapActionUri(java.lang.String thisSoapActionUri)
thisSoapActionUri - the soap action location.public java.lang.String getNamespace()
public void setNamespace(java.lang.String thisNamespace)
thisNamespace - the namespace address.public java.lang.String[] getLocalWS()
public void setLocalWS(java.lang.String[] thisLocalWS)
thisLocalWS - the local web service definition set.public java.lang.String toString()
toString in class MethodInfo