List Info

Thread: : WSDL Types as Nillable




: WSDL Types as Nillable
user name
2007-05-23 11:20:58
Edit report at 
http://pecl.php.net/bugs/bug.php?id=10989&edit=1

 ID:               10989
 Updated by:       mfpphp.net
 Reported By:      michael dot caplan at henryschein dot
com
 Status:           Assigned
 Id:               10989
 Type:             Feature/Change Request
 Package:          SCA_SDO
 Operating System: CentOS 4
 PHP Version:      5.2.1
 Assigned To:      mfp
 New Comment:

I have fixed this in the DUNLIN branch.


Previous Comments:
------------------------------------------------------------
------------

[2007-05-15 12:48:23] mfp at php dot net

I think we are going to agree that nillable should be
signified in the
param or return as follows:

/**

 * Service for managing email contacts

 *

 * service

 * binding.soap

 * types http://example.org/contac
ts contacts.xsd

 *

 */

class ContactService {



    /**

     * Retrieve contact details

     *

     * param string|null $shortname The short name of the
contact

     * return http://example.or
g/contacts#contact|null The full

contact details

     */

    public function retrieve($shortname) {

    }



}

------------------------------------------------------------
------------

[2007-05-09 08:10:33] michael dot caplan at henryschein dot
com

Description:
------------
The WSDL generator defines all simple types as nillable. 
Should that
only be the case when the method prototype allows for a
parameter to be
null?



For reference, see the group discussion thread here:
htt
p://groups.google.com/group/phpsoa/browse_thread/thread/d797
4caae5ea4986/36a69100978196f5#36a69100978196f5

------------------------------------------------------------
------------


-- 
Edit this bug report at 
http://pecl.php.net/bugs/bug.php?id=10989&edit=1


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "phpsoa" group.
To post to this group, send email to phpsoagooglegroups.com
To unsubscribe from this group, send email to
phpsoa-unsubscribegooglegroups.com
For more options, visit this group at http://
groups.google.co.uk/group/phpsoa?hl=en
-~----------~----~----~----~------~----~------~--~---


[1]

about | contact  Other archives ( Real Estate discussion Medical topics )