public class WebServiceHandler extends BaseRouterHandler
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CFGXMLPATH |
static java.lang.String |
ENDPOINTURL |
static java.lang.String |
HEADERELEMENTS |
static java.lang.String |
HTTPCONNTIMEOUT |
static java.lang.String |
HTTPREADTIMEOUT |
static java.lang.String |
HTTPVERSION |
static java.lang.String |
MEP |
static java.lang.String |
SERVICENAME |
static java.lang.String |
SOAPACTION |
static java.lang.String |
SOAPVERSION |
static java.lang.String |
TOKENPASSWORD |
static java.lang.String |
TOKENUSERID |
static java.lang.String |
WSEXIT |
BIDICONFIG, PASSWORD, USERNAME
Constructor and Description |
---|
WebServiceHandler() |
WebServiceHandler(MaxEndPointInfo endPointInfo) |
Modifier and Type | Method and Description |
---|---|
java.util.List<RouterPropsInfo> |
getProperties() |
static java.lang.String |
getProperty(java.lang.String propName) |
byte[] |
invoke(java.util.Map<java.lang.String,?> metaData,
byte[] data)
Sends data to a given url which is specified in 'destinationMap' HashMap.
|
public static final java.lang.String SERVICENAME
public static final java.lang.String ENDPOINTURL
public static final java.lang.String HTTPVERSION
public static final java.lang.String WSEXIT
public static final java.lang.String MEP
public static final java.lang.String SOAPACTION
public static final java.lang.String TOKENUSERID
public static final java.lang.String TOKENPASSWORD
public static final java.lang.String CFGXMLPATH
public static final java.lang.String HTTPREADTIMEOUT
public static final java.lang.String HTTPCONNTIMEOUT
public static final java.lang.String HEADERELEMENTS
public static final java.lang.String SOAPVERSION
public WebServiceHandler()
public WebServiceHandler(MaxEndPointInfo endPointInfo)
public static java.lang.String getProperty(java.lang.String propName)
public byte[] invoke(java.util.Map<java.lang.String,?> metaData, byte[] data) throws MXException
invoke
in interface RouterHandler
invoke
in class BaseRouterHandler
metaData
- meta data for the endpoint for this invocationdata
- the xml transaction in byte arrayMXException
- if there's a problem in opening the connection,
writing to the connection, reading from the connectionRouterHandler.invoke(java.util.Map, byte[])
public java.util.List<RouterPropsInfo> getProperties()