webservice发送带有头信息的数据

<soapenv:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:app="">
  <soapenv:Header>
        <CertificationProxy xmlns="http://login.com">
            <SessionId></SessionId>
        </CertificationProxy>
    </soapenv:Header>
   <soapenv:Body>
      <app:importBill soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
         <billType xsi:type="xsd:string"></billType>
         <billDataJSON xsi:type="xsd:string"></billDataJSON>
         <billStatus xsi:type="xsd:int"></billStatus>
      </app:importBill>
   </soapenv:Body>
</soapenv:Envelope>

 

上一篇:.NET(C#)使用HttpWebRequest、JavaScript(JS)和添加引用的三种方式调用WebService


下一篇:Java开发webservice接口案例,最终入职阿里