see
Synchronous Method Invocation
http://msdn.microsoft.com/workshop/author/webservice/using.asp?frame=true#synchronous_processing

解决方案 »

  1.   

    你是用webservice.htc吧??多痛苦啊。。不如用我的Rane(Remote Asp.Net Execution)吧..
    http://expert.csdn.net/Expert/TopicView1.asp?id=2601021
    根据里面的提示下载例子,
    看Rane文件夹里面的例子代码。
      

  2.   

    不过Rane是否支持vbscript则不太清楚。。
      

  3.   

    呵呵。。测试过了。。
    是可以给VBScript调用的。里面的代码是: <script language=jscript src="Exam1.rane.ashx"></script>
    </head>
    <script language=vbscript>
    function VBGreeting()
    alert Exam1.Greeting()
    end function
    </script>
    <body>
    <h1>Exam1</h1>
    click the button to cee what the server say:
    <button onclick='VBGreeting()' type=button>Greeting</button>
      

  4.   

    http://www.lostinet.com/en/lwsamplecs/?framesrc=Rane/
      

  5.   

    Lostinet(『 迷失网络 』) 
    .ashx是什么文件啊
      

  6.   

    http://www.microsoft.com/china/msdn/library/dnservice/html/service07222003.asp
      

  7.   

    从 ASPX 页面进行 Web 服务调用时的性能考虑
    http://www.microsoft.com/china/msdn/library/dnservice/html/service07222003.asp