__soapCall

View: New views
2 Messages — Rating Filter:   Alert me  

__soapCall

by Scott.Hill :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

No matter what method I call I always get the same fault.  falutcode:
HTTP, faultstring: Not Found.

Here is a sample of the code:

$wsdl = 'some?wsdl';
$client = new SoapClient($wsdl);

$params = array();
$params['String_1'] = '12345';
$params['Integer_2'] = 12345;

try {
    $response = $client->__soapCall('webServiceMethod',$params);
}
catch (SoapFault $fault) {
    trigger_error("Soap Fault: (faultcode: {$fault->faultcode},
faultstring: {$fault->faultstring})",E_USER_ERROR);
}

What does HTTP and Not Found mean?

RE: __soapCall

by Christian Wenz-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


> No matter what method I call I always get the same fault.  falutcode:
> HTTP, faultstring: Not Found.

Maybe an HTTP 404 error -- does the web service endpoint defined in the WSDL
exist?

--Christian



--
PHP Soap Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php