【发布时间】:2017-04-16 05:59:47
【问题描述】:
我正在尝试从 HTTP 请求中提取 SOAP 消息到 REST 端点。我使用的是 JAX-RS,没有其他库。以下是我打算使用的示例肥皂请求
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:ns="http://example.com/ns">
<soapenv:Header/>
<soapenv:Body>
<ns:request>
<ns:customer>
<ns:id>123</ns:id>
<ns:name type="NCHZ">John Brown</ns:name>
</ns:customer>
</ns:request>
</soapenv:Body>
</soapenv:Envelope>
你能建议我一个方法吗?(我不允许使用任何 SOAP 引擎)
【问题讨论】:
标签: java web-services rest soap jax-rs