JSON support for Axis2 ---------------------- Key: AXIS2-1902 URL: http://issues.apache.org/jira/browse/AXIS2-1902 Project: Apache Axis 2.0 (Axis2) Issue Type: New Feature Components: kernel Affects Versions: 1.2 Reporter: Isuru Eranga Suriarachchi
I've implemented the JSON support for Axis2 and i'm attaching the patch with this. I used the following JSON StAX parser implementation (under Apache License) which contains a StAX reader and writer for JSON. http://jettison.codehaus.org/ Jettison current version works only with jdk 1.5. So I have already sent the patch to make it working with jdk 1.4 too. Hope they will apply it soon.I have uploaded the jettison jar which works with jdk 1.4, under http://people.apache.org/~thilina/jettison/jettison_JDK14.jar. Here, an OMSourcedElementImpl object is used with a JSONDataSource inside, in the receiving side. It can be used to build the OM element in case of a java service or it can be used to get the JSON string directly without building the OM element, in case of a java script service. I've implemented a JSONOMBuilder which gives the OMSourcedElementImpl when the getDocumentElement() method is called. This patch also contains an JSON integration test. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]