You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Isuru Eranga Suriarachchi (JIRA)" <ji...@apache.org> on 2007/02/01 17:42:05 UTC

[jira] Created: (AXIS2-2074) Some improvements in JSONMessageFormatter

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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


[jira] Updated: (AXIS2-2074) Some improvements in JSONMessageFormatter

Posted by "Isuru Eranga Suriarachchi (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-2074?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Isuru Eranga Suriarachchi updated AXIS2-2074:
---------------------------------------------

    Attachment: message_formatter_imp.txt

> 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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


[jira] Resolved: (AXIS2-2074) Some improvements in JSONMessageFormatter

Posted by "Thilina Gunarathne (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-2074?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Thilina Gunarathne resolved AXIS2-2074.
---------------------------------------

    Resolution: Fixed
      Assignee: Thilina Gunarathne

Applied the patch..

http://svn.apache.org/viewvc?view=rev&rev=504886
Thanx Isuru..

> 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
>         Assigned To: Thilina Gunarathne
>         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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org