Book a Demo

Author Topic: Importing WSDL that contains include of xsd  (Read 2732 times)

RyanM

  • EA Novice
  • *
  • Posts: 8
  • Karma: +0/-0
    • View Profile
Importing WSDL that contains include of xsd
« on: June 12, 2009, 06:39:52 am »
I have a WSDL file which contains some lines like this:
Code: [Select]
<wsdl:types>
      <xsd:schema elementFormDefault="qualified" attributeFormDefault="unqualified" xmlns="urn:api.company.com/ws/1/xsd" targetNamespace="urn:api.company.com/ws/1/xsd">
            <xsd:include schemaLocation="../../../Nouns/Response.xsd"/>
            <!-- Fault -->
            <xsd:include schemaLocation="../../../Nouns/Fault.xsd"/>
      </xsd:schema>
</wsdl:types>

The problem is that when I import this file, it creates a WSDL package with an "<<XSDschema>> Types" package under it, but the Types package does not contain any of the schema items.

If I import the XSDs individually, I get a package for each XSD and I am not sure if the connectors are being setup properly.

Does EA (using 7.5 build 845 trial) support importing WSDLs that contain xsd:include statements for the xml schema in them?

I tried searching and did find that EA does not like relative paths or multiple include files, but it looks like the includes supposedly work if you are using the "Import XML Schema" option.