My Oracle Support Banner

Unable To use Include Schema in Another Schema Using wsa.jar Tool (Doc ID 406167.1)

Last updated on OCTOBER 07, 2022

Applies to:

Web Services - Version to
Information in this document applies to any platform.


As an example, suppose <user>29Type is defined within <user>.xsd which is being included as a chameleon include by VER_ORG_Vers1_Rls3.xsd.

VER_ORG_Vers1_Rls3.xsd has a target namespace whereas <user>.xsd has no target namespace. Due to the chameleon include effect, when generating jax-rpc classes using genValueTypes option of the web service assembler, wsa is looking for <user>29Type within the target namespace of the  VER_ORG_Vers1_Rls3.xsd schema.

Running the command:

java -jar wsa.jar -genValueTypes -schema VER_ORG_Vers1_Rls3.xsd -output ./TEST

produces the following error:

model error: type "{http://<hostname>/VER_ORG/Vers1/Rls3}<user>29Type" not found.





To view full details, sign in with your My Oracle Support account.

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

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.