|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.metamatrix.soap.util.WebServiceUtil
public class WebServiceUtil
This class contains utility methods for MetaMatrix Web Services.
| Field Summary | |
|---|---|
static java.lang.String |
WSDLPASSWORD
|
static java.lang.String |
WSDLUSER
|
| Constructor Summary | |
|---|---|
WebServiceUtil()
|
|
| Method Summary | |
|---|---|
static Admin |
getAdminAPI(java.lang.String userName,
java.lang.String password,
MMServerInfo serverUrlInfo)
|
static Credential |
getBasicUserNameAndPassword(java.lang.Object creds)
This decodes and parses the username and password from an encrypted string derived from HTTPBasic and returns in a <@link come.metamatrix.soap.security.Credential> instance. |
static Credential |
getCredentials(org.apache.axis2.context.MessageContext msgCtx)
This method gets the user credentials containg username and password to use for a server connection. |
static java.util.List |
getWSDLUrls(java.lang.String webScheme,
java.lang.String webHost,
java.lang.String webPort,
java.lang.String appName,
java.lang.String userName,
java.lang.String password,
MMServerInfo serverList)
Returns a list of WSDLUrl objects that define WSDL for MetaMatrix Web Service VDBs. |
static void |
validateActionIsSet(java.lang.String action)
This method will validate that the action value is set. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String WSDLUSER
public static final java.lang.String WSDLPASSWORD
| Constructor Detail |
|---|
public WebServiceUtil()
| Method Detail |
|---|
public static void validateActionIsSet(java.lang.String action)
throws SOAPProcessingException
action - - Action string
SOAPProcessingException - (if value not set)
public static Credential getCredentials(org.apache.axis2.context.MessageContext msgCtx)
throws org.apache.axis2.AxisFault
org.apache.axis2.AxisFaultpublic static Credential getBasicUserNameAndPassword(java.lang.Object creds)
public static java.util.List getWSDLUrls(java.lang.String webScheme,
java.lang.String webHost,
java.lang.String webPort,
java.lang.String appName,
java.lang.String userName,
java.lang.String password,
MMServerInfo serverList)
throws LogonException,
AdminException
webScheme - webHost - webPort - appName - userName - password - serverList -
SQLException
LogonException
AdminException
public static Admin getAdminAPI(java.lang.String userName,
java.lang.String password,
MMServerInfo serverUrlInfo)
throws AdminException
userName - password - serverUrlInfo -
LogonException, - AdminException
AdminException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||