public class WebSoapService
extends java.lang.Object
| Constructor and Description |
|---|
WebSoapService()
Create a new instance of CallWebService.
|
| Modifier and Type | Method and Description |
|---|---|
protected java.util.ArrayList |
removeNullValues(java.util.ArrayList paramHolder,
WsdlParamInfo rootParam)
Remove any parameters with null values.
|
protected java.lang.Object |
restCall(WsMethodInfo webServiceInfo)
Make a web service call using the selected values.
|
protected java.lang.Object |
soapRpcCall(java.lang.String commProtocol,
WsMethodInfo webServiceInfo)
Make a web service call using the selected values.
|
java.lang.Object |
webServiceCall(java.lang.String commProtocol,
WsdlOperation wsdlOperation,
WsMethodInfo webServiceInfo)
Make a web service call using the selected values.
|
java.lang.Object |
webServiceCall(java.lang.String commProtocol,
WsMethodInfo webServiceInfo)
Make a web service call using the selected values.
|
public WebSoapService()
throws java.lang.Exception
java.lang.Exception - any error.public java.lang.Object webServiceCall(java.lang.String commProtocol,
WsdlOperation wsdlOperation,
WsMethodInfo webServiceInfo)
throws java.lang.Exception
commProtocol - the communication protocol type - HTTP, POST, GETwsdlOperation - the selected operation description.webServiceInfo - the constructed method info.java.lang.Exception - any error.public java.lang.Object webServiceCall(java.lang.String commProtocol,
WsMethodInfo webServiceInfo)
throws java.lang.Exception
commProtocol - the communication protocol type - Soap, Rest or WSRPCwebServiceInfo - the constructed method info.java.lang.Exception - any error.protected java.lang.Object soapRpcCall(java.lang.String commProtocol,
WsMethodInfo webServiceInfo)
throws java.lang.Exception
commProtocol - the communication protocol type - Soap or WSRPC.webServiceInfo - the constructed method info.java.lang.Exception - any error.protected java.lang.Object restCall(WsMethodInfo webServiceInfo) throws java.lang.Exception
webServiceInfo - the constructed method info - gets converted to a REST
message first.java.lang.Exception - any error.protected java.util.ArrayList removeNullValues(java.util.ArrayList paramHolder,
WsdlParamInfo rootParam)
paramHolder - to store valid parameters in.rootParam - the parameter to parse from.