Delicious Bookmark this on Delicious Share on Facebook SlashdotSlashdot It! Digg! Digg



PHP : Function Reference : SCA Functions : SCA::getService

SCA::getService

Obtain a proxy for a service ()
mixed SCA::getService ( string target [, string binding [, array config]] )

Example 2163. An SCA::getService() example

This example shows how to get a proxy to an email soap service described by EmailService.wsdl and located at http://example.org.

<?php
include 'SCA/SCA.php';
$service = SCA::getService('EmailService.wsdl', 'binding.soap', array('location' => 'http://example.org'));
$service->send(...);
?>

The above example will output:


Related Examples ( Source code ) » sca_getservice
















Change Language


Follow Navioo On Twitter
SCA_LocalProxy::createDataObject
SCA_SoapProxy::createDataObject
SCA::createDataObject
SCA::getService
eXTReMe Tracker