Graphic Design, HTML, MySQL, PHP, Website Design Job by dygos2
$2-8 USD / hour
Closed
Posted almost 11 years ago
$2-8 USD / hour
Hello guys.
I have lots of projects that i want to start giving to tird parts to help me out, but at first, i have this problem that i need to solve, and as soon as we work together and get more confidence, ill keep giving more projects, ok!?
I just posted here bellow, the code that im trying to work it out and im not getting. Im basicly calling a Web service, and passing parameters to filter it. The problem is, that the web service just don't filter how it should, because my parameter that im sending (object) is wrong. It works fine in C#, but i cant make it work in PHP.
See the code above.
===========================\
1,
'exceptions' => true,
'cache_wsdl' => WSDL_CACHE_NONE,
'features' => SOAP_SINGLE_ELEMENT_ARRAYS,
// Auth credentials for the SOAP request.
'login' => 'xxx',
'password' => 'yyy',
// Auth credentials for the proxy.
'proxy_login' => NULL,
'proxy_password' => NULL,
)
);
}
catch (Exception $e) {
printf("Error: %s\n",$e->__toString());
return false;
};
class PedidoFiltro{
private $PedidoID = 9;
};
try {
$obj = new PedidoFiltro();
//var_dump($obj);
$result = $client->PedidosDisponiveisComFiltro($obj);
print_r($result);
}
catch (Exception $e)
{
echo 'Caught exception: ', $e->getMessage(), "\n";
}
?>
==============================\
Is 2 hours enough to solve it?
Thanks
Rodrigo