Hello, DevNetwork. First time poster here.
I have a question about PHP5 + SOAP. It involves namespacing.
The background: I have created a SoapServer that has a number of registered classes via the setClass method. This will eventually be modular, so the setClass function is called for each file in a directory that will contain classes to be included.
The problem: Some of these libraries will be from third parties. If two of them have a function by the same name, it will not be callable from the SoapClient.
The question: Is there a way to specify the namespace of a function? For instance, being able to do:
$client = SoapClient('file.wsdl');
$client->Namespace->method($params);
Instead of:
$client= SoapClient('file.wsdl');
$client->method($params);
I eagerly await your answer. Thanks in advance...
PHP5 SoapClient Namespacing
Moderator: General Moderators
-
prospermedia
- Forum Newbie
- Posts: 2
- Joined: Fri Feb 20, 2009 10:46 am
-
prospermedia
- Forum Newbie
- Posts: 2
- Joined: Fri Feb 20, 2009 10:46 am
Re: PHP5 SoapClient Namespacing
bump...
Come on - does nobody have an answer? Even a helpful hint?
Come on - does nobody have an answer? Even a helpful hint?