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>
原文地址:https://www.cnblogs.com/shuaihan/p/15060515.html