We are building, for the first time, a soap server for communicating with some of our vendors. For security purposes, we are looking at creating a soap web server that will listen on a port other than port 80 and use SSL. The server we are going to use is an new UBUNTU Linux server.
Can anyone provide some guidance or provide some documentation on best practices?
The port/ssl options you’d be using would be specified in your apache config, rather than any business logic in PHP.
Setting up a SOAP service to listen on a particular actor URI is super easy: set up your wsdl to describe the functions which can be called; and then use the SoapServer object to delegate all incoming requests to a secondary class to handle all the calls using either the
'classmap'option in the constructor or thesetClass()method of the SoapServer class; and define an'actor'in theSoapServerobject constructor.