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 "{http://www.dnb.com/VER_ORG/Vers1/Rls3}Scots29Type" not found.



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