public class WSCallClient
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
MEP_FIREANDFORGET |
static java.lang.String |
MEP_SENDRECEIVE |
static java.lang.String |
MEP_SENDROBUST |
Constructor and Description |
---|
WSCallClient() |
Modifier and Type | Method and Description |
---|---|
byte[] |
invokeWebService(java.lang.String serviceName,
java.lang.String endpointURL,
byte[] payload,
java.lang.String httpProtocolVersion,
java.lang.String httpUserName,
java.lang.String httpPassword,
java.lang.String soapAction,
java.lang.String mep,
java.lang.String soapVersion,
java.lang.String wsAddrVersion,
java.lang.String utUser,
java.lang.String utPassword,
int httpReadTimeout,
int httpConnTimeout,
java.lang.String configXMLPath) |
byte[] |
invokeWebService(java.lang.String serviceName,
java.lang.String endpointURL,
byte[] payload,
java.lang.String httpProtocolVersion,
java.lang.String httpUserName,
java.lang.String httpPassword,
java.lang.String soapAction,
java.lang.String mep,
java.lang.String soapVersion,
java.lang.String wsAddrVersion,
java.lang.String utUser,
java.lang.String utPassword,
int httpReadTimeout,
int httpConnTimeout,
java.lang.String configXMLPath,
java.util.Map<javax.xml.namespace.QName,java.lang.String> soapHeaderProps,
java.util.List<byte[]> soapHeaderData) |
org.jdom.Document |
invokeWebService(java.lang.String serviceName,
java.lang.String endpointURL,
org.jdom.Document payload,
java.lang.String httpProtocolVersion,
java.lang.String httpUserName,
java.lang.String httpPassword,
java.lang.String soapAction,
java.lang.String mep,
java.lang.String soapVersion,
java.lang.String wsAddrVersion,
java.lang.String utUser,
java.lang.String utPassword,
int httpReadTimeout,
int httpConnTimeout,
java.lang.String configXMLPath) |
org.apache.axiom.om.OMElement |
invokeWebService(java.lang.String serviceName,
java.lang.String endpointURL,
org.apache.axiom.om.OMElement payload,
java.lang.String httpProtocolVersion,
java.lang.String httpUserName,
java.lang.String httpPassword,
java.lang.String soapAction,
java.lang.String mep,
java.lang.String soapVersion,
java.lang.String wsAddrVersion,
java.lang.String utUser,
java.lang.String utPassword,
int httpReadTimeout,
int httpConnTimeout,
java.lang.String configXMLPath)
Invoke the webservice using the DII (dynamic invocation interface).
|
org.apache.axiom.om.OMElement |
invokeWebService(java.lang.String serviceName,
java.lang.String endpointURL,
org.apache.axiom.om.OMElement payload,
java.lang.String httpProtocolVersion,
java.lang.String httpUserName,
java.lang.String httpPassword,
java.lang.String soapAction,
java.lang.String mep,
java.lang.String soapVersion,
java.lang.String wsAddrVersion,
java.lang.String utUser,
java.lang.String utPassword,
int httpReadTimeout,
int httpConnTimeout,
java.lang.String configXMLPath,
java.util.Map<javax.xml.namespace.QName,java.lang.String> soapHeaderProps,
java.util.List<org.apache.axiom.om.OMElement> soapHeaderElements) |
org.apache.axiom.om.OMElement |
invokeWebService(java.lang.String serviceName,
java.lang.String endpointURL,
org.apache.axiom.om.OMElement payload,
java.lang.String httpProtocolVersion,
java.lang.String httpUserName,
java.lang.String httpPassword,
java.lang.String soapAction,
java.lang.String mep,
java.lang.String soapVersion,
java.lang.String wsAddrVersion,
java.lang.String utUser,
java.lang.String utPassword,
java.lang.String configXMLPath) |
public static final java.lang.String MEP_FIREANDFORGET
public static final java.lang.String MEP_SENDRECEIVE
public static final java.lang.String MEP_SENDROBUST
public org.apache.axiom.om.OMElement invokeWebService(java.lang.String serviceName, java.lang.String endpointURL, org.apache.axiom.om.OMElement payload, java.lang.String httpProtocolVersion, java.lang.String httpUserName, java.lang.String httpPassword, java.lang.String soapAction, java.lang.String mep, java.lang.String soapVersion, java.lang.String wsAddrVersion, java.lang.String utUser, java.lang.String utPassword, java.lang.String configXMLPath) throws java.lang.Exception
java.lang.Exception
public org.apache.axiom.om.OMElement invokeWebService(java.lang.String serviceName, java.lang.String endpointURL, org.apache.axiom.om.OMElement payload, java.lang.String httpProtocolVersion, java.lang.String httpUserName, java.lang.String httpPassword, java.lang.String soapAction, java.lang.String mep, java.lang.String soapVersion, java.lang.String wsAddrVersion, java.lang.String utUser, java.lang.String utPassword, int httpReadTimeout, int httpConnTimeout, java.lang.String configXMLPath) throws java.lang.Exception
serviceName
- the name of the web serviceendpointURL
- the endpoint url as specified in the wsdl definitions->service->port->soap address sectionpayload
- the xml payloadhttpProtocolVersion
- the http protocol version - default is 1.1 [optional]httpUserName
- the http basic auth user [optional]httpPassword
- the http basic auth password [optional]soapAction
- the soapAction as specified in definition->binding->operation->soap operation section [optional]mep
- the message exchange pattern - MEP_FIREANDFORGET or MEP_SENDRECEIVE or MEP_SENDROBUST [optional]soapVersion
- the version of soap - default is 1.1 [optional]wsAddrVersion
- the version of ws addressing to use [optional]utUser
- not supported - do not useutPassword
- not supported - do not usehttpReadTimeout
- the http read timeouthttpConnTimeout
- the http connect timeoutconfigXMLPath
- not supported - do not usejava.lang.Exception
public org.apache.axiom.om.OMElement invokeWebService(java.lang.String serviceName, java.lang.String endpointURL, org.apache.axiom.om.OMElement payload, java.lang.String httpProtocolVersion, java.lang.String httpUserName, java.lang.String httpPassword, java.lang.String soapAction, java.lang.String mep, java.lang.String soapVersion, java.lang.String wsAddrVersion, java.lang.String utUser, java.lang.String utPassword, int httpReadTimeout, int httpConnTimeout, java.lang.String configXMLPath, java.util.Map<javax.xml.namespace.QName,java.lang.String> soapHeaderProps, java.util.List<org.apache.axiom.om.OMElement> soapHeaderElements) throws java.lang.Exception
java.lang.Exception
public byte[] invokeWebService(java.lang.String serviceName, java.lang.String endpointURL, byte[] payload, java.lang.String httpProtocolVersion, java.lang.String httpUserName, java.lang.String httpPassword, java.lang.String soapAction, java.lang.String mep, java.lang.String soapVersion, java.lang.String wsAddrVersion, java.lang.String utUser, java.lang.String utPassword, int httpReadTimeout, int httpConnTimeout, java.lang.String configXMLPath) throws java.lang.Exception
java.lang.Exception
public byte[] invokeWebService(java.lang.String serviceName, java.lang.String endpointURL, byte[] payload, java.lang.String httpProtocolVersion, java.lang.String httpUserName, java.lang.String httpPassword, java.lang.String soapAction, java.lang.String mep, java.lang.String soapVersion, java.lang.String wsAddrVersion, java.lang.String utUser, java.lang.String utPassword, int httpReadTimeout, int httpConnTimeout, java.lang.String configXMLPath, java.util.Map<javax.xml.namespace.QName,java.lang.String> soapHeaderProps, java.util.List<byte[]> soapHeaderData) throws java.lang.Exception
java.lang.Exception
public org.jdom.Document invokeWebService(java.lang.String serviceName, java.lang.String endpointURL, org.jdom.Document payload, java.lang.String httpProtocolVersion, java.lang.String httpUserName, java.lang.String httpPassword, java.lang.String soapAction, java.lang.String mep, java.lang.String soapVersion, java.lang.String wsAddrVersion, java.lang.String utUser, java.lang.String utPassword, int httpReadTimeout, int httpConnTimeout, java.lang.String configXMLPath) throws java.lang.Exception
java.lang.Exception