parent
eb8e8495ad
commit
ccd5d04078
|
@ -15,7 +15,7 @@ namespace BeSimple\SoapClient;
|
||||||
/**
|
/**
|
||||||
* cURL wrapper class for doing HTTP requests that uses the soap class options.
|
* cURL wrapper class for doing HTTP requests that uses the soap class options.
|
||||||
*
|
*
|
||||||
* @author Andreas Schamberger
|
* @author Andreas Schamberger <mail@andreass.net>
|
||||||
*/
|
*/
|
||||||
class Curl
|
class Curl
|
||||||
{
|
{
|
||||||
|
|
|
@ -17,7 +17,7 @@ namespace BeSimple\SoapClient;
|
||||||
* server implementations. It also provides namespace and configuration
|
* server implementations. It also provides namespace and configuration
|
||||||
* constants.
|
* constants.
|
||||||
*
|
*
|
||||||
* @author Andreas Schamberger
|
* @author Andreas Schamberger <mail@andreass.net>
|
||||||
*/
|
*/
|
||||||
class Helper
|
class Helper
|
||||||
{
|
{
|
||||||
|
@ -136,13 +136,6 @@ class Helper
|
||||||
*/
|
*/
|
||||||
const PFX_XOP = 'xop';
|
const PFX_XOP = 'xop';
|
||||||
|
|
||||||
/**
|
|
||||||
* Wheather to format the XML output or not.
|
|
||||||
*
|
|
||||||
* @var boolean
|
|
||||||
*/
|
|
||||||
public static $formatXmlOutput = false;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Generate a pseudo-random version 4 UUID.
|
* Generate a pseudo-random version 4 UUID.
|
||||||
*
|
*
|
||||||
|
|
|
@ -18,7 +18,7 @@ namespace BeSimple\SoapClient;
|
||||||
* adds NTLM support. A custom WSDL downloader resolves remote xsd:includes and
|
* adds NTLM support. A custom WSDL downloader resolves remote xsd:includes and
|
||||||
* allows caching of all remote referenced items.
|
* allows caching of all remote referenced items.
|
||||||
*
|
*
|
||||||
* @author Andreas Schamberger
|
* @author Andreas Schamberger <mail@andreass.net>
|
||||||
*/
|
*/
|
||||||
class SoapClient extends \SoapClient
|
class SoapClient extends \SoapClient
|
||||||
{
|
{
|
||||||
|
@ -75,8 +75,6 @@ class SoapClient extends \SoapClient
|
||||||
{
|
{
|
||||||
// we want the exceptions option to be set
|
// we want the exceptions option to be set
|
||||||
$options['exceptions'] = true;
|
$options['exceptions'] = true;
|
||||||
// set custom error handler that converts all php errors to ErrorExceptions
|
|
||||||
Helper::setCustomErrorHandler();
|
|
||||||
// we want to make sure we have the soap version to rely on it later
|
// we want to make sure we have the soap version to rely on it later
|
||||||
if (!isset($options['soap_version'])) {
|
if (!isset($options['soap_version'])) {
|
||||||
$options['soap_version'] = SOAP_1_1;
|
$options['soap_version'] = SOAP_1_1;
|
||||||
|
|
|
@ -18,7 +18,7 @@ namespace BeSimple\SoapClient;
|
||||||
* ini settings. Does only file caching as SoapClient only supports a file
|
* ini settings. Does only file caching as SoapClient only supports a file
|
||||||
* name parameter. The class also resolves remote XML schema includes.
|
* name parameter. The class also resolves remote XML schema includes.
|
||||||
*
|
*
|
||||||
* @author Andreas Schamberger
|
* @author Andreas Schamberger <mail@andreass.net>
|
||||||
*/
|
*/
|
||||||
class WsdlDownloader
|
class WsdlDownloader
|
||||||
{
|
{
|
||||||
|
|
|
@ -15,7 +15,7 @@ namespace BeSimple\SoapClient;
|
||||||
use BeSimple\SoapClient\Curl;
|
use BeSimple\SoapClient\Curl;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @author Andreas Schamberger
|
* @author Andreas Schamberger <mail@andreass.net>
|
||||||
*/
|
*/
|
||||||
class CurlTest extends \PHPUnit_Framework_TestCase
|
class CurlTest extends \PHPUnit_Framework_TestCase
|
||||||
{
|
{
|
||||||
|
|
|
@ -15,7 +15,7 @@ namespace BeSimple\SoapClient;
|
||||||
use BeSimple\SoapClient\WsdlDownloader;
|
use BeSimple\SoapClient\WsdlDownloader;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @author Andreas Schamberger
|
* @author Andreas Schamberger <mail@andreass.net>
|
||||||
*/
|
*/
|
||||||
class WsdlDownloaderTest extends \PHPUnit_Framework_TestCase
|
class WsdlDownloaderTest extends \PHPUnit_Framework_TestCase
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue