0

Soapclient 的经典 asp 代码

dim soapClient ,XMLReader, xmlDoc

Set soapClient = Server.CreateObject("MSSOAP.SoapClient30")
    soapClient.ClientProperty("ServerHTTPRequest") = True
Call soapClient.MSSoapInit("http://www.jiemai.com/services/JieMaiSlService?wsdl")

    soapClient.ConnectorProperty("Timeout") = 90000 '90 seconds
    soapClient.ConnectorProperty("ConnectTimeout") = 90000 '90 seconds

Set result = soapClient.getAllCategories("1056aed3-eee8-409a-8be0-6dc65962686e", "1.0")


'REsponse.write Result(0)

Response.Write( TypeName( Result ) & "<br/>" & vbCrLf )

我正在使用上面的代码,但我得到的只是“IXMLDOMSelection”,任何人都可以帮助我

4

1 回答 1

2

如您所见,您有一个IXMLDOMSelection对象。它是一个可迭代的集合,所以Response.Write(result.context.xml)如果你只想要选择上下文,你可以迭代或使用,这将返回树的 xml。

于 2012-05-05T21:10:43.427 回答