默认打印肥皂响应而不使用 echo,print_r,var_dump ..我得到输出lile这个..你呢 请解决这个问题。
请求:
<?php
set_time_limit(0);
require_once('nusoap.php');
$client = new nusoap_client('http://soap.xxxx.xxxx.com:8080/xxxxx.php?wsdl',true);
echo $error = $client->getError();
$soap_username='xxxxxxx';
$soap_password=md5('xxxxxx');
$header='<user xsi:type="xsd:string">'.$soap_username.'</user><password xsi:type="xsd:string">'.$soap_password.'</password>';
$client->setHeaders($header);
$info = new StdClass();
$info->AccountId = xxxx;
$info->CDRFileName = "xxxxxxx.csv.zip";
$param = array($info);
$result = $client->call('CdrFile.getFile',$param);
?>
响应(没有任何类型的打印命令):
array(4){[0] =&gt; array(9){[“pos”] =&gt; int(0)[“children”] =&gt;串(2) “| 1”[“cdata”] =&gt; string(0)“”[“depth”] =&gt; int(0)[“parent”] =&gt; string(0)“”[“status”] =&gt; string(8)“envelope”[“name”] =&gt;串(8) “信封”[“attrs”] =&gt; array(4){[“xmlns:SOAP-ENV”] =&gt;串(41) “http://schemas.xmlsoap.org/soap/envelope/”[“xmlns:xsd”] =&gt;串(32) “http://www.w3.org/2001/XMLSchema”[“xmlns:xsi”] =&gt;串(41) “http://www.w3.org/2001/XMLSchema-instance”[“xmlns:SOAP-ENC”] =&gt; string(41)“http://schemas.xmlsoap.org/soap/encoding/”} [ “命名空间”] =&GT; string(41)“http://schemas.xmlsoap.org/soap/envelope/” } [1] =&gt; array(9){[“pos”] =&gt; int(1)[“children”] =&gt; string(2)“| 2” [ “CDATA”] =&GT; string(0)“”[“depth”] =&gt; int(1)[“parent”] =&gt; INT(0) [ “状态”] =&GT; string(4)“body”[“name”] =&gt; string(4)“Body”[“attrs”] =&gt; array(0){} [“namespace”] =&gt;串(41) “http://schemas.xmlsoap.org/soap/envelope/”} [2] =&gt;数组(11){ [ “POS”] =&GT; int(2)[“children”] =&gt; string(2)“| 3”[“cdata”] =&gt;串(0) “”[“depth”] =&gt; int(2)[“parent”] =&gt; int(1)[“type”] =&gt;串(6) “struct”[“status”] =&gt; string(6)“method”[“name”] =&gt;串(23) “CdrFile.getFileResponse”[“attrs”] =&gt; array(1){[“xmlns:ns1”] =&gt; string(11)“urn:AvaVoip”} [“namespace”] =&gt; string(11)“urn:AvaVoip” [ “结果”] =&GT; array(1){[“return”] =&gt; &安培;串(18026647) “PKBC [$〜ñÞ¸Ã1176-20131001.csvUTýcKRdKRUx'[]o¹r}ϯ0ôÜëaU'ERO¹Aò-î0ø¹W¯mXZà^ ?&GT;‡O =ëμším)²eËšÖÌTóL} OES,&GT;¶ÇLJIY&GT;&LT; OA±=ýöåÃÓÃßÛRËçOŸZyZnϪ¿}MOøaÉ|ü±}»rWÒÇ〜ø'¾&GT;ýóÝÝ2&GT; |?UU}¼&LT; | U0 |。OO〜|nŸþù¥羽^ {{UY <Ó§ÿßnäË×ÏOŸËçãÚ×ö÷ÏOíCªõ+〜»| M [ZLÿöμ?|·”'〜{所需产物[úúëí¿o÷¿=þòμõ‡,OéKmOŸ ®¿ý“
œZvô ‰·d—;6$¿˜ø‹˜w,÷ÎßÛx·]%ó‹¡wÆܺ·0‡…),J^˜½ D‹óÖáË;^¾\$8ÃþÇ.Ô«iÖjl•¬£(ªlM*¹–XþUÝ{ŠïIè½ —ôh’§¹\ˆ˜@ÞórdjØZØ¿ÇBÞ“Ñ÷^—…t1ïrÄ}òöÂq–»¿üöøô5}|Hï~y÷?ÿùïøþo_súÔî¾%DãwËw÷bî®|)… B¤ª{@‚+ ZLŽ!uXâÀ±™ÚIk¯ž-áÙ\ö.ðe920ƒÁùÛ¢·ûšbð—Ú>¦‡ú|õX¼ÝSïyâþžá.,Ž~¼þHA¯ë÷IL2Lœ©øåØmŒ‘ŒID%=_?)\H½^¼zÀHì_Äê<œ}žÜó5þÒ BpèÝÜ«ŠWª3&Z»Càú°z‚ãªÉzuD‘²ß³ñ9YS]j½=G‹¹xAЪqÀüÈÔ1Ì´øp}݉ÿj3’Íó°7¹[4ß³ÞM®:‡<—+ÎZQÙ#AðŠÕ'z@J(°Ö9Š° öc‹Ý'DE OÏ&[—/BÁ9 ÈHG–Ž0äלÂð×Ï¿=ýíݤǧwÏ€Pþý’éžì½uwϯ²½g7¢ÃŒ;ºBîEm;¯°¿Ø¦ VT+Ã:Þ1â»x¦¨¶F'»ø@èÄjåBYǧtdé Rq›ür¯„W=[¶‹×¤ðÝU¾Ç_F¢DB^P~¿Eöf!\ù †é]o‘;pÏ=Ø‚PlvA{aŸƒï1µô~!ÄHÕ-G¦Ž=k[È™£áŒFy¾nçîYvh8½F|ùUʹˆ¨ª;,àêfKœZkMÍv§>Ù¤9Ö¬FmONŒµ;,2ŠKråöðI-G–~$‘Hø ÿýùë#Ïp 1Ïr…Ü“ìÓæõê
OC-JI £¢>~ÛæMcñ¿íI&GT;aaÏa'SμÁ] EQO *¬ñe.Áß•OZE#I×ÌáÞÚ¯øÀš] i的 Š“x‡ÜdE¢ç»S $ߺ-™º+ ...JiØeMü”räÃ< - #Sž6ÇË^ Ltt‡ýÓk-&gt;jœn‰k¶h™‡ê8•Zno {Ì-m.aŸ -àGŒ¢qAº7D-åÈÒ¨Eüý_ê|‰PIAA“禾%FÜxœ:ÆZN5ÅL N {£v¶ÕËæ%)IQ | I‰Ž½kª~™:ã1ò'ŽAv‡> 9†Ç€æœ* A±Î¡îÏð°VO ª#-PÊkz€È6jÙ¥GS” SR°W¿~Z:C!ãí ÈUÅ$#84ëñÍÁsŸÃ0¤‰ºˆÁ†ƒ±â–#KSÂ÷:Œ_ >FL¸—â@²Ú± Œ{õq ŠU‡¹‘ £¬\¤„ E$C|+¸b$ïx&•’í×$}--G¦~àPa×ÞÁË¡ÓP½ª¢5jU ©¬umb…3ÄL.UJjÁüZKêÝí|§J½Ó¤„,œ_Ž,@⥠ŸÇWåwÏS㆕Yh¬i’“TBwQšØœ 1É÷ÞErÀ±óS3UßA0!Ú4„°Y:Ó¢x©?èKq»ò_Fdš†Æ* I¥t|Dƶ̸1Igp¤¤¢OA的” O•K¹@ºf-#KoÎ'£q§ †EŠ¸eJõ£4uZ£,|©½y肋ñd×Ç'Š‰&gt;€Åíè%” DA Q [I;ÑåÈÔ•IYA {YE〜ù'Yƒ9ùéìFS¬cßžA°æH²,€³ƒGøz€KàGä¶#ÐßD¶ £fz0ÐåÈÔù9^ø*Ž_áÞFg±òiÑMƒ6S}†š¤Ô= d JM¥2#Uî"£1²Ë O~cRKî/ž 2)þ“Òxå:”¶MJË•sˆ>™Ñ)Á¹5’°+bZˆº ±ÄÄ!.G¦~žî"ÿ 8ðIãæ¬ÓnƒIÄZ œjô칂[CC»Râ¾/á4W J~$ç·²1±ôçh¼¬Ÿ;¼Âœ‡Áß ±âÀÞxÖ‡5_j…hô>Ùfp½¶Ñ¯+¤È ‰ö‰ZBC‘€·xJ´Ë‘¡30¼´zÆ“0 z†Ë]Í8KL:ánÍ™\ð“!Ó{¥$ø?bý„2weCñ–¹4ñàN‘øÖߟX:C°ÏU §—?ÚtÖl¥YäÈД<¸µ+}µ6ñ®ø >KæJi]áîBä‹ ®³‹ 7@]Å nM™‰¥øAðßîð5Ùíù°0dMÈÈ€(ÀvêºF…WIx’rê‚T7TxoŶ²kg»h:[#€#@n›7Ù91õçþp}Ù«ðàÓr^¼¥‰ |sZ¥[3¢øRjqxâµwËÄÑ=©fæÝ®‹r¯-_o<ºf9²t&Oœ‹–óî@w‹[Ávþ â7]ýÚ…°)·Ò ™"'+1#9fÜUõªÕǼkM‰ ‚Èe920]ôÿ‡6Lu…ŸfFÕ·BÉðÛé'ï7}Åd'c ·s÷‰'†Ètœ5ïZT5¡´Ö AQXJo–#S?¡R bl÷…›° 8"„-*´‚aïÁ¥“rÕÞùaO šŒ¾åÍ öÞÚ Äž\ûêÿ[:´HsÎ͹cÜv/Pä ¯¾£J¹VÈnçKrÝí÷|dÄ?!"ZB€‰åÈÒÛhó»Šp Ás§°R¬†X*Ü?*>õ„O˜ZVó~&$š{1r*\e92u¦&°MI~ibØF/,¼zͱ0Újx]k»Æ‹µâðÌx¤¸5f§†Þz4dÀ ¯Áã~,eZâÚš%í’ &¡´SAFp Žá;æÈ ÉdäGæÑ°«[ÌLØÙ{iŠ0çqûzöÖvœ·ê·ÕÑA’êƒFi •É«KÖ”²ïQ·¢1º ÞÛD¼\Ž,êÌžäñUõÁ’ÒؘŸ®_¶~lìƒ*jO9¡8ÀdD†75‡Ên?c¼ÉÙ®õafàÍIB8Ÿ‡Š4Ë:‹À{öª‚Ùjc(Ö$,$kVMÛmí#‡eî>û–ãQ#7ŽÉ#Kgz áU©‘ÝkÊ¥Cö2ø>koÁøj+‘ÝœT ä›Ü¼$ûý&…kZsc {oí Ö4Õ&Kß<Ázv£«6Y;Ñê ¶†‚¼æ rŒÍz›Ç] b¡±Ù)'.=hHùP9ØÇ5 L-½ù®¥¸“(@.¹1´¹›Š€ÚÎ ÓÊm¯)ÅæŒM)d?ZFxGП18YªNôc{ÿ£(x Ù½É鉥3ñðªV›åÓhŒ‰j£Â–ÕM}bžäž
PÎÙHWä¢*否GT; R;æìsëŽLÜ2ãÄÀ>3gzíc6O'·õ½À,ü¬ÑHfÕOâ ¤±R“iL çv¶»²À-TÅ_ð¨'ãnûS[KPcÃÒÒù~;ºÄÕ&GT; LO)'áþM£一个“±†s$Þ: ZݨŽ¾¶äAŒ µåŠœQÈì÷§À ±zö³.WI}dê'tám8 ÈC¼’YKºwCù΀Ø6êX}ÉøC¡Ž¡T6™sì sˆu×…6´×.äÆô›•ÛNÝÄÔ›³OûÃØÃÙ·y0ñ©'和; UF $ ...> C 1-6díãTG2U¹Øœ5Ry* UZ [ÉÑ'rAp#%@” / G-〜OW·nüëZ Öäº;#!<ÿ6p0¥S'Íx™”ú8d$»VP !}¤dÇ$ Y〜ÔQ(¡†FäÔ8RÞ'¥·U±Z ^&GT; OE•U®VuL¬MaØöza%Ô4zr¿g¨-,Ð&GT;è;NœA¾'ÜÎØm~-OëníèT@¡\ÊxnÌ6ƒ²° †;¾û²¬çUÇ <5Ù1,G|Þ܆一个·S>ö...&LT; »¶ßTàýÒ“Ce¤ÈZ¶~xȾ+KÍ”......‡ÚIuT-G | NM ?¿*Uª9h2L®ºTE ... A |ŽümPTBspŠ”'U-A”æÆNŒûézd... T>&安培; * RC ñÈÔ›·ê•Æ8æ]½õdÇ+ñ…56ÆLè˜k44¬¯ÚªÕvÓb Ôýi=
A·ýº‰·œÊ'-IIE =ÅqØde6&GT; OAA·‰Ž{{1} }®ÓãëÈ4þ...ù2ýêܬEÂ3)O”的AQ÷|0ÅCNác{¡z®5_HF§} - #$洙UI«|郑州çÑJ9\»Nj©"7„EŒû½ëÜ™K H æFÌz@ojê 8,–_„˜³ê°Ï«òÁø<ÚŠeÍ‚Ad´‰¬¸”,BܴнßO #_Tð¥Kô^±t¿5¢&–Þ<=ª= Â8•5Úb·$3;w4PX™¤áØjç"ÝVN_ãôQ t=Ú;XZÛrð—q*˜o;Væô9´?Œ|½.7ºÓ
÷í‡pÀû½óSwØâUŠIC纳米+ÙŒí=#UZL这辆= [+aŒyÜöpöÞ- RY׆p þ÷8è@£Ó¹¹€<Ƈb | +ºÂ¸Âô!)jè¾\&amp;TEÇQ...ì謙ú¡Î!æº'&amp;kÏ~Ž³