Class ClientSoapStubFactory
java.lang.Object
com.collabnet.ce.soap60.webservices.ClientSoapStubFactory
Client side SOAP stub factory.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic org.apache.axis.EngineConfiguration
Return custom Axis EngineConfiguration if set.static ClientSoapStub
getSoapStub
(Class<?> soapInterface, String serverUrl) Returns client-side soap stub for the specified SOAP interface.static ClientSoapStub
getSoapStub
(Class<?> soapInterface, String serverUrl, int timeoutMs) Returns client-side soap stub for the specified SOAP interface.static void
setConfig
(org.apache.axis.EngineConfiguration config) Set the custom Axis EngineConfiguration to use for factory objects.
-
Constructor Details
-
ClientSoapStubFactory
public ClientSoapStubFactory()
-
-
Method Details
-
getConfig
public static org.apache.axis.EngineConfiguration getConfig()Return custom Axis EngineConfiguration if set. Can return NULL- Returns:
- the config
-
setConfig
public static void setConfig(org.apache.axis.EngineConfiguration config) Set the custom Axis EngineConfiguration to use for factory objects.- Parameters:
config
- the config to set
-
getSoapStub
Returns client-side soap stub for the specified SOAP interface.- Parameters:
soapInterface
- SOAP interface for which to return the stub.serverUrl
- SOAP server URL.- Returns:
- Client side soap stub.
-
getSoapStub
Returns client-side soap stub for the specified SOAP interface.- Parameters:
soapInterface
- SOAP interface for which to return the stub.serverUrl
- SOAP server URL.timeoutMs
- sets the http timeout (in ms) for all calls made by the soap stub- Returns:
- Client side soap stub.
-