My Oracle Support Banner

The jwsc fails to find schema in jar file for xmlbeans due to "WARNING ! could not get WsdlSchema from xsdPath" (Doc ID 1295763.1)

Last updated on OCTOBER 09, 2020

Applies to:

Oracle WebLogic Server - Version 10.3 and later
Information in this document applies to any platform.


In WebLogic 10.3, when building a webservice using jax-rpc for xmlbeans, the warning messages below are thrown during the build -

[jwsc] <WSEE:1> WARNING ! could not get WsdlSchema from xsdPath 'file_Name__5Fcommon_2FSchemas_2FSchemas/ClaimEntryType.xsd' try qualified xsdPath path 'schemaorg_apache_xmlbeans/src/file_Name__5Fcommon_2FSchemas_2FSchemas/ClaimEntryType.xsd' WARNING ! could not get WsdlSchema from xsdPath 'schemaorg_apache_xmlbeans/src/file_Name__5Fcommon_2FSchemas_2FSchemas/ClaimEntryType.xsd'<XBeanSchemaProcessor.getBeaSchemaDocumentsForXmlBean:285>
[jwsc] <WSEE:1> WARNING ! could not get SchemaDocument for xmlBean ''<XBeanSchemaProcessor.getBeaSchemaDocumentsForXmlBean:293>
[jwsc] [SEVERE] ERROR ! could not add Xml Schema Type for XmlBean named '[]'. This is completely unexpected and might be caused by missing *.xsb and *.xsd files in the build environment. The building and running of this Service is likely to FAIL.

NOTE:  The WebLogic Server names; application package names; WebService schema names; other attributes used in this article represent a fictitious sample names that made up as example. Any similarity to actual code, is purely coincidental and not intended in any other manner.

The schemas are specified in jar files inside jeans.jar, with ant build script as below -




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.