Thank you for the quick responses. I checked in sources from both the
locations
https://svn.wso2.org/repos/wso2/carbon/kernel/branches/4.2.0/patches/patch0007/dependencies/axis2/modules/json/
https://svn.wso2.org/repos/wso2/carbon/kernel/branches/4.2.0/dependencies/axis2/1.6.1-wso2v10/modules/json
Hi Yasas,
For you ClassNotFoundException, check do your axis2-json jar has required
classes, BTW as i mentioned in previous reply you don't need to do any code
changes to axis2 jars in order to plug your custom builders.
Thanks,
Shameera.
On Mon, Jul 14, 2014 at 1:36 PM, Yasas Karunarathna
Hi Yasas,
Try out creating a simple jar and put it in lib folder as shameera
mentioned in above reply. I have tried out the scenario I have explained to
you, and it worked fine for me
As I mentioned, have you build the whole patch from the pom.xml inside
patch0007 folder?
and have you created
Hi Rajith,
Why are you asking him to build the patches , can't he work on already
released DSs pack, Here i am trying to understand which issue Yasas trying
to address by implementing a new JSON builder and formatter, we have plenty
of Builders and formatters for JSON :) . May i know the real use
Hi,
I have tried with putting a jar file as a library to the
repository/conf/lib folder. But it throws an exception when initializing
axis2.xml file with class not found exception. Maybe axis2.xml get loaded
before loading the classes in lib folder. Below is the exception which was
thrown.
@Ragith I checked out whole patch0007, couldn't build from the root(created
some dependency problems with dependencies/orbit/axis2-json module...
some relative path dependency pom files... i'm working on it nw ). So build
only dependencies/axis2/modules/json module, copy the generated jar to
the
Hi there,
I want to do a small change to the json response returned from DSS 3.2.1.
I'm using JSONMessageFormatter JSONOMBuilder in org.apache.axis2.json
package.(not gson implementations)
My requirements are as follows
1) Implement new JSONMessageFormatter, JSONOMBuilder etc.
And additional
Hi Yasas,
The points you have mentioned are correct, but there are small changes I
would like to point out. Below are the steps you'll need to follow to
achieve your goal.
1 - There is a patch release for the axis2-json so you'll need to check
out the source from [1] instead of the svn location
Hi Yasas,
Assuming you are going to customize the JSON mapped convention (Standard
Mapped Json support is their with Axis2),You don't need to do anything to
axis2 jar. Implement your new JSON builder and formatter, then create a
new jar(or osgi bundle) using those new classes
and copy that jar