public class SAPTransportSender
extends org.apache.axis2.transport.base.AbstractTransportSender
SAPTransportSender
provides the ransport Sender implementation for SAP endpointsModifier and Type | Field and Description |
---|---|
static String |
ERROR_CODE
The SAP endpoint error code
|
static int |
SAP_DESTINATION_ERROR
SAP destination error.
|
static String |
SAP_TRANSACTION_ID
String constant for the header name of sap transaciton id.
|
static int |
SAP_TRANSPORT_ERROR
Error while sending the Message through wire
|
Constructor and Description |
---|
SAPTransportSender() |
Modifier and Type | Method and Description |
---|---|
void |
init(org.apache.axis2.context.ConfigurationContext cfgCtx,
org.apache.axis2.description.TransportOutDescription trpOut) |
void |
sendMessage(org.apache.axis2.context.MessageContext messageContext,
String targetEPR,
org.apache.axis2.transport.OutTransportInfo outTransportInfo)
Send the SAP message to the SAP R/* system, Accepted URL format: idoc:/MyServer[?version=2]
|
cleanup, createResponseMessageContext, getActiveThreadCount, getAvgSizeReceived, getAvgSizeSent, getBytesReceived, getBytesSent, getFaultsReceiving, getFaultsSending, getLastResetTime, getMaxSizeReceived, getMaxSizeSent, getMessagesReceived, getMessagesSent, getMetricsWindow, getMinSizeReceived, getMinSizeSent, getQueueSize, getResponseCodeTable, getTimeoutsReceiving, getTimeoutsSending, getTransportName, handleException, handleException, handleIncomingMessage, invoke, logException, maintenenceShutdown, pause, resetStatistics, resume, stop, waitForSynchronousResponse
cleanup, flowComplete, getHandlerDesc, getName, getParameter, init, toString
public static final String ERROR_CODE
public static final int SAP_TRANSPORT_ERROR
public static final String SAP_TRANSACTION_ID
public static final int SAP_DESTINATION_ERROR
public void init(org.apache.axis2.context.ConfigurationContext cfgCtx, org.apache.axis2.description.TransportOutDescription trpOut) throws org.apache.axis2.AxisFault
init
in interface org.apache.axis2.transport.TransportSender
init
in class org.apache.axis2.transport.base.AbstractTransportSender
org.apache.axis2.AxisFault
public void sendMessage(org.apache.axis2.context.MessageContext messageContext, String targetEPR, org.apache.axis2.transport.OutTransportInfo outTransportInfo) throws org.apache.axis2.AxisFault
sendMessage
in class org.apache.axis2.transport.base.AbstractTransportSender
messageContext
- axis2 message contexttargetEPR
- SAP EPRoutTransportInfo
- out transport infoorg.apache.axis2.AxisFault
- throws in case of an errorCopyright © 2018 WSO2. All rights reserved.