Luar's Flash Playground:Flash Remoting for .NET連接Web Service
Flash Remoting for .NET連接Web Service (13-05-2003)

新手經常面對過這樣問題,在Flash Remoting連接Web Service時,有時可以編譯成功,有時總是失敗,出現錯誤:Unable to create webservice proxy. Please ensure the Microsoft.NET Framework SDK is installed。

正確做法,應個為每個Flash Remoting的應用程序的Folder,例如:myApp,將web.config和gateway.aspx複製到此,留意在web.config中,必須有以下句子:

<httpModules>
     <add name="GatewayController" type="FlashGateway.
Controller.GatewayController,flashgateway" />
</httpModules>
在myApp下獨立建立一個Folder叫bin,將flashgateway.dll複製到bin,同時設定bin可以被ASP.NET用戶寫入。

執行了以上步驟後,依舊有這個錯誤,可能是Flash Remoting找不到.NET Framework SDK的wsdl.exe,那就需要將wsdl.exe複製到bin。

本文章由發表。
意見
"; print "沒有意見。
 "; } ?>
  • 我今天在《閃客帝國》找了一個《google》的例子然後出現了以上錯誤,可我已經按你的以上所有方法試過卻還是不行,麻煩幫我想想還會有什麼其他的原因嗎???
    謝謝!

    由zipli於14-05-2003發表

  • 做了以上設定後,請重新啟動Internet Information Server試試。

    luar於15-05-2003發表

  • 不止IIS連系統我都重起過了可都還是不行。

    由zipli於15-05-2003發表

  • 請嘗試用Browser開啟gateway.aspx,看看有沒有錯誤。

    luar於15-05-2003發表

  • 我是這樣做的沒錯誤,其它的例子也都很正常,並且我其它的*.aspx也都能正常運行。另外怎麼我每次回貼後看到的都是亂碼得等你回復後才正常,但我發完後在繁體版裡看到的又是正常的。是不是你把兩邊的代碼弄反了??

    由zipli於16-05-2003發表

  • 因為本站以繁體中文為主,簡體中文版是PHP轉換出來,所以所有簡體中文意見,在簡體中文版看時,經過了PHP轉換,所有編碼已經弄亂了。放心,我可以看到你的意見,請放心發表。暫時我會人手將簡體中文意見轉為繁體中文再重新發表。

    luar於30-05-2003發表

  • I followed the above instructions and I still got the same error: unable to connect to web service proxy..

    Any clue?

    Please help

    由Robin於18-08-2004發表

  • No Such Service http://localhost/flashremoting/samples/webservice/ ExampleWebService.asmx?wsdl with function GetMessage

    请教这是怎么回事

    由dwzm2008於28-09-2004發表

同組文章