Its pretty simple to write a web-service client in PHP using SoapClient library that comes bundled with PHP.
By default when a SoapClient is created, the client will use the soap:address location from the WSDL. There might be different reasons why the address location inside the WSDL is different from the actual WSDL location. Its always safe to manually set the web-service location for the client.
one can do this by calling _setLocation() on the client.
<?php ini_set("memory_limit","128M"); $soapUrl = "some wsdl url"; $client = new SoapClient( $soapUrl, array('connection_timeout' => 200)); $client->__setLocation($soapUrl); $params->telephone=7065555558; $return=$client->lookupCustomerByTN($params); var_export($return); ?>