Forum Discussion

mcmar's avatar
14 years ago

NullPointer exception on WSDL import

When I consume the attached WSDL file I'm getting a NullPointer exception. The error log has this data

Sun Dec 05 23:40:48 VET 2010:ERROR:org.apache.xmlbeans.XmlException: N:\Documents and Settings\mcmar\Desktop\wsdl.xml:0: error: src-resolve: type 'employeesAtomicInput@http://webservicesdev.mycompany.com/payx/EnterpriseEmployeeService_1_0' not found.
org.apache.xmlbeans.XmlException: N:\Documents and Settings\mcmar\Desktop\wsdl.xml:0: error: src-resolve: type 'employeesAtomicInput@http://webservicesdev.mycompany.com/payx/EnterpriseEmployeeService_1_0' not found.
  • SmartBear_Suppo's avatar
    SmartBear_Suppo
    SmartBear Alumni (Retired)
    Hi!

    well, it seems the schema is referring to this type;

    <xs:complexType name="upsertEmployeesAtomicIn">
    <xs:complexContent>
    <xs:extension base="employeesAtomicInput">
    <xs:sequence/>
    </xs:extension>
    </xs:complexContent>
    </xs:complexType>

    but the employeesAtomicInput type itself isn't defined in the schema!?

    regards!

    /Ole
    eviware.com