Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 0.14.0

Bug #5622 No way to set the default namespace
Submitted: 2005-10-07 07:19 UTC
From: mdk Assigned: yunosh
Status: Closed Package: SOAP
PHP Version: 4.3.9 OS: Redhat AS4
Roadmaps: (Not assigned)    
Subscription  
Comments Add Comment Add patch


Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know! Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem : 50 + 43 = ?

 
 [2005-10-07 07:19 UTC] mdk
Description: ------------ It seem that I can't find a way to set the default namespace. I'm trying to connection to a .NET soap server, and it requires me to set the default namespace as I'm using a SOAP BODY and HEADER. E.G. <SOAP-ENV .... xmlns="http://SOMETHING" .....

Comments

 [2006-02-04 04:38 UTC] martin dot kup at digidy dot com
try to add "namespace" => "your namespace here" into array $options used in ->call() and add following code $xmlns = ' xmlns="'.$elNamespace.'"'; on line 586 in Base.php after // Add namespaces. if ($elNamespace) { $elPrefix = $this->_getNamespacePrefix($elNamespace); if ($elPrefix) {
 [2007-01-21 18:22 UTC] yunosh (Jan Schneider)
This bug has been fixed in CVS. If this was a documentation problem, the fix will appear on pear.php.net by the end of next Sunday (CET). If this was a problem with the pear.php.net website, the change should be live shortly. Otherwise, the fix will appear in the package's next release. Thank you for the report and for helping us make PEAR better. A setDefaultNamespace() method has been added to the SOAP_Base class.