当前位置: 代码迷 >> Java相关 >> java 访问 .net webservice,该如何解决
  详细解决方案

java 访问 .net webservice,该如何解决

热度:691   发布时间:2016-04-22 21:40:23.0
java 访问 .net webservice
现在项目要调用别人写的webservice
对方给到的标准是这样的:

<?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>
<postsalescreate xmlns="http://tempurl.org">
<astr_request>
<header>
<licensekey></licensekey>
<username>A00181</username>
<password>A00181</password>
<lang></lang>
<pagerecords>100</pagerecords>
<pageno>1</pageno>
<updatecount>0</updatecount>
<messagetype>SALESDATA</messagetype>
<messageid>332</messageid>
<version>V332M</version>
</header>
<salestotal>
<localstorecode>A00181</localstorecode>
<reservedocno></reservedocno>
<txdate_yyyymmdd>20130228</txdate_yyyymmdd>
<txtime_hhmmss>173900</txtime_hhmmss>
<mallid>2037</mallid>
<storecode>A00181</storecode>
<tillid>01</tillid>
<salestype>SA</salestype>
<txdocno>S201000300</txdocno>
<orgtxdate_yyyymmdd></orgtxdate_yyyymmdd>
<orgstorecode></orgstorecode>
<orgtillid></orgtillid>
<txorgdocno></txorgdocno>
<mallitemcode></mallitemcode>
<cashier>A00181</cashier>
<vipcode></vipcode>
<salesman></salesman>
<demographiccode></demographiccode>
<demographicdata></demographicdata>
<netqty>1.00</netqty>
<originalamount>0.00</originalamount>
<sellingamount>20.00</sellingamount>
<couponnumber></couponnumber>
<coupongroup></coupongroup>
<coupontype></coupontype>
<couponqty>0</couponqty>
<totaldiscount>
</totaldiscount>
<ttltaxamount1>0</ttltaxamount1>
<ttltaxamount2>0</ttltaxamount2>
<netamount>20.00</netamount>
<paidamount>20.00</paidamount>
<changeamount>0.00</changeamount>
<priceincludetax></priceincludetax>
<shoptaxgroup></shoptaxgroup>
<extendparam></extendparam>
<invoicetitle></invoicetitle>
<invoicecontent></invoicecontent>
<issueby>A00181</issueby>
<issuedate_yyyymmdd>20130228</issuedate_yyyymmdd>
<issuetime_hhmmss>173904</issuetime_hhmmss>
<ecorderno></ecorderno>
<buyerremark></buyerremark>
<orderremark></orderremark>
<status>10</status>
  相关解决方案