Hi,

We are using the Code-first approach for our web services. Now we have
the problem that all arrays of primitive types like int or long are
generated as not nillable (while all arrays of self-defined objects are
nillable).

<xs:element name="getAbyBIds">
    <xs:complexType>
        <xs:sequence>
            <xs:element maxOccurs="unbounded" minOccurs="0" name="bIds"
type="xs:long"/>
        </xs:sequence>
    </xs:complexType>
</xs:element>

vs.

<xs:element name="doSomething">
    <xs:complexType>
        <xs:sequence>            
            <xs:element minOccurs="0" name="calculation" nillable="true"
type="ax24:MyDTO"/>
        </xs:sequence>
    </xs:complexType>
</xs:element>

Is there a ways to change that behaviour to get this result for arrays
of primitive types also?

<xs:element name="getAbyBIds">
    <xs:complexType>
        <xs:sequence>
            <xs:element maxOccurs="unbounded" minOccurs="0"
nillable="true" name="bIds" type="xs:long"/>
        </xs:sequence>
    </xs:complexType>
</xs:element>


Many thanks!

Nora
###########################################
This e-mail and any files transmitted with it are confidential and 
intended solely for the use of the individual or entity to whom they 
are addressed. If you have received this e-mail in error please notify 
the system manager.

Reply via email to