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 JUNE 09, 2016

Applies to:

Oracle Weblogic Server - Version: 10.3 and later   [Release: 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_3A_2FS_3A_2FCLAIM_2Fets2_5Fcommon_2FSchemas_2FSchemas/ClaimEntryType.xsd' try qualified xsdPath path 'schemaorg_apache_xmlbeans/src/file_3A_2FS_3A_2FCLAIM_2Fets2_5Fcommon_2FSchemas_2FSchemas/ClaimEntryType.xsd' WARNING ! could not get WsdlSchema from xsdPath 'schemaorg_apache_xmlbeans/src/file_3A_2FS_3A_2FCLAIM_2Fets2_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.

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

<target name="build-service">
    <jws file="test/" includeSchemas="./src/test/ClaimEntryType.xsd" />
      <pathelement path="${classpath}"/>
      <pathelement location="C:\build\beans.jar"/>


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