douyuepi6485 2017-07-06 22:02
浏览 114

将Nusoap PHP参数发送给SAP

I have a problem when performing a PHP (nusoap) integration with SAP, the connection responds 200 OK but returns a NULL value, I think the failure is in how I pass the parameters, 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');
  • 写回答

0条回答 默认 最新

    报告相同问题?

    悬赏问题

    • ¥15 ubuntu虚拟机打包apk错误
    • ¥199 rust编程架构设计的方案 有偿
    • ¥15 回答4f系统的像差计算
    • ¥15 java如何提取出pdf里的文字?
    • ¥100 求三轴之间相互配合画圆以及直线的算法
    • ¥100 c语言,请帮蒟蒻写一个题的范例作参考
    • ¥15 名为“Product”的列已属于此 DataTable
    • ¥15 安卓adb backup备份应用数据失败
    • ¥15 eclipse运行项目时遇到的问题
    • ¥15 关于#c##的问题:最近需要用CAT工具Trados进行一些开发