Using WebServices in Java

We are creating a web application, and a significant part of the project will make real-time calls from our servlets to some back end web services. Some of these calls will be cached depending on the context. We will also have reqiurement to handle incoming double-byte character strings for languages ​​such as Hebrew and CJK.

The platform this web application is located in is Java.

What types of frameworks should I use to consume and invoke these web services? Axis 1/2? Does an ESB, like Mule, help you with some additional features that come in handy?

Clarification Point: We will only use web services. We will not write or provide our own web services.

+3
source share
5 answers

For your requirements, a Web service implementation such as Axis 2 should be good enough. In addition, there are other implementations, such as Spring Web Services. If you do not need any serious service settings and service disassembly, ESB is likely to be redundant.

+1
source

Axis2 will work fine, but I would also consider Spring -WS. If this is a basic web service and you don’t expect many consumers, I would shy away from ESBs and those (ESBs are great if you need it, but don't force them if you don't need them).

+3
source

If you use Java 6, it has built-in support. I use IntelliJ to create the necessary classes from WSDL (which, in turn, calls wsimport) is a recent client sent to a 26 kb bank.

+2
source

Axis2 is good. You can deploy WS and then use the Eclipse wizard to generate the client.

0
source

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


All Articles