diff --git a/reference/soap/functions/soap-soapclient-call.xml b/reference/soap/functions/soap-soapclient-call.xml index 93d124da88..26c128ffaa 100644 --- a/reference/soap/functions/soap-soapclient-call.xml +++ b/reference/soap/functions/soap-soapclient-call.xml @@ -1,5 +1,5 @@ - + SoapClient->__call() @@ -22,25 +22,28 @@ - This is a low level API function to make a SOAP call. Usually in WSDL mode + This is a low level API function that is used to make a SOAP call. Usually, + in WSDL mode, you can simply call SOAP functions as SoapClient - methods. It is useful for non-WSDL mode when soapaction - is unknown, uri differs from the default or when you like - to send and/or receive SOAP Headers. + methods. This method useful in non-WSDL mode when soapaction + is unknown, uri differs from the default or when sending + and/or receiving SOAP Headers. - On error, a call to a SOAP function can cause PHP exceptions or return a - SoapFault object if exceptions was disabled. - To check if the function call failed catch the SoapFault exceptions or + On error, a call to a SOAP function can cause PHP to throw exceptions or return a + SoapFault object if exceptions are disabled. + To check if the function call failed to catch the SoapFault exceptions, check the result with is_soap_fault. &reftitle.returnvalues; - SOAP functions may return one or several values. In the first case it will - return just the value of output parameter, in the second it will return - the associative array with named output parameters. + SOAP functions may return one, or multiple values. If only one value is returned + by the SOAP function, the return value of __call will be + a simple value (e.g. an integer, a string, etc). If multiple values are + returned, __call will return + an associative array of named output parameters. diff --git a/reference/soap/functions/soap-soapclient-construct.xml b/reference/soap/functions/soap-soapclient-construct.xml index 8d0feed231..0996a436b9 100644 --- a/reference/soap/functions/soap-soapclient-construct.xml +++ b/reference/soap/functions/soap-soapclient-construct.xml @@ -1,5 +1,5 @@ - + SoapClient->__construct() @@ -18,7 +18,7 @@ - This constructor allows creating SoapClient objects + This constructor creates SoapClient objects in WSDL or non-WSDL mode. @@ -39,15 +39,15 @@ options - An array of option. If working in WSDL mode, this parameter is optional. + An array of options. If working in WSDL mode, this parameter is optional. If working in non-WSDL mode, you must set the location and uri options, where location is - a URL to request and uri is a target namespace of the + the URL to request and uri is the target namespace of the SOAP service. The style and use options only work in - non-WSDL mode. In WSDL mode, they comes from the WSDL file. + non-WSDL mode. In WSDL mode, they come from the WSDL file. The soap_version option specifies whether to use SOAP @@ -55,7 +55,7 @@ For HTTP authentication, you may use the login and - password options. For making a HTTP connection through + password options. For making an HTTP connection through a proxy server, use the options proxy_host, proxy_port, proxy_login and proxy_password. diff --git a/reference/soap/ini.xml b/reference/soap/ini.xml index 46fac24d03..6d453ba49b 100644 --- a/reference/soap/ini.xml +++ b/reference/soap/ini.xml @@ -1,5 +1,5 @@ - +
&reftitle.runtime; &extension.runtime; @@ -48,7 +48,7 @@ - Enables or disables WSDL caching feature. + Enables or disables the WSDL caching feature. @@ -59,7 +59,7 @@ - Sets the directory name where SOAP extension will put cache files. + Sets the directory name where the SOAP extension will put cache files. @@ -70,8 +70,8 @@ - (time to live) Sets the number of second while cached file will be used - instead of original one. + Sets the number of seconds (time to live) that cached files will be used + instead the originals. diff --git a/reference/soap/reference.xml b/reference/soap/reference.xml index eee7ffeebc..824a5f7471 100644 --- a/reference/soap/reference.xml +++ b/reference/soap/reference.xml @@ -1,5 +1,5 @@ - + SOAP Functions @@ -47,7 +47,8 @@ &reftitle.constructor; - - construct a new SoapClient object + - + constructs a new SoapClient object