For example I have these complexTypes:
<!-- will be use as a request parameter -->
<complextType name="enrollStudentRequest">
<sequence>
<element name="student" type="Student" />
</sequence>
</complexType>
<!-- will be use as an operation response -->
<complextType name="retrieveStudentsResponse">
<sequence>
<element name="student" type="Student" minOccurs="0" maxOccurs="unbounded" />
</sequence>
</complexType>
<!-- domain model -->
<complexType name="Student">
<sequence name="id" type="long" />
<sequence name="firstName" type="string" />
<sequence name="lastName" type="string" />
</complexType>
The question: How can I enforce so that on "enrollStudentRequest", Student.id is required BUT not required on "retrieveStudentsResponse"? Can I enforce such a restriction on the WSDL?