本帖最后由 sndaxdrs 于 2010-04-11 16:08:49 编辑

解决方案 »

  1.   

    http://download.csdn.net/source/2230015
    我的资源你去下来看看 不知道你的webservice调用怎么写的 我就是按这个文档写的 你参考一下 不行的话在研究
      

  2.   


    你那就是发送的数据错误
    你自己比较下你贴的xml 你看看成功和失败发送的xml一样不?
      

  3.   

    是有细微差别。比如 成功的 URL 属性是这样的  
    <areaId xsi:type="xsd:int">1</areaId>
    失败的是这样的:  
     <areaId xsi:encodingStyle="xsd:int">1</areaId>
    但是这个地方我在程序 中没找到修改的地方。 还有就是我不知道是不是因为这样 送别导致的。
    还有 成功的 XML前三行是这样的 <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:tns0="urn:com-shanda-deposit-service-AllDepositService" xmlns:xsd1="http://com.shanda.deposit.service/AllDepositService.xsd">
      <soap:Body soap:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
        <tns0:newDepositCard>失败的XML前三行是这样的 
    <xsi:Envelope xsi:encodingStyle="" xmlns:xsi="http://schemas.xmlsoap.org/soap/envelope/">
    <xsi:Body xsi:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
        <tns0:newDepositCard xsi:encodingStyle="">在程序中, 我导入的 dll文件是这样的#import   "msxml4.dll"     
    using   namespace   MSXML2;   #import "C:\Program Files\Common Files\MSSoap\Binaries\MSSOAP1.dll" exclude("IStream", "ISequentialStream", "_LARGE_INTEGER", "_ULARGE_INTEGER", "tagSTATSTG", "_FILETIME")
    using namespace MSSOAPLib;
    希望明白人能帮我 分析一下。 问题到底出在哪里。
      

  4.   

    看我博客里OpenAPI系列的几篇分析文章