A simple demo which combines SpringBoot with webservice.
tips: the request and response body should have same prefix, and have suffix explicitly.
http://127.0.0.1:8844/ws/define.wsdl
Post Xml(test/xml) http://127.0.0.1:8844/ws
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:gs="http://www.wk.cn/webservice">
<soapenv:Header/>
<soapenv:Body>
<gs:createSuspectIrisRequest>
<gs:xmlData>7</gs:xmlData>
<gs:operName>8</gs:operName>
<gs:password>9</gs:password>
</gs:createSuspectIrisRequest>
</soapenv:Body>
</soapenv:Envelope>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
<SOAP-ENV:Header/>
<SOAP-ENV:Body>
<ns2:createSuspectIrisResponse xmlns:ns2="http://www.wk.cn/webservice">
<ns2:errorCode>1</ns2:errorCode>
<ns2:errorDescriptiion>error</ns2:errorDescriptiion>
</ns2:createSuspectIrisResponse>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
Post Xml(test/xml) http://127.0.0.1:8844/ws
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:gs="http://www.wk.cn/webservice">
<soapenv:Header/>
<soapenv:Body>
<gs:createMatchedInfoRequest>
<gs:suspectID>1</gs:suspectID>
<gs:matchedSuspectID>2</gs:matchedSuspectID>
<gs:operName>3</gs:operName>
<gs:password>4</gs:password>
</gs:createMatchedInfoRequest>
</soapenv:Body>
</soapenv:Envelope>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
<SOAP-ENV:Header/>
<SOAP-ENV:Body>
<ns2:createMatchedInfoResponse xmlns:ns2="http://www.wk.cn/webservice">
<ns2:errorCode>0</ns2:errorCode>
<ns2:errorDescriptiion>success</ns2:errorDescriptiion>
</ns2:createMatchedInfoResponse>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>