Closed carlossg00 closed 10 years ago
Try this:
$soapClientBuilder = $this->get('besimple.soap.client.builder.myname'); $soapClient = $soapClientBuilder->build(); $sopaClient->WebServiceMethodName();
Excellent!! Works great!!
Does client support cache? I see in Configuration.php that it can be specified for the client, can you provide config example for the client?
be_simple_soap:
clients:
myname:
wsdl: my_wsdl_string
cache: disk
Is it righ? do i need to specifiy the cache section?
Thanks!!
I think disk is the default option and it uses the php-tep dir. So you need not to specify the cache section.
You can setup the tmp dir in your php.ini.
Documentation added: https://github.com/BeSimple/BeSimpleSoap/commit/29170576c282f64afac1b68e5d04bb37bc6bb78d Visible online: http://besim.pl/SoapBundle/soapclient/configuration.html
Hi, Excellent work.
I am using nusoap lib as soap client. client call is as simple as:
I tried to figure out how to perform the same call with BeSimpleBundle, but I am too new to SOAP. Could you provide a simple example where those simple steps are invoved with BeSimple\SoapClient\SoapClientBuilder?
So far i have the bundle properly installed and "configured":
Thanks in advanced.