Добрый день! Помогите пожалуйста разобраться с WSDL Необходимо сгенерировать ключ, передавая в фукнцию параметры LicenseKey generateLicenseKey( String fname, String lname, String email, Calendar expiryDate ) пишу на пхп4. посоветовали использовать nusoap.. в результате подключения файла и передачи ему значений показывает ошибку Response not of type text/xml: text/plain получается нмкакого значения не возвращает?! Подскажите что делать Спасибо заранее!! Вот код PHP: require_once('nusoap.php'); $client = new soapclient('http://localhost/samples/LeafNetsRegLicensingWebService.wsdl'); $err = $client->getError(); if ($err) { echo '<p><b>Ошибка в конструкторе класса: ' . $err . '</b></p>'; } $result = $client->call('generateLicenseKey', array('fname' => 'Elena', 'lname' => 'Volk','email' => [email='anime@mail.ru]'anime@mail.ru[/email]','expiryDate' => '20100106')); if ($client->fault) { echo '<p><b>Сбой: '; print_r($result); echo '</b></p>'; } else { $err = $client->getError(); if ($err) { echo '<p><b>Ошибка: ' . $err . '</b></p>'; } else { print_r($result); } } wsdl: HTML: <?xml version="1.0" encoding="UTF-8"?> <wsdl:definitions targetNamespace="http://url.net:8080/axis/services/LeafNetsRegLicensingWebService" xmlns:apachesoap="http://xml.apache.org/xml-soap" xmlns:impl="http://url.net:8080/axis/services/LeafNetsRegLicensingWebService" xmlns:intf="http://url.net:8080/axis/services/LeafNetsRegLicensingWebService" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:tns1="urn:com.leafnets.ds" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <!--WSDL created by Apache Axis version: 1.4 Built on Apr 22, 2006 (06:55:48 PDT)--> <wsdl:types> <schema targetNamespace="urn:com.leafnets.ds" xmlns="http://www.w3.org/2001/XMLSchema"> <import namespace="http://schemas.xmlsoap.org/soap/encoding/"/> <complexType name="LicenseKey"> <sequence> <element name="createdDate" nillable="true" type="xsd:dateTime"/> <element name="email" nillable="true" type="xsd:string"/> <element name="expiryDate" nillable="true" type="xsd:dateTime"/> <element name="fname" nillable="true" type="xsd:string"/> <element name="id" nillable="true" type="xsd:int"/> <element name="lname" nillable="true" type="xsd:string"/> <element name="str" nillable="true" type="xsd:string"/> </sequence> </complexType> </schema> </wsdl:types> <wsdl:message name="generateLicenseKeyRequest"> <wsdl:part name="in0" type="xsd:string"/> <wsdl:part name="in1" type="xsd:string"/> <wsdl:part name="in2" type="xsd:string"/> <wsdl:part name="in3" type="xsd:dateTime"/> </wsdl:message> <wsdl:message name="generateLicenseKeyResponse"> <wsdl:part name="generateLicenseKeyReturn" type="tns1:LicenseKey"/> </wsdl:message> <wsdl:portType name="LeafNetsRegLicensingWebService"> <wsdl:operation name="generateLicenseKey" parameterOrder="in0 in1 in2 in3"> <wsdl:input message="impl:generateLicenseKeyRequest" name="generateLicenseKeyRequest"/> <wsdl:output message="impl:generateLicenseKeyResponse" name="generateLicenseKeyResponse"/> </wsdl:operation> </wsdl:portType> <wsdl:binding name="LeafNetsRegLicensingWebServiceSoapBinding" type="impl:LeafNetsRegLicensingWebService"> <wsdlsoap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/> <wsdl:operation name="generateLicenseKey"> <wsdlsoap:operation soapAction=""/> <wsdl:input name="generateLicenseKeyRequest"> <wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://url.net:8080/axis/services/LeafNetsRegLicensingWebService" use="encoded"/> </wsdl:input> <wsdl:output name="generateLicenseKeyResponse"> <wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://url.net:8080/axis/services/LeafNetsRegLicensingWebService" use="encoded"/> </wsdl:output> </wsdl:operation> </wsdl:binding> <wsdl:service name="LeafNetsRegLicensingWebServiceService"> <wsdl:port binding="impl:LeafNetsRegLicensingWebServiceSoapBinding" name="LeafNetsRegLicensingWebService"> <wsdlsoap:address location="http://url:8080/axis/services/LeafNetsRegLicensingWebService"/> </wsdl:port> </wsdl:service> </wsdl:definitions> [/php]