Jim Byrne - 2013-01-07

Hi, I'm just trying to get my head around how this stuff works. My first stupid questions is this:

Given the server and client examples set out in the documentation (http://www.scottnichol.com/nusoapintro.htm), if I changed the host to my own and ran the client script from my web browser should it work? I'm probably getting this all wrong - however…

When I run it I get the error in my browser, 'Fatal error: Uncaught SoapFault exception:  SOAP-ERROR: Parsing WSDL: Couldn't load from …   Start tag expected, '<' not found in…..'

I've shortened that - the error message includes the url of the server and says the error is in line 5; which happens to be:

$client = new soapclient('http://www.mydomain.com/nusoap-0.9.5/helloworld.php');

Any pointers would be appreciated. I know PHP but a complete novice in services related scripting.