Some improvements in JSONMessageFormatter
-----------------------------------------

                 Key: AXIS2-2074
                 URL: https://issues.apache.org/jira/browse/AXIS2-2074
             Project: Axis 2.0 (Axis2)
          Issue Type: Improvement
    Affects Versions: 1.2
            Reporter: Isuru Eranga Suriarachchi
         Attachments: message_formatter_imp.txt

Currently in JSONMessageFormatter, the input OMElement is serialized into 
required JSON format without considering whether it is an OMSourcedElement or 
not. But if it is an OMSourcedElement and it contains a JSONDataSource, we can 
directly write the JSON string into the output stream. It will reduce the cost 
of building the OMElement and serialising it into an output stream. So I have 
done that improvement in this patch. And also this includes an improvement in 
the getTargetAddress method of JSONMessageFormatter to give the URL with 
correct parameters in case of using the GET method...

-- 
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