WSIFMessage faultMsg)
throws WSIFException {
Trc.entry(this, inMsg, outMsg, faultMsg);
boolean workedOK = false;
Call call = wsifPort.getCall();
// Make sure we're making a fresh start.
call.removeAllParameters();
call.clearHeaders();
call.setTargetEndpointAddress(wsifPort.getEndPoint());
if (inputSOAPParts == null) {
prepare(call);
}
call.setSOAPActionURI(getSoapActionURI());
if (WSIFAXISConstants.STYLE_DOCUMENT.equals(operationStyle)
&& isInputMessageUnWrapped(inMsg)) {
operationStyle = WSIFAXISConstants.AXIS_STYLE_WRAPPED;
}
// TODO: what about wrapped messaging? Not supported yet
if (isMessaging(inMsg)) {
operationStyle = WSIFAXISConstants.AXIS_STYLE_MESSAGE;
}
Transport axistransport = getTransport();
WSIFJMSDestination dest = null;
if (axistransport != null) {
call.setTransport(axistransport);
if (axistransport instanceof WSIFJmsTransport) {
WSIFJmsTransport jmst = (WSIFJmsTransport) axistransport;
dest = jmst.getDestination();
dest.setAsyncMode(isAsyncOperation());
jmst.setSyncTimeout(null); // reset timeouts to defaults