C# で記述されたクライアントと PHP の SOAP サーバーを接続しようとしています。WSDL は次のように作成されます。
$autodiscover = new Zend_Soap_AutoDiscover('Zend_Soap_Wsdl_Strategy_ArrayOfTypeComplex');
$autodiscover->setClass('Soap_Service1');
$autodiscover->handle();
それから私は受け取ります:
<definitions xmlns="http://schemas.xmlsoap.org/wsdl/"
xmlns:tns="http://www.xx.de/soap/version/1"
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:soap-enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
targetNamespace="http://www.xx.de/soap/version/1"
name="Soap_Services1"
>
C# で解析されたこの 'name="Soap_Services1"' 属性は見栄えが悪い (Services.Soap_Services1Service)。もちろん、名前は ServiceBinding と PortType に関連付けられています。zend ライブラリを手動でハッキングせずに変更する方法はありますか?