My previous post shows how we can easily create a SOAP based web service using Spring Boot, CXF, JAX-WS and JAXB.
There's a small matter to note when naming functions. The following function naming works:
package com.techtots.services;
import javax.jws.WebMethod;
import javax.jws.WebParam;
import javax.jws.WebResult;
import javax.jws.WebService;
import javax.xml.bind.annotation.XmlElement;
import com.techtots.contracts.UserRegisterRequest;
import com.techtots.contracts.UserRegisterResponse;
@WebService
public interface UserService {
@WebMethod
@WebResult(name = "userRegisterResponse")
public @XmlElement(required = true, nillable = false) UserRegisterResponse registerUser(
@XmlElement(required = true, nillable = false)
@WebParam(name = "userRegisterRequest")
UserRegisterRequest userRegisterRequest);
}