【问题标题】:Consuming SOAP requests in JAX-RS在 JAX-RS 中使用 SOAP 请求
【发布时间】: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


    【解决方案1】:

    尝试查看此链接,但我不确定您对不使用 SOAP 引擎的限制 Working Soap client example

    【讨论】:

      猜你喜欢
      • 2013-07-13
      • 1970-01-01
      • 1970-01-01
      • 2015-04-07
      • 2023-03-09
      • 1970-01-01
      • 2016-08-09
      • 2016-03-23
      • 1970-01-01
      相关资源
      最近更新 更多