• DG-Ang
  • NEWBIE
  • 0 Points
  • Member since 2007

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 1
    Questions
  • 3
    Replies
Hi Everyone
 
I am getting the following error sometimes. I am using the PHP toolkit

SoapFault exception: [Client] SoapClient::__construct() [<a href='function.SoapClient---construct'>function.SoapClient---construct</a>]: 'uri' option is requred in nonWSDL mode in /home/clients/websites/w_angel/public_html/epifany/soapclient/SforceBaseClient.php:59

Stack trace:

#0 /home/clients/websites/w_angel/public_html/epifany/soapclient/SforceBaseClient.php(59): SoapClient->__construct(NULL, Array)

#1 /home/clients/websites/w_angel/public_html/epifany/selfserviceuser/SelfServiceUserUtility.php(152): SforceBaseClient->createConnection(NULL)

#2 /home/clients/websites/w_angel/public_html/epifany/ssp/hangup.php(8): SelfServiceUserUtility->__construct(NULL, NULL, NULL)

This happens sometimes, It was happening yesterday around 11.45 AM EST and last night at around 10.45 PM EST.

What can be the issue here, I don't understand. I have not changed the code at all.

 

DG

  • October 11, 2007
  • Like
  • 0
Hi Everyone
 
I am getting the following error sometimes. I am using the PHP toolkit

SoapFault exception: [Client] SoapClient::__construct() [<a href='function.SoapClient---construct'>function.SoapClient---construct</a>]: 'uri' option is requred in nonWSDL mode in /home/clients/websites/w_angel/public_html/epifany/soapclient/SforceBaseClient.php:59

Stack trace:

#0 /home/clients/websites/w_angel/public_html/epifany/soapclient/SforceBaseClient.php(59): SoapClient->__construct(NULL, Array)

#1 /home/clients/websites/w_angel/public_html/epifany/selfserviceuser/SelfServiceUserUtility.php(152): SforceBaseClient->createConnection(NULL)

#2 /home/clients/websites/w_angel/public_html/epifany/ssp/hangup.php(8): SelfServiceUserUtility->__construct(NULL, NULL, NULL)

This happens sometimes, It was happening yesterday around 11.45 AM EST and last night at around 10.45 PM EST.

What can be the issue here, I don't understand. I have not changed the code at all.

 

DG

  • October 11, 2007
  • Like
  • 0

Hi,

My problem is
Fatal error: Uncaught SoapFault exception: [HTTP] Could not connect to host in /***/soapclient/SforceBaseClient.php:113
Stack trace:
#0 [internal function]: SoapClient->__doRequest('<?xml version="...', 'https://www.sal...', '', 1, 0)
#1 [internal function]: SoapClient->__call('login', Array)
#2 /***/soapclient/SforceBaseClient.php(113): SoapClient->login(Array)
#3 /***/test.php(7): SforceBaseClient->login('username@domain...', 'mypassword')
#4 {main} thrown in /***/soapclient/SforceBaseClient.php on line 113

Settings:
Apache/1.3.37 (Unix)
PHP 5.2.1

curl
cURL support  enabled 
cURL Information  libcurl/7.16.1 OpenSSL/0.9.7e zlib/1.2.3 

openssl
OpenSSL support  enabled 
OpenSSL Version  OpenSSL 0.9.7e-p1 25 Oct 2004 

soap
Soap Client  enabled 
Soap Server  enabled 
Directives
soap.wsdl_cache 1
soap.wsdl_cache_dir /tmp
soap.wsdl_cache_enabled 1
soap.wsdl_cache_limit 5
soap.wsdl_cache_ttl 86400

php.ini
allow_url_fopen = On

Same script is working from my local computer (apache 2.2, php 5.2.3 on windows) with exactly same settings.
I don't see any requirement about Apache version as long as PHP 5 works but it is the only difference beside windows - unix?

Thanks for helping!

Suat