日期:2014-05-19  浏览次数:20667 次

webservice错误
我客户端调用webservice时
方法只需要一个参数,
我发送空字符串或者该xml一部分
<ESPT>
  <MAIN>
  <AGREEMENT>
  <LOANS>
  <LOANBANK> </LOANBANK>
  <LOAN_LIST/>
  </LOANS>
  <PRODUCTS>
  <AMONTTOTAL> </AMONTTOTAL>
  <PRDCOUNT>1</PRDCOUNT>
  <PREMTOTAL>10.00</PREMTOTAL>
  <PRODUCT_LIST>
 不会报错
如果全部发送
<ESPT>
  <MAIN>
  <AGREEMENT>
  <LOANS>
  <LOANBANK> </LOANBANK>
  <LOAN_LIST/>
  </LOANS>
  <PRODUCTS>
  <AMONTTOTAL> </AMONTTOTAL>
  <PRDCOUNT>1</PRDCOUNT>
  <PREMTOTAL>10.00</PREMTOTAL>
  <PRODUCT_LIST>
  <PRODUCT>
  <AMOUNT> </AMOUNT>
  <CURRENCY>CNY</CURRENCY>
  <EVENTNO> </EVENTNO>
  <EVENTTIME>2011-12-20 10:01:01</EVENTTIME>
  <ISDID>1</ISDID>
  <ISRPERIOD> </ISRPERIOD>
  <ISRUNIT>D</ISRUNIT>
  <MRTYPE>1</MRTYPE>
  <PAYPERIOD> </PAYPERIOD>
  <PAYTYPE>2011-12-20 10:01:01</PAYTYPE>
  <PRDCODE>1118939800000001</PRDCODE>
  <PREMIUM>10</PREMIUM>
  <VALIDDATE>2011-12-20</VALIDDATE>
  <VALIDTIME>10:01:0</VALIDTIME>
  </PRODUCT>
  </PRODUCT_LIST>
  </PRODUCTS>
  </AGREEMENT>
  <APPLICANT>
  <APPADDR> </APPADDR>
  <APPBIRTH> </APPBIRTH>
  <APPEMAIL> </APPEMAIL>
  <APPGENDER> </APPGENDER>
  <APPIDNO> </APPIDNO>
  <APPIDTYPE> </APPIDTYPE>
  <APPMOBILE> </APPMOBILE>
  <APPNAME>周权</APPNAME>
  <APPPOST> </APPPOST>
  <APPPROFCODE> </APPPROFCODE>
  <APPPROFTYPE> </APPPROFTYPE>
  <APPTEL>10000000</APPTEL>
  </APPLICANT>
  <BENEFICIARYS>
  <BENEFICIARY_LIST>
  <BENEFICIARY>
  <BNFADDR> </BNFADDR>
  <BNFBIRTH> </BNFBIRTH>
  <BNFEMAIL> </BNFEMAIL>
  <BNFGENDER>M</BNFGENDER>
  <BNFID>1</BNFID>
  <BNFIDNO>44444444444444</BNFIDNO>
  <BNFIDTYPE> </BNFIDTYPE>
  <BNFISDRLT>M</BNFISDRLT>
  <BNFMOBILE> </BNFMOBILE>
  <BNFNAME>宁波分公司</BNFNAME>
  <BNFORDER> </BNFORDER>
  <BNFPOST> </BNFPOST>
  <BNFSHARE>100</BNFSHARE>
  <BNFTEL>8888888</BNFTEL>
  <ISDID> </ISDID>
  <PRDCODE> </PRDCODE>