Webservice how to secure

0 votes
asked Mar 15, 2016 by jbe8264T (1,460 points)
I have webservice with name http://mywebsite. When i provide name return result will be actual details of that person. Kindly help me to solve the issue

4 Answers

0 votes
answered May 9, 2016 by marches (160 points)

To find out more about JSON strings, go to json.
All other JSON methods will be secured. Use the following property to specify your public methods: jsonws. If you need the strict mode, you can set it with this portal property: jsonws.
commented May 10, 2016 by Chiotti_ha (530 points)
Could you please help me out how i can fix this using FireFox
commented May 11, 2016 by Lbh1822cara (610 points)
Secure JSON Web Service Servlet Filtercom
0 votes
answered May 30, 2016 by vreeken (1,120 points)

But you can always convert xml to json.
0 votes
answered May 31, 2016 by fby3303 (710 points)
I have posted this as a separate answer as it is unrelated to my existing answer
I would also recommend https://dev.liferay.com/develop/tutorials/-/knowledge_base/6-1/json-web-services?notice=1
commented Jun 2, 2016 by bs5861 (110 points)
When you start Liferay Portal, it scans classes on the classpath for annotations
0 votes
answered Jun 2, 2016 by Pyb2186 (260 points)
Is there a way to call this service using pure JavaScript
commented Jun 4, 2016 by Coreen (1,510 points)
Skip to Content Sign In AUI()

Related questions

What is Geekub?

Q&A site for professional and enthusiast programmers, software developers and other technical users. With your help, we hope to work together to build a library of detailed answers to just about any question that is related to programming!