public class JAXWSClient
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 |
static java.lang.String |
SOAP11 |
static java.lang.String |
SOAP12 |
Constructor and Description |
---|
JAXWSClient() |
Modifier and Type | Method and Description |
---|---|
byte[] |
invoke(byte[] payload,
java.lang.String serviceName,
java.lang.String epURL,
java.lang.String action,
java.lang.String soapVersion,
java.lang.String httpUser,
java.lang.String httpPassword,
java.lang.String mep,
java.util.Map<java.lang.String,java.util.List<java.lang.String>> httpHeaders,
int readTimeout)
Invoke the target web service.
|
byte[] |
invoke(byte[] payload,
java.lang.String serviceName,
java.lang.String epURL,
java.lang.String action,
java.lang.String soapVersion,
java.lang.String httpUser,
java.lang.String httpPassword,
java.lang.String mep,
java.util.Map<java.lang.String,java.util.List<java.lang.String>> httpHeaders,
int readTimeout,
int connTimeout) |
byte[] |
invoke(byte[] payload,
java.lang.String serviceName,
java.lang.String epURL,
java.lang.String action,
java.lang.String soapVersion,
java.lang.String httpUser,
java.lang.String httpPassword,
java.lang.String mep,
java.util.Map<java.lang.String,java.util.List<java.lang.String>> httpHeaders,
int readTimeout,
int connTimeout,
java.util.Map<javax.xml.namespace.QName,java.util.List<java.lang.String>> soapHeaders,
java.util.Map<javax.xml.namespace.QName,java.util.List<java.lang.String>> responseSOAPHeaders) |
byte[] |
invoke(byte[] payload,
java.lang.String serviceName,
java.lang.String epURL,
java.lang.String action,
java.lang.String soapVersion,
java.lang.String httpUser,
java.lang.String httpPassword,
java.lang.String mep,
java.util.Map<java.lang.String,java.util.List<java.lang.String>> httpHeaders,
int readTimeout,
java.util.Map<javax.xml.namespace.QName,java.util.List<java.lang.String>> soapHeaders,
java.util.Map<javax.xml.namespace.QName,java.util.List<java.lang.String>> responseSOAPHeaders) |
static void |
main(java.lang.String[] args) |
public static final java.lang.String SOAP11
public static final java.lang.String SOAP12
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 byte[] invoke(byte[] payload, java.lang.String serviceName, java.lang.String epURL, java.lang.String action, java.lang.String soapVersion, java.lang.String httpUser, java.lang.String httpPassword, java.lang.String mep, java.util.Map<java.lang.String,java.util.List<java.lang.String>> httpHeaders, int readTimeout) throws javax.xml.ws.WebServiceException, javax.xml.transform.TransformerFactoryConfigurationError, javax.xml.transform.TransformerException, java.lang.SecurityException, java.lang.NoSuchFieldException, java.lang.ClassNotFoundException, java.lang.IllegalArgumentException, java.lang.IllegalAccessException, java.rmi.RemoteException, MXException
payload
- - the xml payload for the SOAP messageserviceName
- - the name of the target web serviceepURL
- - the endpoint url for the target web serviceaction
- - the soap action value to be used for the invocationsoapVersion
- - the soap version - SOAP11 or SOAP12httpUser
- - the http user namehttpPassword
- - the http passwordmep
- - the message exchange patternjava.lang.ClassNotFoundException
java.lang.NoSuchFieldException
java.lang.SecurityException
java.lang.IllegalAccessException
java.lang.IllegalArgumentException
java.rmi.RemoteException
MXException
java.lang.Exception
javax.xml.ws.WebServiceException
javax.xml.transform.TransformerFactoryConfigurationError
javax.xml.transform.TransformerException
public byte[] invoke(byte[] payload, java.lang.String serviceName, java.lang.String epURL, java.lang.String action, java.lang.String soapVersion, java.lang.String httpUser, java.lang.String httpPassword, java.lang.String mep, java.util.Map<java.lang.String,java.util.List<java.lang.String>> httpHeaders, int readTimeout, java.util.Map<javax.xml.namespace.QName,java.util.List<java.lang.String>> soapHeaders, java.util.Map<javax.xml.namespace.QName,java.util.List<java.lang.String>> responseSOAPHeaders) throws javax.xml.ws.WebServiceException, javax.xml.transform.TransformerFactoryConfigurationError, javax.xml.transform.TransformerException, java.lang.SecurityException, java.lang.NoSuchFieldException, java.lang.ClassNotFoundException, java.lang.IllegalArgumentException, java.lang.IllegalAccessException, java.rmi.RemoteException, MXException
javax.xml.ws.WebServiceException
javax.xml.transform.TransformerFactoryConfigurationError
javax.xml.transform.TransformerException
java.lang.SecurityException
java.lang.NoSuchFieldException
java.lang.ClassNotFoundException
java.lang.IllegalArgumentException
java.lang.IllegalAccessException
java.rmi.RemoteException
MXException
public byte[] invoke(byte[] payload, java.lang.String serviceName, java.lang.String epURL, java.lang.String action, java.lang.String soapVersion, java.lang.String httpUser, java.lang.String httpPassword, java.lang.String mep, java.util.Map<java.lang.String,java.util.List<java.lang.String>> httpHeaders, int readTimeout, int connTimeout) throws javax.xml.ws.WebServiceException, javax.xml.transform.TransformerFactoryConfigurationError, javax.xml.transform.TransformerException, java.lang.SecurityException, java.lang.NoSuchFieldException, java.lang.ClassNotFoundException, java.lang.IllegalArgumentException, java.lang.IllegalAccessException, java.rmi.RemoteException, MXException
javax.xml.ws.WebServiceException
javax.xml.transform.TransformerFactoryConfigurationError
javax.xml.transform.TransformerException
java.lang.SecurityException
java.lang.NoSuchFieldException
java.lang.ClassNotFoundException
java.lang.IllegalArgumentException
java.lang.IllegalAccessException
java.rmi.RemoteException
MXException
public byte[] invoke(byte[] payload, java.lang.String serviceName, java.lang.String epURL, java.lang.String action, java.lang.String soapVersion, java.lang.String httpUser, java.lang.String httpPassword, java.lang.String mep, java.util.Map<java.lang.String,java.util.List<java.lang.String>> httpHeaders, int readTimeout, int connTimeout, java.util.Map<javax.xml.namespace.QName,java.util.List<java.lang.String>> soapHeaders, java.util.Map<javax.xml.namespace.QName,java.util.List<java.lang.String>> responseSOAPHeaders) throws javax.xml.ws.WebServiceException, javax.xml.transform.TransformerFactoryConfigurationError, javax.xml.transform.TransformerException, java.lang.SecurityException, java.lang.NoSuchFieldException, java.lang.ClassNotFoundException, java.lang.IllegalArgumentException, java.lang.IllegalAccessException, java.rmi.RemoteException, MXException
javax.xml.ws.WebServiceException
javax.xml.transform.TransformerFactoryConfigurationError
javax.xml.transform.TransformerException
java.lang.SecurityException
java.lang.NoSuchFieldException
java.lang.ClassNotFoundException
java.lang.IllegalArgumentException
java.lang.IllegalAccessException
java.rmi.RemoteException
MXException
public static void main(java.lang.String[] args) throws java.lang.Exception
java.lang.Exception