简体   繁体   English

如何将xml转换为soap请求

[英]How To transform xml to soap request

I am very new to soap. 我是肥皂新手。 I would like to transform the following xml to a soap message. 我想将以下xml转换为一条肥皂消息。 How do i do this? 我该怎么做呢? I am using Mule Anypoint studio 我正在使用Mule Anypoint工作室

<SalesOrder>
  <salesOrderId>00001-2-3</salesOrderId>
  <saleName>Car Sale</saleName>
  <status>processing</status>
</SalesOrder>
<SalesOrder2>
  <salesOrderId>00004-5-6</salesOrderId>
  <saleName>House Sale</saleName>
  <status>processing</status>
</SalesOrder2>

You can do this using XSLT - Mule comes packaged with an XSLT Transformer component. 您可以使用XSLT来执行此操作-Mule随附XSLT Transformer组件。 You can find more specific guidance on the transformation here . 您可以在此处找到有关转换的更多具体指导。 Hope that helps. 希望能有所帮助。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM