How Java Web Service returns data in JSON format

first contact with WebService does not quite understand
the result of the xml format of the response of the existing project interface, how to add the interface and return the result in json format without changing the existing project interface.

Jun.29,2021
The standard protocols adopted by

webservice are all in the form of xml wsdl.
returns json instead of webservice.


you can sit as an agent on the basis of webservice

there are two ways for agents
1. Create a new project
2. In the original project, separate departments

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b30d1a-2bd37.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b30d1a-2bd37.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?