首页 新闻 赞助 找找看

java调用c#webservice时需要传递xml,那在java中如何去定义实体转换成xml???(注意:是实体类如何定义)

0
悬赏园豆:20 [已关闭问题] 关闭于 2013-11-26 12:04

java调用c#webservice时需要传递xml,那在java中如何去定义实体转换成xml???(注意:是实体类如何定义)

有如下这样的请求xml,那么在java中的实体是如何定义呢????

<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Header>
    <SXHeader xmlns="http://tempuri.org/">
      <OrderID>int</OrderID>
    </SXHeader>
  </soap12:Header>
  <soap12:Body>
    <Update xmlns="http://tempuri.org/">
      <updateStatus>
        <Status>string</Status>
      </updateStatus>
    </Update>
  </soap12:Body>
</soap12:Envelope>
fixbug11的主页 fixbug11 | 初学一级 | 园豆:10
提问于:2013-11-21 15:40
< >
分享
清除回答草稿
   您需要登录以后才能回答,未注册用户请先注册