I have a problem when doing a PHP integration (nusoap) with SAP, the connection responds 200 OK but returns a NULL value, I think the error is in how the parameters pass, this is the code:
$client = new nusoap_client($wsdl, true);
$client->setCredentials($usuario,$pass);
$client->setEndpoint($endpoint);
$client->soap_defencoding = 'UTF-8';
$client->http_encoding='gzip,deflate';
$client->namespaces = array(
'soapenv' => "http://schemas.xmlsoap.org/soap/envelope/",
'tg' => "http://www.rutadeltg.com/xml/tgweb",
'asi' => "http://rutadelasi/asi/");
$person = array('CedulaCliente' => $cedula,'CanalDistribucion'=>$canal,'TipoPedido'=>$tipopedido);
$result = $client->call('SI_Get_Order', $person, 'urn:VentaDirecta:modelo:sap','http://sap.com/xi/WebService/soap1.1');