JMS doesn't handle POX correctly
--------------------------------

                 Key: SYNAPSE-402
                 URL: https://issues.apache.org/jira/browse/SYNAPSE-402
             Project: Synapse
          Issue Type: Bug
          Components: Transports
    Affects Versions: NIGHTLY
            Reporter: Andreas Veithen
            Assignee: Andreas Veithen


This issue was originally reported by Asanka A on the user mailing list:

http://www.nabble.com/Problem-with-JMS---%3E-FIX-communication-td18224877.html

I encountered a similar problem when trying to write a unit test for POX over 
JMS.

There seem to be two problems:
1. JMSUtils#getInputStream doesn't call BytesMessage#reset. Therefore, when 
getInputStream is called twice, the second time an empty input stream is 
returned.
2. BaseUtils#setSOAPEnvelope doesn't take into account that 
builder.getDocumentElement().getNamespace() can return null.



-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to