BeSimple / BeSimpleSoapClient

NOT MAINTAINED - [READ-ONLY] Subtree split of the BeSimpleSoap -- clone into BeSimple/SoapClient/ (master at BeSimple/BeSimpleSoap)
http://besim.pl/
57 stars 53 forks source link

Clien timeout option #11

Closed carlossg00 closed 11 years ago

carlossg00 commented 11 years ago

Hello,

Would be great to have the timeout option in the client. [PHP: SoapClient]((http://php.net/manual/en/soapclient.soapclient.php)

//
// setting a connection timeout (fifteen seconds on the example)
//
$client = new SoapClient($wsdl, array("connection_timeout" => 15));

I would create the PR for this feature if I had enough knowledge.

SoapClientBuilder has methods for the creation of the client with options.

public function withTrace($trace = true)

But again don't know how to use them.

Any guidance? Thanks for your work.

francisbesset commented 11 years ago

Please send your PR on new BeSimple/BeSimpleSoap repository.