So i'm trying to access a simple java method via php using wsdl and soap. But when I try to run the php file it shows me the following error:

> 
> Fatal error: Uncaught SoapFault exception: [WSDL] SOAP-ERROR: Parsing WSDL: Couldn't load from 'http://localhost:8080/WEB/services/SampleClass' : Extra content at the end of the document in C:\xampp\htdocs\abc.php:2 Stack trace: #0 C:\xampp\htdocs\abc.php(2): SoapClient->SoapClient('http://localhos...') #1 {main} thrown in C:\xampp\htdocs\abc.php on line 2
> 
> 
> 

Here's my code: 

```
<?php  
  $client = new SoapClient("http://localhost:8080/WEB/services/SampleClass");
 $name=15;
 $c=20;
  $response = $client->demo($name, $c);
  echo $response;
?>

```

I'm not able to figure out what the problem is. Is it the argument to the `SoapClient` constructor? Does it have to be given following some other syntax?

And also i'm a complete newbie in Soap and WSDL so a step-by-step solution will be appreciated!