DCOM组件需要客户端注册
WebSErvice可以到lostinet.d2g.com找个js的客户端来用

解决方案 »

  1.   

    你是猪啊,不会就别装
    HTTP protocol 1.1
    500 :服务端的错物.
      

  2.   

    这是我用MSXML访问WebServices的例子,仅供参考:    Dim obj As New MSXML2.XMLHTTP40
        Dim str
        
        str = "<SOAP-ENV:Envelope SOAP-ENV:encodingStyle=""http://schemas.xmlsoap.org/soap/encoding/"" xmlns:SOAP-ENV=""http://schemas.xmlsoap.org/soap/envelope/"">"
        str = str + "<SOAP-ENV:Body> <SOAPSDK1:Logon xmlns:SOAPSDK1=""http://tempuri.org/message/"">"
        str = str + "<bstrUserName>&ETH;ì&Atilde;&macr;&micro;&Acirc;</bstrUserName> <bstrUserPasswd>111111</bstrUserPasswd> <bstrCertificate /> <bstrUserSign /> </SOAPSDK1:Logon> </SOAP-ENV:Body> </SOAP-ENV:Envelope>"
        
        obj.open "POST", "http://roy_wu/UMSSystem/ZDUserAuthority.wsdl", False
        obj.setRequestHeader "Content-Length", Len(str)
        obj.setRequestHeader "Content-Type", "text/xml;charset=GB2312"
        obj.setRequestHeader "SOAPAction", "http://tempuri.org/action/UserAuthority.Logon"
        
        obj.send str在Send的字符串(xml)中,不能有XML版本描述,否则就会返回错误。