Skip to content

Optional Fields in WSDL and XSD #12

@luanpereira

Description

@luanpereira

Hi,

Is there a anotation for identified a atribut optional in XSD generated?

Example:

<?php

class logInput
{
    /**
     * @var string
     * @optional true (Something like that)
     */
    public $course;
    ...

Output in the XSD:

...
<xsd:element name="course" type="xsd:string" nillable="true" minOccurs="0"/>
...

nillable="true" minOccurs="0"

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions