Skip to content

Commit 0dd4183

Browse files
lucasabaweaverryan
authored andcommitted
Minor proposed fix to the content
1 parent a7df135 commit 0dd4183

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

cookbook/web_services/php_soap_extension.rst

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,15 @@ create one from scratch or use a 3rd party generator.
1212
.. note::
1313

1414
There are several SOAP server implementations available for use with
15-
PHP. `Zend SOAP`_ and `NuSOAP`_ are two examples. Although we use
15+
PHP. `Zend SOAP`_ and `NuSOAP`_ are two examples. Although we use
1616
the PHP SOAP extension in our examples, the general idea should still
1717
be applicable to other implementations.
1818

1919
SOAP works by exposing the methods of a PHP object to an external entity
2020
(i.e. the person using the SOAP service). To start, create a class - ``HelloService`` -
2121
which represents the functionality that you'll expose in your SOAP service.
2222
In this case, the SOAP service will allow the client to call a method called
23-
``hello``, which happens to send an email address::
23+
``hello``, which happens to send an email::
2424

2525
namespace Acme\SoapBundle;
2626

@@ -46,7 +46,6 @@ In this case, the SOAP service will allow the client to call a method called
4646

4747
return 'Hello, ' . $name;
4848
}
49-
5049
}
5150

5251
Next, you can train Symfony to be able to create an instance of this class.
@@ -112,7 +111,7 @@ into the content of the Response and clear the output buffer. Finally, you're
112111
ready to return the ``Response``.
113112

114113
Below is an example calling the service using `NuSOAP`_ client. This example
115-
assumes the ``indexAction`` in the controller above is accessible via the
114+
assumes that the ``indexAction`` in the controller above is accessible via the
116115
route ``/soap``::
117116

118117
$client = new \soapclient('http://example.com/app.php/soap?wsdl', true);

0 commit comments

Comments
 (0)