Hi Asanka A., On Mon, Jul 21, 2008 at 12:31 AM, Asanka Abeysinghe <[EMAIL PROTECTED]> wrote:
> I did this patch as a value addition to allow the user to use a namespace > (if they required) when injecting a FIX message to Synapse from protocols > like HTTP, JMS, AMQP, A fn user might use namespaces like EQ: (equity), FX: > (forex), OP:(options), CR:, IRD: differentiate the usage. OK that makes sense. Since this patch simply provides a value addition (may be along with some new potential usecases) and since it does not alter the existing functionality I'll check it in. Thanks Best Regards, Hiranya > If Synapse do not allow namespaces for the FIX input messages, that need to > be add to the document and provide the valid format for the input > message(s). > This functional issue found with the issue posted before about JMS > transport [1], I thought it was a problem in AXIOM layer till I saw > SYNAPSE-402. Workaround I used for SYNAPSE-402 is a XSLT mediator to remove > namespaces before FIX message process. > Asanka A. > > [1] > http://www.nabble.com/Problem-with-JMS---%3E-FIX-communication-td18224877.htmlHiranyaJayathilaka > (JIRA) wrote: > >> [ >> https://issues.apache.org/jira/browse/SYNAPSE-394?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12615091#action_12615091] >> Hiranya Jayathilaka commented on SYNAPSE-394: >> --------------------------------------------- >> >> Asanka A, >> >> Is the purpose of fixing this issue is only to get around the problem >> described at >> http://www.nabble.com/Problem-with-JMS---%3E-FIX-communication-td18224877.html >> ? >> >> If that is the case I agree with Andreas and we should wait till >> SYNAPSE-402 is resolved. If there are other practical cases where this fix >> can come in handy I'm +1 to commit this patch. Thoughts? >> >> >> >> >> >> >>> FIX transport dose not handle a XML based FIX message payload with XML >>> namespace >>> --------------------------------------------------------------------------------- >>> >>> Key: SYNAPSE-394 >>> URL: https://issues.apache.org/jira/browse/SYNAPSE-394 >>> Project: Synapse >>> Issue Type: Bug >>> Components: Transports >>> Affects Versions: 1.2 >>> Environment: Ubuntu-Gutsy Reporter: Asanka Abeysinghe >>> Assignee: Asankha C. Perera >>> Fix For: 1.3 >>> >>> Attachments: SYNAPSE-394.patch >>> >>> >>> When a FIX message that defines in a XML structure with a namespace, will >>> not accept by the FIX transport layer. It fails when try to read the first >>> element of the SOAP message body. >>> Sample input message: <m0:message xmlns:m0=" >>> http://services.samples/xsd/"> >>> <m0:header> >>> <m0:field >>> m0:id="35"><![CDATA[8]]></m0:field> >>> <m0:field >>> m0:id="52"><![CDATA[20080618-08:41:56]]></m0:field> >>> </m0:header> >>> <m0:body> >>> Current implementation uses QName(<tag name>) to fetch the elements >>> instead of using QName(<tag name>,<namespace URI>) >>> >>> >>> >> >> >> > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >
