When compiling a SOA Suite 11g project via ant, the following error is returned:
scac-validate:Solution:
[echo] Running scac-validate in /home/oracle/scripts/deploy/svn/HelloWorld/composite.xml
[echo] oracle.home = /l01/apps/oracle/middleware/Oracle_SOA1/bin/..
[input] skipping input as property compositeDir has already been set.
[input] skipping input as property compositeName has already been set.
[input] skipping input as property revision has already been set.
scac:
[scac] Validating composite "/home/oracle/scripts/deploy/svn/HelloWorld/composite.xml"
[scac] INFO: SchemaManager.isIncrementalBuildSupported XMLSchema incremental build enabled.
[scac]
[scac] XML-24500: (Error) Can not build schema ' ' located at 'urn:oracle:bpel:top-xsd:noNamespaceXSD:TEMP_TOP.__OAUX_GENXSD_.TOP.XSD'
[scac] error: location {/ns:composite/ns:import[@location='http://app-soa11g-dev:8001/soa-infra/services/default/HelloWorld2/hello2.wsdl']}(9,32): Load of wsdl "http://app-soa11g-dev:8001/soa-infra/services/default/HelloWorld2/hello2.wsdl with Message part element undefined in wsdl [http://app-soa11g-dev:8001/soa-infra/services/default/HelloWorld2/hello2.wsdl] part name = QueryIPNWebContractListResponseEBM type = {http://ns.ipnweb.com/IPNWebObjectLibrary/Core/EBO/IPNWebContract/V1}QueryIPNWebContractListResponseEBM" failed
[echo]
[echo] ERROR IN TRYCATCH BLOCK:
[echo] /home/oracle/scripts/deploy/build.soa.xml:114: The following error occurred while executing this line:
[echo] /home/oracle/scripts/deploy/build.soa.xml:129: The following error occurred while executing this line:
[echo] /u01/app/oracle/middleware/Oracle_SOA1/bin/ant-sca-package.xml:46: The following error occurred while executing this line:
[echo] /u01/app/oracle/middleware/Oracle_SOA1/bin/ant-sca-compile.xml:269: Java returned: 1 Check log file : /tmp/out.err for errors
[echo]
There is a schema (i.e., XSD) conflict between this project and another one being referenced.
1. Open up local .xsd files in the project, and ensure that they are identical to the invoked reference service.
*Annotations count as differences.
References:
- http://blog.ipnweb.com/2011/08/xml-24500-can-not-build-schema.html
- http://blog.ipnweb.com/2011/02/xml-24500-can-not-build-schema.html
- http://blog.ipnweb.com/2010/10/xml-24500-error-can-not-build-schema-in.html
1 comment:
I faced the same issue. I got this corrected by changing the reference of RoutingSlipList.xsd file.
My TaskService.xsd file was referring to oramds but RoutingSlipList.xsd was pointing to project reference. So after correcting it as below.
oramds:/soa/shared/workflow/RoutingSlipList.xsd
Regards,
Vikrant Korde.
Post a Comment