PHP - Informatica

   
Vista:

Informatica

Publicado por Jose David (1 intervención) el 25/07/2009 03:59:54
Tengo este codigo y me da el error que posteo mas abajos, les agradesco su ayuda...
...
codigo php


<?
require_once('../../nusoap/lib/nusoap.php');
$server = new soap_server();
ini_set("soap.wsdl_cache_enabled", "0");
$metode ="getMAATComercial";
$rutcli='76281620';
$digcli='2';
$passcli='2530';
$rutcons='13622761';
$digcons='0';

$wsc_Parametres = array('rut-cli' =>(string)$rutcli,'dig-cli'=>(string)$digcli,'pass-cli'=>(string)$passcli,'rut-cons'=>(string) $rutcons,'dig-cons'=>(string)$digcons);
$wsc_IDEC = new soapclient2('http://216.72.170.100:9070/maatcomercial.wsdl','wsdl');
$Resultat = $wsc_IDEC->call($metode,$wsc_Parametres);
if (!$wsc_IDEC->getError()) {
//echo(matriu_to_texte($Resultat));
print_r($wsc_IDEC->response);

}else{

echo($wsc_IDEC->getError());
}



este es el error

SOAP-ENV:Client: Method 'getMAATComercial' not implemented: method name or namespace not recognized
Request
Response
HTTP/1.1 500 Internal Server Error
Date: Fri, 24 Jul 2009 20:24:52 GMT
Server: Apache/2.2.0 (Unix) mod_ssl/2.2.0 OpenSSL/0.9.8d DAV/2
Connection: close
Content-Length: 602
Content-Type: text/xml; charset=utf-8

<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:ns="urn:maatcomercial"><SOAP-ENV:Body SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><SOAP-ENV:Fault><faultcode>SOAP-ENV:Client</faultcode><faultstring>Method 'getMAATComercial' not implemented: method name or namespace not recognized</faultstring></SOAP-ENV:Fault></SOAP-ENV:Body></SOAP-ENV:Envelope>
Valora esta pregunta
Me gusta: Está pregunta es útil y esta claraNo me gusta: Está pregunta no esta clara o no es útil
0
Responder