[jira] [Resolved] (AXIS2-5362) [GSoC 2012]Improve Axis2 to handle JSON request/response with XMLStreamReader/Writer implementations.

2012-08-23 Thread Amila Chinthaka Suriarachchi (JIRA)
[ https://issues.apache.org/jira/browse/AXIS2-5362?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Amila Chinthaka Suriarachchi resolved AXIS2-5362. - Resolution: Fixed applied the patch > [G

[jira] [Updated] (AXIS2-5362) [GSoC 2012]Improve Axis2 to handle JSON request/response with XMLStreamReader/Writer implementations.

2012-08-23 Thread Shameera Rathnayaka (JIRA)
haven't added schema to test-resource in patch which is used in tests . Now i have updated patch. Thanks, Shameera. > [GSoC 2012]Improve Axis2 to handle JSON request/response with > XMLStreamReader/Writer impl

[jira] [Updated] (AXIS2-5362) [GSoC 2012]Improve Axis2 to handle JSON request/response with XMLStreamReader/Writer implementations.

2012-08-23 Thread Shameera Rathnayaka (JIRA)
[ https://issues.apache.org/jira/browse/AXIS2-5362?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shameera Rathnayaka updated AXIS2-5362: --- Attachment: (was: AXIS2-5362.patch) > [GSoC 2012]Improve Axis2 to han

[jira] [Commented] (AXIS2-5362) [GSoC 2012]Improve Axis2 to handle JSON request/response with XMLStreamReader/Writer implementations.

2012-08-23 Thread Amila Chinthaka Suriarachchi (JIRA)
some test failures in json module with this patch. Please have a look at. > [GSoC 2012]Improve Axis2 to handle JSON request/response with > XMLStreamReader/Writer imple

Re: [GSoC 2012] XML to JSON convention using XMLStreamWriter API and Schemas with google-gson

2012-08-20 Thread Shameera Rathnayaka
e message sert à l'information seulement et n'aura >> pas n'importe quel effet légalement obligatoire. Étant donné que les email >> peuvent facilement être sujets à la manipulation, nous ne pouvons accepter >> aucune responsabilité pour le contenu fourni. >> >> >

[jira] [Updated] (AXIS2-5362) [GSoC 2012]Improve Axis2 to handle JSON request/response with XMLStreamReader/Writer implementations.

2012-08-20 Thread Shameera Rathnayaka (JIRA)
improvements, namespaces support to pure JSON with operation XmlSchema. And added test cases to cover all major functionalities. > [GSoC 2012]Improve Axis2 to handle JSON request/response with > XMLStreamReader/Writer implement

[jira] [Updated] (AXIS2-5362) [GSoC 2012]Improve Axis2 to handle JSON request/response with XMLStreamReader/Writer implementations.

2012-08-20 Thread Shameera Rathnayaka (JIRA)
[ https://issues.apache.org/jira/browse/AXIS2-5362?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shameera Rathnayaka updated AXIS2-5362: --- Attachment: (was: Axis2-5362.patch) > [GSoC 2012]Improve Axis2 to han

[jira] [Updated] (AXIS2-5362) [GSoC 2012]Improve Axis2 to handle JSON request/response with XMLStreamReader/Writer implementations.

2012-08-15 Thread Shameera Rathnayaka (JIRA)
[ https://issues.apache.org/jira/browse/AXIS2-5362?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shameera Rathnayaka updated AXIS2-5362: --- Attachment: (was: Axis2-5362.patch) > [GSoC 2012]Improve Axis2 to han

[jira] [Updated] (AXIS2-5362) [GSoC 2012]Improve Axis2 to handle JSON request/response with XMLStreamReader/Writer implementations.

2012-08-15 Thread Shameera Rathnayaka (JIRA)
[ https://issues.apache.org/jira/browse/AXIS2-5362?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shameera Rathnayaka updated AXIS2-5362: --- Attachment: Axis2-5362.patch > [GSoC 2012]Improve Axis2 to handle JSON requ

[jira] [Updated] (AXIS2-5362) [GSoC 2012]Improve Axis2 to handle JSON request/response with XMLStreamReader/Writer implementations.

2012-08-14 Thread Shameera Rathnayaka (JIRA)
XMLStreamReader/XMLStreamWriter implementations to handle pure JSON. Thanks, shameera > [GSoC 2012]Improve Axis2 to handle JSON request/response with > XMLStreamReader/Writer implement

Re: [GSoC 2012] XML to JSON convention using XMLStreamWriter API and Schemas with google-gson

2012-08-12 Thread Shameera Rathnayaka
pas > n'importe quel effet légalement obligatoire. Étant donné que les email > peuvent facilement être sujets à la manipulation, nous ne pouvons accepter > aucune responsabilité pour le contenu fourni. > > > > > > From: [email protected] > > Date:

RE: [GSoC 2012] XML to JSON convention using XMLStreamWriter API and Schemas with google-gson

2012-08-11 Thread Martin Gainty
e sujets à la manipulation, nous ne pouvons accepter aucune responsabilité pour le contenu fourni. > From: [email protected] > Date: Sat, 11 Aug 2012 19:38:16 +0530 > Subject: Re: [GSoC 2012] XML to JSON convention using XMLStreamWriter API and > Schemas with google-gson > T

Re: [GSoC 2012] XML to JSON convention using XMLStreamWriter API and Schemas with google-gson

2012-08-11 Thread Amila Suriarachchi
On Sat, Aug 11, 2012 at 9:08 PM, Sagara Gunathunga < [email protected]> wrote: > It seems your 1st approach provides much better performance than 2nd > approach, can you incorporate improvements that I mentioned here[1] ? > I believe applying those modification will solve performance iss

Re: [GSoC 2012] XML to JSON convention using XMLStreamWriter API and Schemas with google-gson

2012-08-11 Thread Shameera Rathnayaka
Hi Sagara, Thanks for your feedback, Yes i have implemented 2nd approach as same as you have suggested. It only process XMLSchema at the first message. Here i have used intermediate representation to keep the xmlSchema structure therefore i do not need to process XMLSchema for every request but on

Re: [GSoC 2012] XML to JSON convention using XMLStreamWriter API and Schemas with google-gson

2012-08-11 Thread Sagara Gunathunga
It seems your 1st approach provides much better performance than 2nd approach, can you incorporate improvements that I mentioned here[1] ? I believe applying those modification will solve performance issue with 2nd approach. [1] - http://markmail.org/message/xyfxzn2clc3r5zfg Thanks ! On Sat, Aug

Re: [GSoC 2012] XML to JSON convention using XMLStreamWriter API and Schemas with google-gson

2012-08-10 Thread Shameera Rathnayaka
Hi devs, I did performance test with 1. SOAP support , 2 JSON Badgerfish , 3 JSON first approach(pure json) and 4. JSON second approach(XMLStreamReader/XMLStreamWriter implementation). Here i have summarize the results i got. I used same POJO service and send the exact same request in relevent con

Re: [GSoC 2012] XML to JSON convention using XMLStreamWriter API and Schemas with google-gson

2012-08-07 Thread Shameera Rathnayaka
HI devs, I finished the implementation and did a performance test with existing SOAP and implemented JSON. Here is the summary of the test results. For this i used same service and send the same request in both SOAP and JSON ways, size of JSON message is lower than SOAP message but requests are ex

Re: [GSoC 2012] XML to JSON convention using XMLStreamWriter API and Schemas with google-gson

2012-07-30 Thread Shameera Rathnayaka
HI devs, I have implemented XMLStreamWriter as well as XMLStreamReader to convert XML <> JSON with XMLSchema, Basically it works fine, but still need few test to be done after that I am willing to write performance test with implemented JSON support with existing SOAP support. Thanks, Shameer

Re: [GSoC 2012] XML to JSON convention using XMLStreamWriter API and Schemas with google-gson

2012-07-15 Thread Amila Suriarachchi
On Sun, Jul 15, 2012 at 10:53 PM, Shameera Rathnayaka < [email protected]> wrote: > Hi devs, > > I implemented this feature completely to convert XML to JSON with the help > of XmlSchema of that XML document. I tested this with different Schemas, it > is working fine. I implemented this as a

Re: [GSoC 2012] XML to JSON convention using XMLStreamWriter API and Schemas with google-gson

2012-07-15 Thread Shameera Rathnayaka
Hi devs, I implemented this feature completely to convert XML to JSON with the help of XmlSchema of that XML document. I tested this with different Schemas, it is working fine. I implemented this as a separate project, so i will integrate this with axis2 trunk and try with actual scenario. Yes, T

Re: [GSoC 2012] XML to JSON convention using XMLStreamWriter API and Schemas with google-gson

2012-07-15 Thread Amila Suriarachchi
On Sun, Jul 15, 2012 at 2:19 PM, Sagara Gunathunga < [email protected]> wrote: > On Sun, Jul 15, 2012 at 1:27 PM, Amila Suriarachchi > wrote: > > > > > > On Sat, Jul 14, 2012 at 1:14 PM, Sagara Gunathunga > > wrote: > >> > >> On Sat, Jul 14, 2012 at 12:42 PM, Shameera Rathnayaka > >>

Re: [GSoC 2012] XML to JSON convention using XMLStreamWriter API and Schemas with google-gson

2012-07-15 Thread Sagara Gunathunga
On Sun, Jul 15, 2012 at 1:27 PM, Amila Suriarachchi wrote: > > > On Sat, Jul 14, 2012 at 1:14 PM, Sagara Gunathunga > wrote: >> >> On Sat, Jul 14, 2012 at 12:42 PM, Shameera Rathnayaka >> wrote: >> > Hi devs, >> > >> > As Amila(Project mentor) suggested in previous thread[0] , I have >> > implem

Re: [GSoC 2012] XML to JSON convention using XMLStreamWriter API and Schemas with google-gson

2012-07-15 Thread Amila Suriarachchi
On Sat, Jul 14, 2012 at 1:14 PM, Sagara Gunathunga < [email protected]> wrote: > On Sat, Jul 14, 2012 at 12:42 PM, Shameera Rathnayaka > wrote: > > Hi devs, > > > > As Amila(Project mentor) suggested in previous thread[0] , I have > > implemented > > XMLStreamWriter API to use schema of

Re: [GSoC 2012] XML to JSON convention using XMLStreamWriter API and Schemas with google-gson

2012-07-14 Thread Sagara Gunathunga
On Sat, Jul 14, 2012 at 12:42 PM, Shameera Rathnayaka wrote: > Hi devs, > > As Amila(Project mentor) suggested in previous thread[0] , I have > implemented > XMLStreamWriter API to use schema of the processing xml and gson together > to convert XML ---> JSON. I have made my progress up to support

[jira] [Updated] (AXIS2-5270) [GSOC 2012] Improve Json support in Axis2 with google-gson

2012-07-08 Thread Shameera Rathnayaka (JIRA)
have submitted above. please resolve it using jsonSample.patch Thanks, Shameera. > [GSOC 2012] Improve Json support in Axis2 with google-gson > -- > > Key: AXIS2-5270 >

Re: [GSOC 2012] Improve Json support in Axis2 with google-gson, [Part-2]

2012-07-07 Thread Shameera Rathnayaka
t; >> >>> >>> >> >>> >>> >> >>> >>> >> On Mon, Jun 25, 2012 at 11:10 AM, Shameera Rathnayaka >>> >>> >> wrote: >>> >>> >>> >>> >>> >>> Hi devs,

[jira] [Created] (AXIS2-5362) [GSoC 2012]Improve Axis2 to handle JSON request/response with XMLStreamReader/Writer implementations.

2012-07-07 Thread Shameera Rathnayaka (JIRA)
Shameera Rathnayaka created AXIS2-5362: -- Summary: [GSoC 2012]Improve Axis2 to handle JSON request/response with XMLStreamReader/Writer implementations. Key: AXIS2-5362 URL: https://issues.apache.org/jira

Re: [GSOC 2012] Improve Json support in Axis2 with google-gson, [Part-2]

2012-07-07 Thread Amila Suriarachchi
tils class it throws a class cast >> exception >> >>> >>>> when it try >> >>> >>>> to add this returned OMelement to the SoapEnvelop by using >> >>> >>>> envelope.getBody().addChild(documentElement); here is the code >>

[jira] [Resolved] (AXIS2-5270) [GSOC 2012] Improve Json support in Axis2 with google-gson

2012-07-07 Thread Amila Chinthaka Suriarachchi (JIRA)
[ https://issues.apache.org/jira/browse/AXIS2-5270?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Amila Chinthaka Suriarachchi resolved AXIS2-5270. - Resolution: Fixed applied the patch > [G

Re: [GSOC 2012] Improve Json support in Axis2 with google-gson, [Part-2]

2012-07-06 Thread Shameera Rathnayaka
HROWS > >>> >>>> AN EXCEPTION > >>> >>>> } > >>> >>>> > >>> >>>> The exception is java.lang.ClassCastException: > >>> >>>> org.apache.axiom.om.impl.llom.OMDocumentImpl cannot be cast to > >>

[jira] [Updated] (AXIS2-5270) [GSOC 2012] Improve Json support in Axis2 with google-gson

2012-07-06 Thread Shameera Rathnayaka (JIRA)
-approach.diff Previous patches not working with latest trunk, i have removed those and added new two patches which are tested with latest trunk. Thanks, Shameera. > [GSOC 2012] Improve Json support in Axis2 with google-g

[jira] [Updated] (AXIS2-5270) [GSOC 2012] Improve Json support in Axis2 with google-gson

2012-07-06 Thread Shameera Rathnayaka (JIRA)
[ https://issues.apache.org/jira/browse/AXIS2-5270?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shameera Rathnayaka updated AXIS2-5270: --- Attachment: (was: jsonImpl_1st-Approach.diff) > [GSOC 2012] Improve J

[jira] [Updated] (AXIS2-5270) [GSOC 2012] Improve Json support in Axis2 with google-gson

2012-07-06 Thread Shameera Rathnayaka (JIRA)
[ https://issues.apache.org/jira/browse/AXIS2-5270?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shameera Rathnayaka updated AXIS2-5270: --- Attachment: (was: jsonImpl_1st-Approach-sample.diff) > [GSOC 2012] Impr

Re: [GSOC 2012] Improve Json support in Axis2 with google-gson, [Part-2]

2012-07-05 Thread Sagara Gunathunga
t;>> >>> >>> >>> >>> >>> I could able to solve this , there was an error in my >>> >>> GsonXMLStreamReader >>> >>> , I had to dig AXIOM to identify this. AXIOM process the parser while >>> >>> it >>&

Re: [GSOC 2012] Improve Json support in Axis2 with google-gson, [Part-2]

2012-07-05 Thread Sagara Gunathunga
_ELEMENT but my implementation had an error >> >>> returning the END_ELEMENT, I solved it now I an not getting above >> >>> ClassCastException. >> >>> >> >>> Thanks, >> >>> Shameera. >> >>> >> >>>> >> &

[jira] [Updated] (AXIS2-5270) [GSOC 2012] Improve Json support in Axis2 with google-gson

2012-07-04 Thread Shameera Rathnayaka (JIRA)
-Approach.diff Hi devs, You can find two patches with this, jsonImpl_1st-Approach which is implementation code for First approach and jsonImpl_1st-Approach-sample, which is a json sample for this implementation. > [GSOC 2012] Improve Json support in Axis2 with google-g

Re: [GSOC 2012] Improve Json support in Axis2 with google-gson, [Part-2]

2012-07-04 Thread Amila Suriarachchi
;>>> Thanks, > >>>> Shameera. > >>>> > >>>> > >>>> On Sat, May 5, 2012 at 11:30 AM, Shameera Rathnayaka > >>>> wrote: > >>>>> > >>>>> Hi devs , > >>>>> > >>>>> Ac

Re: [GSOC 2012] Improve Json support in Axis2 with google-gson, [Part-2]

2012-07-02 Thread Sagara Gunathunga
this. So i >>>>> need to clarify whether the following convention is correct or are there >>>>> any >>>>> suggestions for it. >>>>> >>>>> json message >>>>> >>>>> {"alise"

Re: [GSOC 2012] Improve Json support in Axis2 with google-gson, [Part-2]

2012-07-01 Thread Amila Suriarachchi
"alise": { >>>> "bob": { >>>> "x": "valueX", >>>> "y": "valueY", >>>> "z": ["valueU","valueV","valueW"], >>>>

Re: [GSOC 2012] Improve Json support in Axis2 with google-gson, [Part-2]

2012-06-28 Thread Shameera Rathnayaka
t;: ["A","B","C" ] }, { "b": ["D","E","F" ] } ] >>> } >>> } >>> } >>> >>> Relevant,expected xml message from this json request (actually, it is >>> not converted to xml) >>> >&

Re: [GSOC 2012] Improve Json support in Axis2 with google-gson, [Part-2]

2012-06-24 Thread Shameera Rathnayaka
valueU >> valueV >> valueW >> >> john >> 23 >> >> >> A >> B >>

Re: [GSOC 2012] Improve Json support in Axis2 with google-gson, [Part-2]

2012-06-17 Thread Shameera Rathnayaka
valueV > valueW > > john > 23 > > > A > B > C > > > D > E >

[jira] [Updated] (AXIS2-5270) [GSOC 2012] Improve Json support in Axis2 with google-gson

2012-05-09 Thread Sagara Gunathunga (JIRA)
[ https://issues.apache.org/jira/browse/AXIS2-5270?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sagara Gunathunga updated AXIS2-5270: -- Issue Type: New Feature (was: Improvement) > [GSOC 2012] Improve Json support

Re: [GSOC 2012] Improve Json support in Axis2 with google-gson, [Part-2]

2012-05-04 Thread Shameera Rathnayaka
A B C D E F Thanks Shameera. On Tue, Apr 24, 2012 at 7:12 PM, Shameera Rathnayaka wrote: > Hi devs, >

[jira] [Commented] (AXIS2-5270) [GSOC 2012] Improve Json support in Axis2 with google-gson

2012-03-20 Thread Shameera Rathnayaka (Commented) (JIRA)
using jsonReder or JsonStreamPaser. 3. I'll run test with larger numbers and update the result. Thanks, Shameera. > [GSOC 2012] Improve Json support in Axis2 with google-gson > -- > > Key: AXI

[jira] [Commented] (AXIS2-5270) [GSOC 2012] Improve Json support in Axis2 with google-gson

2012-03-19 Thread Sagara Gunathunga (Commented) (JIRA)
e some good numbers with performance but IMO you have to test your new JSON implementation with existing JSON implementation for a better comparison also use around 50 000 message for testing . > [GSOC 2012] Improve Json support in

[jira] [Updated] (AXIS2-5270) [GSOC 2012] Improve Json support in Axis2 with google-gson

2012-03-19 Thread Shameera Rathnayaka (Updated) (JIRA)
attached with my first reply but have done few minor modifications) used for this test. Note: i have restarted axis2 server before run each test, to avoid effect of caching. > [GSOC 2012] Improve Json support in Axis2 with google-g

[jira] [Updated] (AXIS2-5270) [GSOC 2012] Improve Json support in Axis2 with google-gson

2012-03-19 Thread Shameera Rathnayaka (Updated) (JIRA)
: 2.22 [Kbytes/sec] received 10.14 [Kbytes/sec] received 28,559.33 kb/s sent 14,736.77 kb/s sent ) > [GSOC 2012] Improve Json support in Axis2 with google-g

[jira] [Commented] (AXIS2-5270) [GSOC 2012] Improve Json support in Axis2 with google-gson

2012-03-19 Thread Shameera Rathnayaka (Commented) (JIRA)
sfer rate: 2.22 [Kbytes/sec] received 10.14 [Kbytes/sec] received 28,559.33 kb/s sent 14,736.77 kb/s sent > [GSOC 2012] Improve Json support in Axis2 with goog

[jira] [Updated] (AXIS2-5270) [GSOC 2012] Improve Json support in Axis2 with google-gson

2012-03-17 Thread Shameera Rathnayaka (Updated) (JIRA)
[ https://issues.apache.org/jira/browse/AXIS2-5270?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shameera Rathnayaka updated AXIS2-5270: --- Summary: [GSOC 2012] Improve Json support in Axis2 with google-gson (was: Improve

Re: GSOC 2012

2012-02-09 Thread Prabhath Suminda
and providing answers to user >>> questions on user list etc. Since community play significant role in GSoC >>> above actions definitely add some plus point to your account and helpful to >>> get selected your proposal. >>> >>> >>> [1] - https:/

Re: GSOC 2012

2012-02-07 Thread Sagara Gunathunga
e/IssueNavigator.jspa?mode=hide&requestId=12318960 >> >> Thanks ! >> >> >> >> >> On Mon, Feb 6, 2012 at 9:37 AM, Prabhath Suminda > > wrote: >> >>> Hi, >>> >>> I'm a computer science & engi

Re: GSOC 2012

2012-02-06 Thread Prabhath Suminda
es.apache.org/jira/browse/AXIS2 > [2] - > https://issues.apache.org/jira/secure/IssueNavigator.jspa?mode=hide&requestId=12318960 > > Thanks ! > > > > > On Mon, Feb 6, 2012 at 9:37 AM, Prabhath Suminda > wrote: > >> Hi, >> >> I'm a computer scienc

Re: GSOC 2012

2012-02-06 Thread Sagara Gunathunga
Moratuwa, Sri Lanka. I like to participate GSOC 2012 for Axis 2 project. So > are there any any project ideas and mentors for GSOC 2012? From where can I > get more details? > > Regards, > Prabhath > > -- Sagara Gunathunga Blog - http://ssagara.blogspot.com Web

GSOC 2012

2012-02-05 Thread Prabhath Suminda
Hi, I'm a computer science & engineering undergraduate from University of Moratuwa, Sri Lanka. I like to participate GSOC 2012 for Axis 2 project. So are there any any project ideas and mentors for GSOC 2012? From where can I get more details? Regards, Prabhath