项目用到了xfire,要求客户端传输一个xml文件文件,服务端解析这个这个xml.
我不知道如何在客户端发送xml,在服务端怎么解析?
望各位给小弟指点!不胜感激
xml格式如下
<?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:Body>
<sendSubscriberinfo xmlns="http://ssrt.com/tvbank/subinfo">
<subinfoArgsList>
<subinfoArgs>
    <date> string </date>
    <type> string </type>
    <userid> string </userid>
    </subinfoArgs>
</subinfoArgsList>
</ sendSubscriberinfo>
</soap12:Body>
</soap12:Envelope>不知道那位大哥给予小弟指点,或是把项目文件传我一份,小弟不胜感激.
.cn
在线跪求~~

解决方案 »

  1.   

    项目用到了xfire,要求客户端传输一个xml文件文件,服务端解析这个这个xml.
    我不知道如何在客户端发送xml,在服务端怎么解析?
    望各位给小弟指点!不胜感激
    xml格式如下
    <?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:Body>
    <sendSubscriberinfo xmlns="http://ssrt.com/tvbank/subinfo">
    <subinfoArgsList>
    <subinfoArgs>
        <date> string </date>
        <type> string </type>
        <userid> string </userid>
        </subinfoArgs>
    </subinfoArgsList>
    </ sendSubscriberinfo>
    </soap12:Body>
    </soap12:Envelope>不知道那位大哥给予小弟指点,或是把项目文件传我一份,小弟不胜感激.
    .cn
    在线跪求~~
      

  2.   

     这个对你有帮助啊http://www.javaeye.com/topic/195927