My Oracle Support Banner

XSD is Not Being Validated Using the schemac.bat Utility with Error : SCHEMAC FAILED (Doc ID 462686.1)

Last updated on APRIL 23, 2019

Applies to:

Oracle(R) BPEL Process Manager - Version: 10.1.3.1.0
This problem can occur on any platform.

Symptoms

You have a XSD which needs to be validated in the command prompt using the schema.bat utility present in ORACLE_HOME\bpel\bin path on your local machine.

When, you  run the XSD using the schema.bat utility, the following errors are thrown in the command prompt :

C:\ORACLE_HOME\bpel\bin\schemac.bat BankAccountStatement.xsd
----------------------------------------------------
Oracle XML Schema Processor Version 10.1.3.1.0
http://otn.oracle.com/bpel
Copyright (c) 2002-2004 - Oracle
(Geben Sie "schemac -help" ein, um die Hilfe aufzurufen)
----------------------------------------------------

schemac> parsing schema file 'BankAccountStatements.xsd' ...
schemac> Loaded schema from xsd located at BankAccountStatements.xsd
schemac>WARNING: SCHEMAC-Tool wurde verworfen. Um Java-Klassen aus einem XML-Sch
ema zu erstellen, verwenden Sie einen JAXB-kompatiblen Compiler (z.B. Oracle JAX
B).
schemac> generating XML business document ...
schemac> compiling XML business documents ...
Fehler: Kompilieren von Datei(en) "C:\FINTXS\schemac_1191775710828\src\com\fintx
s\xmlns\BankAccountStatements\BalanceType.java, C:\FINTXS\schemac_1191775710828\
src\com\fintxs\xmlns\BankAccountStatements\BalanceTypeFactory.java, C:\FINTXS\sc
hemac_1191775710828\src\com\fintxs\xmlns\BankAccountStatements\BankAccountStatem
ents.java, C:\FINTXS\schemac_1191775710828\src\com\fintxs\xmlns\BankAccountState
ments\BankAccountStatementsFactory.java, C:\FINTXS\schemac_1191775710828\src\com
\fintxs\xmlns\BankAccountStatements\IBalanceType.java, C:\FINTXS\schemac_1191775
710828\src\com\fintxs\xmlns\BankAccountStatements\IBankAccountStatements.java" n
icht erfolgreich.
Es wurde folgende Exception gemeldet: C:\FINTXS\schemac_1191775710828\src\com\fi
ntxs\xmlns\BankAccountStatements\BankAccountStatements.java:44: Class com.fintxs
.xmlns.BankAccountStatements.IBankAccountStatement not found.
public void addBankAccountStatement(IBankAccountStatement vBankAccountStatem
ent)
^
C:\FINTXS\schemac_1191775710828\src\com\fintxs\xmlns\BankAccountStatements\BankA
ccountStatements.java:47: Class com.fintxs.xmlns.BankAccountStatements.IBankAcco
untStatement not found in void addBankAccountStatement(com.fintxs.xmlns.BankAcco
untStatements.IBankAccountStatement).
super.addChildElement( "BankAccountStatement",null,vBankAccountStatement
);
SCHEMAC FAILED

 


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
  Cause
  Solution

This document is being delivered to you via Oracle Support's Rapid Visibility (RaV) process, and therefore has not been subject to an independent technical review.

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.