[ http://issues.apache.org/jira/browse/AXIS2-603?page=all ]
     
Deepal Jayasinghe resolved AXIS2-603:
-------------------------------------

    Fix Version: 0.96
     Resolution: Fixed

Thank you very much for pointing this out, but the problem is we are not really 
handler transport sender /receiver flows . So I removed all the code which does 
transport flow processing.  

> AxisConfigBuilder rejects <inFlow> but takes <outFlow> as the inFlow
> --------------------------------------------------------------------
>
>          Key: AXIS2-603
>          URL: http://issues.apache.org/jira/browse/AXIS2-603
>      Project: Apache Axis 2.0 (Axis2)
>         Type: Bug

>   Components: deployment
>     Versions: 0.95
>     Reporter: Kent Tong
>      Fix For: 0.96

>
> Check the code below taken from AxisConfigBuilder.java. It is obviously 
> rejecting the <inFlow> element in axis2.xml but takes the <outFlow> and set 
> it as the inFlow in the transportIn object:
>     private void processTransportReceivers(Iterator trs_senders) throws 
> DeploymentException {
>                    ....
>                     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(
>                                         
> DeploymentErrorMsgs.OUTFLOW_NOT_ALLOWED_IN_TRS_IN, name));
>                     }
>                     // adding to axis2 config
>                     axisConfig.addTransportIn(transportIN);

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira

Reply via email to