}
private void processTransportReceivers(Iterator trs_senders) throws DeploymentException {
while (trs_senders.hasNext()) {
TransportInDescription transportIN;
OMElement transport = (OMElement) trs_senders.next();
// getting transport Name
OMAttribute trsName = transport.getAttribute(new QName(ATTRIBUTE_NAME));
if (trsName != null) {
String name = trsName.getAttributeValue();
transportIN = new TransportInDescription(new QName(name));
// transport impl class
OMAttribute trsClas = transport.getAttribute(new QName(TAG_CLASS_NAME));
if (trsClas != null) {
try {
String clasName = trsClas.getAttributeValue();
Class receiverClass = Class.forName(clasName, true,
Thread.currentThread().getContextClassLoader());
TransportListener receiver =
(TransportListener) receiverClass.newInstance();
transportIN.setReceiver(receiver);
} catch (NoClassDefFoundError e) {
log.info(Messages.getMessage("classnotfound", trsClas.getAttributeValue()));
} catch (ClassNotFoundException e) {
throw new DeploymentException(e);
} catch (IllegalAccessException e) {
throw new DeploymentException(e);
} catch (InstantiationException e) {
throw new DeploymentException(e);
}
}
try {
Iterator itr = transport.getChildrenWithName(new QName(TAG_PARAMETER));
processParameters(itr, transportIN, axisConfig);
OMElement inFlow = transport.getFirstChildWithName(new QName(TAG_FLOW_IN));
if (inFlow != null) {
throw new DeploymentException(
Messages.getMessage(
DeploymentErrorMsgs.INFLOW_NOT_ALLOWED_IN_TRS_OUT, name));
}
OMElement outFlow = transport.getFirstChildWithName(new QName(TAG_FLOW_OUT));
if (outFlow != null) {
transportIN.setInFlow(processFlow(outFlow, axisConfig));
}
OMElement inFaultFlow =
transport.getFirstChildWithName(new QName(TAG_FLOW_IN_FAULT));
if (inFaultFlow != null) {
transportIN.setFaultFlow(processFlow(inFaultFlow, axisConfig));
}
OMElement outFaultFlow =
transport.getFirstChildWithName(new QName(TAG_FLOW_OUT_FAULT));
if (outFaultFlow != null) {
throw new DeploymentException(
Messages.getMessage(