tags:

views:

175

answers:

1

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>
A: 
<serialNumber xsi:nil="true" />

See w3.org XML Schema

gbn
Thank you for your answer and fixing my gramar:) But when I use: <message name="SaveSensorboxRequest"> <serialNumber xsi:nil="true" xsd:type="int" /> </message>it dont work and i get errorWSDLException (at /definitions/message[3]/serialNumber): faultCode=INVALID_WSDL: Encountered unexpected 'http://schemas.xmlsoap.org/wsdl/:serialNumber'.where is problem? thank you a lot for your help.
Simon
Did you declare the xsi namespace to http://www.w3.org/2001/XMLSchema-instance? If so could you paste your full wsdl or relevant parts so we can see what the real problem is?
whaley