To connect to a solution a new SoapClient object is created. The path to the WSDL (Web Service Description Lanugage) file for the HostedShop API is given as the argument.
The file can be accessed at https://api.hostedshop.dk/service.wsdl, but it makes good sense to download the file and use it locally, as it gives developement tools such as Zend Studio the possibility to give hints to functionnames and the possibility to autocomplete the the methodnames which can be invoked on the client.