Duplication of XSD's in OWSM With Error: 'XXXXType' is already defined

(Doc ID 972212.1)

Last updated on MARCH 27, 2015

Applies to:

Oracle Web Services Manager - Version: and later   [Release: AS10gR3 and later ]
Information in this document applies to any platform.


When attempting to generate web services proxy from WSDL URL secured by OWSM10.1.3.4, the following error occurs:

Error while using wsimport tool:
error: 'UNBType' is already defined
line 63 of http://m2b2btest.dubaitrade.ae/gateway/services/SID0003037/N21716673/SID0003037N947906590/OwsmImport.xsd
error: (related to above error) the first definition appears here
line 4 ofhttp://m2b2btest.dubaitrade.ae/gateway/services/SID0003037/N21716673/SID0003037/P2059444629/SID0003037/P91224747/SID0003037/N947906590/OwsmImport.xsd
error: 'UNZType' is already defined
line 93 ofhttp://m2b2btest.dubaitrade.ae/gateway/services/SID0003037/N21716673/SID0003037/N947906590/OwsmImport.xsd
error: (related to above error) the first definition appears here
line 63 ofhttp://m2b2btest.dubaitrade.ae/gateway/services/SID0003037/N21716673/SID0003037/P2059444629/SID0003037/P91224747/SID0003037/N947906590/OwsmImport.xsd


Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms