Need java webservice tutorial and how to make web service safe

I have a web service that uses:

  • Java (familiar)
  • SOAP (new to me)
  • JBOSS (new to me)

The web service is currently unsafe. My task is to protect it with https (ssl or tsl).

I am new to web services and web things in general. Last week passed a tone of literature. Much of what I consider to be irrelevant to my project. I think I need two things:

  • Pretty simple web services tutorial (Java specific)
  • Web Services Security Tutorial.

Here are some of the tutorials I've already completed:

SO response - SOAP service server for processes in Java

  • How to create a web services server.
  • It has no instructions for the client.
  • It also doesn't indicate what should happen, so I'm not sure if I got a propper result when navigating the url.

Web Services, Java, and XML Introductory Guide

  • A pretty good description of a lot of xml stuff and message passing methods. Not sure, but it seems lower than what I need.

Three minutes for web service

  • A good tutorial, but in the second step, one of the teams did not work.
  • I think this may be due to the fact that the tutorial is really old and maybe my jdk is different or something like that.
+4
source share
3 answers

You can check this framework.

axis apache

Apache cxf

+1
source

The web service is currently unsafe. My task is to protect it with https (ssl or tsl).

If we are talking about (one-way) SSL, then this issue is not particularly relevant to web services. This is more of a problem with setting up a web server or application server. For JBoss, see SSLSetup or, if you are using Apache for SSL encryption, see Apache SSL / TLS Encryption .

+1
source

I would suggest that you need to look at the JBoss documentation on how they handle security. Perhaps this will help:

Chapter 8. Security in JBoss

0
source

Source: https://habr.com/ru/post/1299448/


All Articles