更新时间:2022-05-16 22:33:39
只需更改1行即可指示这是SOAP1.2,并自动设置正确的标头:
val messageFactory = MessageFactory.newInstance(SOAPConstants.SOAP_1_2_PROTOCOL)
Scala/Play:javax.xml.soap请求头内容-类型问题