Published on WSO2 Oxygen Tank (http://wso2.org)

Client can not find the WebService (WSDL)

By tomcat
Created 2008-05-15 04:14

Hi,

I am trying to access my webservice through a php client. I have moved both service and client (which are in php) into the same directory http://localhost/samples" and has changed the client URI to point to the new location of the client and wsdl file.

$client = new WSClient(array ("wsdl" =>"MyWsdl.wsdl","to" => "http://localhost/samples", "classmap" => $class_map));

When I call the service, the client is created successfully but I get this error:

"response envelope not found Data from Web service"

The original WSDL used to point to a different location and thats why I used

"to" => "http://localhost/samples"

Does anybody know what's happening?

cheers


Source URL:
http://wso2.org/forum/thread/3596