arkadaşlar iyi günler beceremedim bir türlü. aras kargo kargo API'si kullanmaya çalışyıroum ama;kodum:<?php$client = new SoapClient("http://customerservices.araskargo.com.tr/ArasCargoCustomerIntegrationService/ArasCargoIntegrationService.svc?wsdl");$queryInfo = '<QueryInfo><QueryType>1</QueryType><T
arkadaşlar iyi günler beceremedim bir türlü. aras kargo kargo API'si kullanmaya çalışyıroum ama;
kodum:
<?php
$client = new SoapClient("
customerservices.araskargo.com.tr$queryInfo = '<QueryInfo>
<QueryType>1</QueryType>
<TrackingNumber>5440647616691</TrackingNumber>
</QueryInfo>';
$loginInfo = '<LoginInfo>
<UserName>yyy</UserName>
<Password>xxx</Password>
<CustomerCode>ddd</CustomerCode>
</LoginInfo>';
$result = $client->GetQueryXML(array('loginInfo'=>$loginInfo,'queryInfo'=>$queryInfo));
echo $result;
?>
aldığım hata:
Catchable fatal error: Object of class stdClass could not be converted to string in /home/xxxx.com/httpdocs/admin/aras.php on line 14