.NET客戶端在使用WCF服務時我可以在此處手動更改GenerateMessageContracts設置。WCF:如何更改<GenerateMessageContracts> true</ GenerateMessageContracts>的設置 - PHP客戶端
文件:Reference.svcmap
<ReferenceGroup xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema" ID="c3e3cd74-61c2-408a-a511-63a2b654abd3"
xmlns="urn:schemas-microsoft-com:xml-wcfservicemap">
<ClientOptions>
…………
<GenerateMessageContracts>true</GenerateMessageContracts>
</ClientOptions>
</ReferenceGroup>
我想改變在WCF服務本身獲取這些設置。
不知道如何設置爲PHP客戶端手動生成消息合約。
有人知道嗎?
這可以通過檢查'生成消息合同'在Visual Studio中添加服務時進行配置。在添加服務引用時,沒有辦法在PHP中執行此操作嗎? – vibhu
Vibhu,我不知道如何在PHP中實現? – sivaL