Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

Connections problems

Help
David
2011-12-12
2013-06-06
  • David
    David
    2011-12-12

    Hi!
    I'm trying to connect an app in internet (client) with another in my local network (server). I open the 8015 port and I can catch the wsdl, but when I call the server only return the next:

    2011-12-12 14:16:24.081611 nusoap_client: Error: HTTP Error: Unsupported HTTP response status 404 Not Found (soapclient->response has contents of the response)
    

    This is my code:

    require_once('webservice/lib/nusoap.php');
    $clienteWS = new nusoap_client('http://mydomain.com:8015/webservices/WS.asmx?wsdl',true);
    $err = $clienteWS->getError();
    if ($err) {echo '<p><b>Constructor error: ' . $err . '</b></p>';}
    $param = array( 'param'=>date('Y-m-d H:i:s'));
    //$namespace='http://tempuri.org/'; 
    $namespace='XMLTransferServiceProxy';
    $soapaction='http://tempuri.org/prueba';
    $resultado = $clienteWS->call('prueba', $param, $namespace, $soapaction);
    

    Any idea???

    Thanks!