Class ClientSoapStub
java.lang.Object
com.collabnet.ce.soap60.webservices.ClientSoapStub
- Direct Known Subclasses:
CategorizationAppSoapStub
,ClientSoapMockStub
,CollabNetSoapStub
,DiscussionAppSoapStub
,DocumentAppSoapStub
,FileStorageAppSoapStub
,FrsAppSoapStub
,IntegrationDataAppSoapStub
,MonitoringAppSoapStub
,NewsAppSoapStub
,PageAppSoapStub
,PlanningAppSoapStub
,PluggableAppSoapStub
,RbacAppSoapStub
,ScmAppSoapStub
,SimpleFileStorageAppSoapStub
,TagAppSoapStub
,TeamAppSoapStub
,TrackerAppSoapStub
,WikiAppSoapStub
Web service client-side setup.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected org.apache.axis.client.Call
getServiceCall
(String methodName) Create a new service call to the given methodprotected String
Returns the soap server on the client stubint
Gets the client http socket timeout.void
setTimeout
(int ms) Sets the client http socket timeout.protected String
-
Field Details
-
DEFAULT_CLIENT_TIME_OUT
Default Client call timeout
-
-
Constructor Details
-
ClientSoapStub
Stub constructor.- Parameters:
soapServer
- Soap server url.
-
-
Method Details
-
getServiceCall
Create a new service call to the given method- Parameters:
methodName
- the name of the method (eg, "createUser")- Returns:
- a new Call instance, ready to be invoked
- Throws:
RemoteException
- when an error is encountered in creating the service call.
-
getSoapServer
Returns the soap server on the client stub- Returns:
- The new soap server of a client stub
-
setTimeout
public void setTimeout(int ms) Sets the client http socket timeout.- Parameters:
ms
- the timeout value in milliseconds
-
getTimeout
public int getTimeout()Gets the client http socket timeout. If timeout is not specified, this will return default time out of 60000 ms -
soapParam
-