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 10.1.3.0.0 to 10.1.3.3.0Information in this document applies to any platform.
Symptoms
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.
.
Changes
Cause
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
Symptoms |
Changes |
Cause |
Solution |
References |