Advertisement

07.20.2008 at 07:17PM PDT, ID: 23580777 | Points: 500
[x]
Attachment Details

PHP: Can SOAP methods have optional parameters?

Asked by imaginative in PHP Scripting Language, Web Services Description Language, SOAP

I have a method I'd like to expose in a web service.  The method takes about 5 parameters, all of which are optional in the normal life cycle of the method.  I'm not sure however, if you can specify optional parameters in a web service method using SOAP.

Does anyone know if this is possible?  If so, do you have an example of how you'd go about it with the WSDL and the actual method with a Hello World type example?

Thanks.Start Free Trial
 
 
[+][-]07.21.2008 at 03:45AM PDT, ID: 22049294

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.21.2008 at 07:14AM PDT, ID: 22050655

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628