Forum Discussion

Reinhard's avatar
New Contributor
6 years ago

No interface in project view

If I import the attached wsdl in soapui a project is generated but without any interface/operation. It should be an interface with 1 operation as intended. This wsdl contains in the schema declaration an import statement to an external schema. The external schema exists. I provided it locally by a running web server.

If I omit the import statement soapui creates the interface and the operation. But I need this line for the target system because of schema validation.

What is the reason for this strange behavior? Does the open source verison doesn't support import statements?

Any helpful comments are welcome.

5 Replies

  • JHunt's avatar
    Community Hero

    Instead of creating a new project from WSDL, can you try creating an empty project and then adding the WSDL? (just to see if this brings any error messages about)


    Then check your soapui.log and error.log. Is there anything relevant?

    • Reinhard's avatar
      New Contributor

      If I follow your advice I get this exception:

       Error loading [http://localhost:81/soap.xsd]: org.apache.xmlbeans.XmlException: org.apache.xmlbeans.XmlException: error: does not close tag


      It relates to the import statement

      <xsd:import namespace="" schemaLocation="http://localhost:81/soap.xsd" />

      But I cannot see what should be wrong. And the xsd file actually exists. I can it load in a web browser and I can import the file in my SOA tool and do further work with it, so the source should be syntactically correct.