Click here to get back home

WSDL / SOAP function namespaces

 HomeNewsGroups | Search

comp.lang.php - PHP programming language discussions 

get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
WSDL / SOAP function namespaces Matthew 04-23-2008
Posted by Matthew on April 23, 2008, 6:20 am
Please log in for more thread options
Hi - apologies in advance if this is the wrong list for the following
php/soap related question; would appreciate a pointer to the right
group.

The quick way to phrase my question is - is the SOAP function
namespace flattened?

In other words, I have a single WSDL file with something like the
following:

show/hide quoted text

show/hide quoted text

The point is that the namespaces for each are different, but the
function names (getFoo, getBar) are the same. Is this allowed? On
the client and server side, I have getFoo/getBar inside their
respective ClassA / ClassB namespaces, but the output from
__getFunctions on the client side is simply:

array(4) {
show/hide quoted text
string(33) "record_t getFoo(record_t $params)"
show/hide quoted text
string(33) "struct_t getBar(struct_t $params)"
show/hide quoted text
string(38) "record_t getFoo(record_t $params)"
show/hide quoted text
string(38) "struct_t getBar(struct_t $params)"
}

which means the correct function references are being loaded, but it
looks like the classnames (the first getFoo / getBar are in class
ClassA, the second pair in class ClassB) are not retained. I seem to
have no way to tell the SoapClient to call ClassB::getFoo.

I would appreciate any pointers on this; worst-case scenario I have to
assume a flat namespace and have unique function names for everything,
which is not ideal ...

tia,
matt

Similar ThreadsPosted
WSDL-Problem? SOAP-Client fails, Perl Soap::Lite works February 2, 2009, 3:28 pm
SOAP and auto WSDL writers October 28, 2006, 7:40 pm
SOAP and auto WSDL writers October 28, 2006, 7:41 pm
PHP5 + soap extension + WSDL Mode April 4, 2006, 4:44 am
passing variable amount of complex types to WSDL SOAP webservice? August 26, 2005, 2:34 pm
Trying to call SOAP Function August 4, 2008, 3:15 pm
PHP5's SOAP Extension Simplifies WebSite Payments Pro SOAP Integration February 4, 2007, 9:59 am
SOAP libraries (SoapClient/Pear::SOAP) and error conditions September 16, 2008, 11:32 am
Problem: PEAR SOAP => PHP5 SOAP August 16, 2004, 9:49 am
soap client for apache soap server. April 23, 2007, 6:43 am

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Driving a better car - Fuelzilla.com

Cabling site for homeowners and pros alike - Cabling-Design.com

Friends:

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap
Privacy Policy