Building a JSON web service with Java and Axis2

时间:2015-12-12 16:54:05
【文件属性】:

文件名称:Building a JSON web service with Java and Axis2

文件大小:126KB

文件格式:ZIP

更新时间:2015-12-12 16:54:05

JSON web service

1.Download Axis2 as WAR and install it in your servlet container 2.Download the DynamicResponseHandler module and add it to Axis by copying it to WEB-INF/modules 3.Patch Jettison or download my patched version and replace it with the one installed in WEB-INF/lib 4.Add the DynamicResponseHandler module reference to the axis2.xml configuration (located in WEB-INF/conf): 5.Add the JSON Message formatters to the axis2.xml: 6.Add JSON Message builders to the axis2.xml: 7. Start your servlet container and test the standard version service by calling this url: http://localhost:8080/axis2/services/Version/getVersion?response=application/json


【文件预览】:
jettison-1.2-source-patched.jar
jettison-1.2-patched.jar
wso2dynamic-response-20080916.170559-241.mar

网友评论

  • 真的很使用,按照说明成功执行
  • 东西描述的还不错,但还有地方要修改,按照上面的步骤不能完全运行