Я хочу добавить веб-сервис php в качестве прокси в wso2 esb.После добавления в прокси-сервис, когда я хочу попробовать этот сервис, я получаю эту ошибку в теле запроса:
xmlns:p: Empty XML namespace is not allowed
, когда я добавляю этот сервис в мыло ui, все работает правильно, но в wso2 esb в пространстве имен привязки это имеетошибка, мой сервис:
<definitions xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:tns="http://wbs.sepand4.com/soap/Psco4" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns="http://schemas.xmlsoap.org/wsdl/" targetNamespace="http://wbs.sepand4.com/soap/Psco4"> <types> <xsd:schema targetNamespace="http://wbs.sepand4.com/soap/Psco4"> <xsd:import namespace="http://schemas.xmlsoap.org/soap/encoding/"/> <xsd:import namespace="http://schemas.xmlsoap.org/wsdl/"/> </xsd:schema> </types> <message name="getPathRequest"> <part name="wbsId" type="xsd:string"/> <part name="user" type="xsd:string"/> <part name="pass" type="xsd:string"/> </message> <message name="getPathResponse"> <part name="output" type="xsd:string"/> </message> <message name="getPathRequest"> <part name="wbsId" type="xsd:string"/> <part name="user" type="xsd:string"/> <part name="pass" type="xsd:string"/> </message> <message name="getPathResponse"> <part name="output" type="xsd:string"/> </message> <binding name="Psco4Binding" type="tns:Psco4PortType"> <soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/> <operation name="getPath"> <documentation>get Paths </documentation> <input message="tns:getPathRequest"/> <output message="tns:getPathResponse"/> </operation> <operation name="getPath"> <soap:operation soapAction="http://wbs.sepand4.com/site-v4/server.php/getPath" style="rpc"/> <input> <soap:body use="encoded" namespace="" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/> </input> <output> <soap:body use="encoded" namespace="" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/> </output> </operation> </binding> <service name="Psco4"> <port name="Psco4Port" binding="tns:Psco4Binding"> <soap:address location="http://wbs.sepand4.com/site-v4/server.php"/> </port> </service> </definitions>