-
-
Notifications
You must be signed in to change notification settings - Fork 45
Closed
Labels
questionFurther information is requestedFurther information is requested
Description
Discussed in #209
Originally posted by sramirezse March 24, 2022
I tried to use withOptions(['connection_timeout' and 'default_socket_timeout' but the response takes much longer and does not throw an error, this is my code:
`try{
$responseGetOrder = Soap::baseWsdl($this->url)->withOptions([
'connection_timeout' => 30,
'default_socket_timeout' => 30,
])->getOrder([
'user' => $this->user,
'operator' => $this->operator,
'idProduct' => 'RMP100',
'numberAccount' => 5511111160,
// 'numberAccount' => 3334441122,
// 'numberAccount' => 5511111130,
'clientFolio' => $serviceAttempt->id,
]);
$responseGetOrderBody = $responseGetOrder->json();
return $responseGetOrderBody;
}catch(\Exception $e){
dd($e);
}`
Metadata
Metadata
Assignees
Labels
questionFurther information is requestedFurther information is requested
