Simon
Simon

Reputation: 3285

Soap WSDL with Null

I need to specify a parameter in a function which is nullable. This doesn't work:

<message name="SaveRequest">
    <part name="serialNumber" nillable="true" type="xsd:int"/>
</message>

Upvotes: 4

Views: 4565

Answers (1)

gbn
gbn

Reputation: 432180

<serialNumber xsi:nil="true" />

See w3.org XML Schema

Upvotes: 4

Related Questions