Skip to content

Optional Fields in WSDL and XSD #12

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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