• λ我爱Aspx >> Asp.Net >> 无需.net和专用组件实现用asp访问webservice
  • 无需.net和专用组件实现用asp访问webservice

  • :aspxer  Դ:internet  :2007-5-28 20:38:00  ؼ:.net,web,asp,webservice
  • 参数解释:

    oServerXMLHTTPRequest.open bstrMethod, bstrUrl, bAsync, bstrUser, bstrPassword

    Parameters

    bstrMethod

    HTTP method used to open the connection, such as PUT or PROPFIND.

    bstrUrl

    Requested URL. This must be an absolute URL, such as "http://Myserver/Mypath/Myfile.asp".

    bAsync (optional)

    Boolean. Indicator as to whether the call is asynchronous. The default is False (the call does not

    return immediately).

    bstrUser (optional)

    Name of the user for authentication.

    bstrPassword (optional)

    Password for authentication. This parameter is ignored if the user parameter is Null or missing

    设置完毕我们用SoapRequest.Send()向服务器发送请求,服务器返回的结果作为文本被存储在SoapRequest.responseXML中

    我们要做的就是构析这段文本。

    下面给出i_soapcall.asp的全部代码

    <script language="vbscript" runat="server">

    Ҷƪл˵?
  • һƪwebservice系列教学(1)
    һƪ根据客户端输入的文字生成图片,再传回给客户端的webservice