Skip to content

SOAP Web Service

Johnson Fu edited this page Aug 6, 2019 · 10 revisions

Quick Start

  • use JAX-WS for the contract-first approach

  • define the required request and response format in the WSDL XSD file.

  • use jaxb2 maven plugin to generate the SOAP java classes

  • The class annotated by @Endpoint become the web service end point

    • methods annotated @PayloadRoot become the method accepting incoming request
    • attribute namespace used to specify the payload namespace
    • attribute localPart used to specify the payload root element
  • use CXF for the contract-last approach

  • use CXF to produce endpoint for policy information query

Resources

Creating a SOAP Web Service with Spring

https://www.baeldung.com/spring-boot-soap-web-service

Spring Boot SOAP Web Service Example

https://www.concretepage.com/spring-boot/spring-boot-soap-web-service-example

SpringBoot + CXF快速实现SOAP WebService(支持Basic Auth)

https://www.cnblogs.com/lichmama/p/8728262.html

SOAP Web Services With Apache CXF and Spring Boot - Contract First

https://dzone.com/articles/soap-web-services-with-apache-cxf-and-spring-boot?utm_medium=feed&utm_source=feedpress.me&utm_campaign=Feed:%20dzone

  • freemarker
  • thymeleaf
  • JMX (jconsole)
  • ZeroMQ
  • microk8s
  • multipass
  • pwsh (powershell)

Clone this wiki locally