Add new comment

Want to support HowtoForge? Become a subscriber!
Submitted by Anonymous (not registered) on Mon, 2011-06-06 08:02.

From what I can see, this article seems to suggest that the SoapClient calls the __doRequest() method when requesting the wsdl.

 This is not what I'm experiencing with php 5.3.5.

Can anyone confirm / deny? Should this be in the forum instead?

 eg.

class TestSoap extends SoapClient
{

  function __doRequest($request, $location, $action, $version, $oneWay)
  {
// DOES NOT GO THROUGH HERE ON OBJECT INSTANTIATION
    die('HERE');
    return parent::__doRequest($request, $location, $action, $version, $oneWay);
  }

}
$wsdl = 'http://host/service?wsdl';
$options = aray( /* */ );
$client = new TestSoap($wsdl, $options);
Please do not use the comment function to ask for help! If you need help, please use our forum.
Comments will be published after administrator approval.

Reply

*
*
The content of this field is kept private and will not be shown publicly.


*

  • Images can be added to this post.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <img> <div>
  • Lines and paragraphs break automatically.