synapse-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andreas Veithen <andreas.veit...@gmail.com>
Subject Re: svn commit: r781004 - /synapse/trunk/java/modules/transports/optional/fix/src/main/java/org/apache/synapse/transport/fix/FIXIncomingMessageHandler.java
Date Tue, 02 Jun 2009 22:04:12 GMT
Interesting. We have the same code in the mail and JMS transports, so
we would have to fix them too. Any idea what change in Axis2 caused
the problem?

Andreas

On Tue, Jun 2, 2009 at 13:26,  <hiranya@apache.org> wrote:
> Author: hiranya
> Date: Tue Jun  2 11:26:18 2009
> New Revision: 781004
>
> URL: http://svn.apache.org/viewvc?rev=781004&view=rev
> Log:
> Making a minor change to the fix incoming msg handler to set the AxisMessage to the message
context along with the AxisOperation - Required for smooth operation of the FIX transport
with the latest changes in Axis2
>
> Modified:
>    synapse/trunk/java/modules/transports/optional/fix/src/main/java/org/apache/synapse/transport/fix/FIXIncomingMessageHandler.java
>
> Modified: synapse/trunk/java/modules/transports/optional/fix/src/main/java/org/apache/synapse/transport/fix/FIXIncomingMessageHandler.java
> URL: http://svn.apache.org/viewvc/synapse/trunk/java/modules/transports/optional/fix/src/main/java/org/apache/synapse/transport/fix/FIXIncomingMessageHandler.java?rev=781004&r1=781003&r2=781004&view=diff
> ==============================================================================
> --- synapse/trunk/java/modules/transports/optional/fix/src/main/java/org/apache/synapse/transport/fix/FIXIncomingMessageHandler.java
(original)
> +++ synapse/trunk/java/modules/transports/optional/fix/src/main/java/org/apache/synapse/transport/fix/FIXIncomingMessageHandler.java
Tue Jun  2 11:26:18 2009
> @@ -21,6 +21,7 @@
>
>  import org.apache.axis2.AxisFault;
>  import org.apache.axis2.Constants;
> +import org.apache.axis2.wsdl.WSDLConstants;
>  import org.apache.axis2.context.ConfigurationContext;
>  import org.apache.axis2.context.MessageContext;
>  import org.apache.axis2.description.AxisOperation;
> @@ -301,6 +302,7 @@
>                 AxisOperation operation = service.getOperation(operationQName);
>                 if (operation != null) {
>                     msgCtx.setAxisOperation(operation);
> +                    msgCtx.setAxisMessage(operation.getMessage(WSDLConstants.MESSAGE_LABEL_IN_VALUE));
>                     msgCtx.setSoapAction("urn:" + operation.getName().getLocalPart());
>                 }
>             }
>
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@synapse.apache.org
For additional commands, e-mail: dev-help@synapse.apache.org


Mime
View raw message