Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
Description
During SDO import of WSDL, elements of the following complex type are not found when validated against available SDO datatypes within the XSD layer (XSDEcoreBuilder). Downstream this causes an NPE. It could be that the comparison between the type and the key is not properly implemented. See the attached zip containing debug screenshots.
<xs:schema attributeFormDefault="unqualified" elementFormDefault="qualified" targetNamespace="java:com.bea.proto.webservice" xmlns:xs=" http://www.w3.org/2001/XMLSchema">
<xs:complexType name="Patient">
<xs:sequence>
<xs:element minOccurs="1" name="Id" nillable="true" type="xs:int"/>
<xs:element minOccurs="1" name="Dob" nillable="true" type="xs:dateTime"/>
<xs:element minOccurs="1" name="FirstName" nillable="true" type="xs:string"/>
<xs:element minOccurs="1" name="Gender" nillable="true" type="xs:string"/>
<xs:element minOccurs="1" name="LastName" nillable="true" type="xs:string"/>
<xs:element minOccurs="1" name="MiddleName" nillable="true" type="xs:string"/>
<xs:element minOccurs="1" name="Phone" nillable="true" type="xs:string"/>
<xs:element minOccurs="1" name="Ssn" nillable="true" type="xs:string"/>
</xs:sequence>
</xs:complexType>
</xs:schema>