com.vmware.vim25.ws
Class WSClient
java.lang.Object
com.vmware.vim25.ws.WSClient
public final class WSClient
- extends Object
The Web Service Engine
- Author:
- Steve Jin (sjin@vmware.com)
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WSClient
public WSClient(String serverUrl)
throws MalformedURLException
- Throws:
MalformedURLException
WSClient
public WSClient(String serverUrl,
boolean ignoreCert)
throws MalformedURLException
- Throws:
MalformedURLException
invoke
public Object invoke(ManagedObjectReference mor,
String methodName,
Argument[] paras,
String returnType)
throws IOException
- Throws:
IOException
invoke
public Object invoke(String methodName,
Argument[] paras,
String returnType)
throws RemoteException
- Throws:
RemoteException
invoke
public org.dom4j.Element invoke(String methodName,
Argument[] paras)
throws RemoteException
- Throws:
RemoteException
invokeAsString
public StringBuffer invokeAsString(String methodName,
Argument[] paras)
throws RemoteException
- Throws:
RemoteException
post
public InputStream post(String soapMsg)
throws IOException
- Throws:
IOException
getBaseUrl
public URL getBaseUrl()
setBaseUrl
public void setBaseUrl(URL baseUrl)
getCookie
public String getCookie()
setCookie
public void setCookie(String cookie)
getVimNameSpace
public String getVimNameSpace()
setVimNameSpace
public void setVimNameSpace(String vimNameSpace)
setConnectTimeout
public void setConnectTimeout(int timeoutMilliSec)
getConnectTimeout
public int getConnectTimeout()
setReadTimeout
public void setReadTimeout(int timeoutMilliSec)
getReadTimeout
public int getReadTimeout()
setSoapActionOnApiVersion
public void setSoapActionOnApiVersion(String apiVersion)
Copyright © 2011-2012. All Rights Reserved.