[wsf-c-dev] Additions to PHP API to support Dynamic client

nandika at wso2.com nandika at wso2.com
Fri Dec 15 02:39:27 PST 2006


>> One more option is added to the options array for dynamic client.
>>
>> "wsdl"=>"wsdl file location"
>>
>> wsdl file location can be a url.
>
> Would that go through the PHP I/O layer?  IIRC, the PHP SOAP extension
> has code that plugs in the PHP I/O layer into libxml2's I/O interface.
>

yes, we are using PHP I/O layer.

>> Then the operations defined in wsdl can be invoked by calling
>> the WSClient with appropriate arguements.
>
> Hmm.  What if the WSDL has an operation whose name clashes with the name
> of one of our methods?  The current PHP SOAP ext SoapClient prefixes all
> its methods with a double underscore, so that it is not likely to
> encounter this problem.  But we don't do that, so I would say that the
> proxy has to be a distinct object.

This seem to be an issue. There are two options available to solve it.
1.  rename our existing methods using underscore.
      ( since there is a requirement for supporting ext/soap extension kind
        of api this is my prefered option)

2.  Introduce a new object for proxy.
      If we go for this option, please suggest an appropriate name.

Thanks
Nandika






More information about the Wsf-c-dev mailing list