I have a wsdl with an optional header:
<s:element name="AuthIdentifier" type="tns:AuthIdentifier"/>
<s:complexType name="AuthIdentifier">
<s:sequence>
<s:element minOccurs="0" maxOccurs="1" name="identifier" type="s:string"/>
</s:sequence>
<s:anyAttribute/>
</s:complexType>
The client is using an integration software (tibco)
to connect to my service and claims that the header is required, so he must send it with an empty value:
<Header.AuthIdentifier>
<ns0:AuthIdentifier xmlns:ns0 = "http://www.tal.com/schemas"/>
</Header.AuthIdentifier>
How do I make it optional? So that he won't have to send the whole header at all? Is there a minOccurs
or something like that? Or is it already optional as it is now?