-
It doesn't need anymore to bean definition each one of Soap Services.
-
It creates the beans and can mask sensitive data during logs.
-
It would be best to add the web service classes as a dependency before using them. Otherwise, it should be created from WSDL.
-
I have provided an example service definition:
ws:
jaxws:
definitions:
testservice:
portName: TestServicePort
serviceName: TestService
namespaceUri: http://test.com/TestService/Service/V1
endpointAddress: https://test.com/services/Testervice
serviceInterface: com.kbhkn.ws.testservice.service.v1.TestServicePort
properties:
username: Kbhkn
password: 123456
keyValues:
- exampleKey1: exampleValue1
- exampleKey2: exampleValue2
anotherservice:
portName: AnotherServicePort
serviceName: AnotherService
namespaceUri: http://anothertest.com/AnotherService/Service/V1
endpointAddress: https://anothertest.com/services/AnotherService
serviceInterface: com.kbhkn.ws.anotherservice.service.v1.AnotherServicePort
properties:
username: Kbhkn
password: 123456
keyValues:
- exampleKey1: exampleValue1
- exampleKey2: exampleValue2
You can inject the com.kbhkn.ws.testservice.service.v1.TestServicePort interface.
You can inject the com.kbhkn.ws.anotherservice.service.v1.AnotherServicePort interface.
The following guides illustrate how to use some features: