October 14, 2010

"Failed to open source schema" when migrating ESB 10g project to Mediator 11g


We migrated an ESB 10g project successfully to 11g, and all routing rules were migrated successfully. However, when we tried creating a mapper (i.e., xsl) file, we received the following error through JDeveloper.

Failed to open the source schema:
Duplicated definition for: 'SystemIDType'
Duplicated definition for: 'ActionCodeType'
Duplicated definition for: 'DataEventCodeType'
Duplicated definition for: 'PriceTypeCodeType'

When opening up the mapper file, the left hand side had the following mapping source:

<source type="WSDL">
<schema location="http://namespaceserver/AIAComponents/ApplicationObjectLibrary/MyApp/Address/CreateAddressReqABCSImpl.wsdl"/>
<rootElement name="CreateAddressBookEntry" namespace="http://ns.ipnweb.com/MyApp/AddressService/20090101"/>

The right hand side had the following:

<target type="WSDL">
<schema location="http://soa11gserver:8001/soa-infra/services/EBS/CustomerPartyEBS/CustomerPartyEBS_ep?WSDL"/>
<rootElement name="CreateCustomerPartySyncEBM" namespace="http://xmlns.oracle.com/EnterpriseObjects/Core/EBO/CustomerParty/V2"/>

There was nothing syntactically wrong the XSL file. We kept traversing down the tree, looking for issues with any of our imported WSDLs and XSDs. It turned out that one of the XSDs was missing a rather critical tag.


On of our imported schemas was missing the following tag from the top:
We added the tag, pushed out the schema to our namespace server, and the issue was resolved.
<?xml version="1.0" encoding="utf-8" ?>


  1. Calibre 36 movement as the basis for replica rolex the new series of outstanding members, completely based uk replica watches on the needs of modern life and design. To ensure the best innovation of siliceous gossamer precision, only a barrel can be at four Hz (28800 per hour time of vibration) to provide power reserves for more replica watches uk than 100 hours, to ensure a longer operation time.

  2. Additive manufacturing of food is being developed by squeezing out food, layer by layer, into three-dimensional objects. A massive number of meals are appropriate candidates, similar to chocolate and candy, and flat meals similar to crackers, pasta, and pizza. NASA is trying into the technology to be able to} create 3D printed food to restrict food waste and to make food that's designed to suit an astronaut's dietary wants. The primary differences between processes are in finest way|the method in which} layers are deposited to create parts and in the supplies that are be} used. Each method has its own advantages and disadvantages, which is why some companies provide Sweater for Women a alternative of powder and polymer for the fabric used to construct the item.