請給小弟我解釋下這個伺服器描述語言是什麼意思?

來源:互聯網
上載者:User
請給我解釋下這個伺服器描述語言是什麼意思??
本帖最後由 wkhegx 於 2014-06-18 15:15:03 編輯

在php的一個項目裡面,有一個wsdl格式的檔案,開啟裡面的代碼是這樣的,雖然看得懂英文的意思,但是我看不懂這個代碼有什麼用,放在項目的根目錄下起什麼作用,它如何啟動並執行?請給我詳細說下,謝謝。。













































































------解決方案--------------------
這是 Web Service 使用的,與客戶溝通用說明檔案
他告知使用者,本 Web Service 提供了如下方法:
[0] => boolean auth(string $email, string $password)
[1] => string latest(integer $date)
[2] => boolean send(string $email, string $password, string $message)

------解決方案--------------------
Web Service 是伺服器,使用 SOAP 協議
服務端使用 SoapServer 類形成服務
用戶端通過 SoapClient 類進行訪問
解析 WSDL 可由
SoapClient::__getFunctions
SoapClient::__getTypes
方法進行

相關檔案你的項目應該都提供了,你可以通過搜尋包含“WSDL”字樣的檔案,找到他們

  • 聯繫我們

    該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

    如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.