My Oracle Support Banner

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

Last updated on AUGUST 07, 2017

Applies to:

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


As an example, suppose Scots29Type is defined within scots.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 scots.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 Scots29Type 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 "{}Scots29Type" 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.