"Global Type declaration duplicated", cached xsd conflicting in jdeveloper?

We're having problems recompiling a project after changing a schema in a second project on which it depends:
Our HR composite app imports a schema from our FaultHandler app. I added 2 new elements to the FaultHandler schema and redeployed to the server - now our HR composite app won't recompile. It errors saying:
[scac] error: in EmpTransformSynch.bpel(87): query "/ns9:HandleFaultRequest/ns9:TimestampeInit" is invalid, because Global Type declaration/definition of name '{http://mydomain.com/SOA/FaultHandler}HandleFaultRequestType' are duplicated at the following locations:
[scac] http://mydomain.com:8001/soa-infra/services/default/FaultHandlerProject/xsd/FaultHandler.xsd [line#: 4]
[scac] http://mydomaincom:8001/soa-infra/services/default/FaultHandlerProject/FaultHandler?XSD=xsd/FaultHandler.xsd [line#: 7]
[scac] There are at least two of them looking different:
[scac] http://mydomain.com:8001/soa-infra/services/default/FaultHandlerProject/xsd/FaultHandler.xsd [difference starting at line#:16]
[scac] http://mydomain.com:8001/soa-infra/services/default/FaultHandlerProject/FaultHandler?XSD=xsd/FaultHandler.xsd [difference starting at line#:19]
I can view the 2 URIs in my browser, and while they differ slightly in how they reference another schema, the schemas (and imported schema) are semantically equivalent.
We've taken the following steps to try to resolve it:
Undeploy the previous revision of Fault handler
Restart soa server
Redepoy Fault Handler
Clean HR app
Make HR app
We have the issue in both jdeveloper 11.1.1.3.0 and 11.1.1.4.0
This is surely something very simple, but it's blockiing us at the moment.
Any help much appreciated.
..Garret
Edited by: user10714498 on 09-Mar-2011 02:27

If your schema contains any characters which will be escaped when parsed by a browser, then version present in the actual .xsd and the version referenced via HTTP server will be different causing the issue.
If you can post the content of your actual schema (as you see it in jDev and not the one opened in the browser) here it will help identifying the issue if any.

Similar Messages

  • Global Type declaration/definition of name duplicated error

    Hi, All,
    We have two EJB exposed as the Webservice , so WS-1 and WS2, When I insert these two WS into the SOA Application to used by BPEL process. I get the compile error from jdev(11.1.1.1.3) like this:
    Global Type declaration/definition of name '{http://mynamespace-here/oracle}SearchParameter' are duplicated at the following locations:
    EJB WS1 xsd line ***
    EJB WS2 xsd line ***
    SearchParameter is bean SearchRequest‘s property, this bean is shared using in two EJB method interfaces.
    Our class design like this:
    @XmlRootElement
    @XmlType(name = "SearchRequest",
    namespace = " http://mynamespace-here/oracle ")
    public class SearchRequest
    implements Serializable
    private SearchInterface searchCriteria;
    @XmlElements(value =
    { @XmlElement(name = "SearchParameter",
    type = SearchParameter.class) })
    public SearchInterface getSearchCriteria()
    return searchCriteria;
    At here SearchInterface is an empty interface and SearchParameter is a class implement this interface.
    I feel @XmlElement in fact cause this duplicated error.
    So in this case, how can we expose this SearchInterface/SearchParameter through the XML properly?
    Thanks .
    wayne
    Edited by: user782942 on Feb 8, 2011 11:37 PM

    If the message type in the external service and the one using in your local are using the same schema, could you check whether the external service has changed the schema in any way? Adding new fields, changing the field name, or changing the namespace? We had faced this issue before, and it was because the schema in our mds is different from the schema from OSB, which they changed it after we get the artifacts and we didn't have the updated schema in our mds.

  • Global Type declaration/definition are duplicated

    Hi,
    I am migrating my components  from Solution accelerator 111150 to 111181. I have modified the names spaces for task and removed the references of workflow.xsd and replaced it with "oramds:///soa/shared/workflow/WorkflowTask.xsd". I am facing the issue of duplicate declaration/ definition
    Error: Global Type declaration/definition of name '{http://xmlns.oracle.com/bpel/workflow/task}systemAttributesType' are duplicated at the following locations:
    oramds:///soa/shared/workflow/WorkflowTask.xsd [line#: 248]
    http://qaipm.atfoods.com:8001/soa-infra/services/default/ReportData//soa/shared/workflow/WorkflowTask.xsd [line#: 238]
    There are at least two of them looking different:
    oramds:///soa/shared/workflow/WorkflowTask.xsd [difference starting at line#:345]
    http://qaipm.atfoods.com:8001/soa-infra/services/default/ReportData//soa/shared/workflow/WorkflowTask.xsd [difference starting at line#:334]
    and below that there are numerous errors. I believe those are due to this first line. where am i going wrong?
    Regards.

    It looks like your local orsmds store and your server's oramds store are out of sync.
    To be sure, check the differences in WorkflowTask.xsd file at the following locations
    Local machine -->  "jdeveloper\integration\seed\soa\shared\workflow"
    URL --> http://qaipm.atfoods.com:8001/soa-infra/services/default/ReportData//soa/shared/workflow/WorkflowTask.xsd
    I am sure there must be a difference at the location mentioned in your original post.
    Regards,
    Vikrant Korde.

  • [svn] 3571: Update SWFLoader ASDoc comment to remove &emdash and data type declaration .

    Revision: 3571
    Author: [email protected]
    Date: 2008-10-10 11:07:09 -0700 (Fri, 10 Oct 2008)
    Log Message:
    Update SWFLoader ASDoc comment to remove &emdash and data type declaration. ASDoc adds that automatically.
    Doc the new types in IndexChangedEvent.as
    Checkin Test Passed: Yes
    QA: No
    Bug:
    Doc: No
    Modified Paths:
    flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/SWFLoader.as
    flex/sdk/trunk/frameworks/projects/framework/src/mx/events/IndexChangedEvent.as

    lunke you shoude change svn update http://svn.foo-projects.org/svn/xfce/modules/trunk to svn up $startdir/src/trunk
    hers a PKGBULID for thunar
    pkgname=thunar
    pkgver=0.0.2.r17470
    pkgdesc="Thunar is a file manager designed for Xfce. It is currently under development."
    url="http://thunar.xfce.org/wiki/"
    depends=('exo-svn')
    makedepends=('subversion')
    source=()
    md5sums=()
    build() {
    if [ ! -d $startdir/src/thunar ]; then
    echo "Fetching sources..."
    svn checkout http://svn.foo-projects.org/svn/xfce/thunar/trunk/ /thunar
    else
    echo "Updating sources..."
    svn up $startdir/src/thunar/
    fi
    cd $startdir/src/thunar
    ./autogen.sh --prefix=/opt/xfce4-svn
    make || return 1
    make DESTDIR=$startdir/pkg install
    find $startdir/pkg -name '*.la' -exec rm {} ;
    you will need exo from svn as well
    pkgname=exo-svn
    pkgver=r17470
    pkgdesc="Extensions to Xfce by os-cillation"
    url="http://libexo.os-cillation.com/"
    conflicts=(exo)
    provides=(exo)
    depends=('xfce4-svn')
    makedepends=('subversion')
    source=()
    md5sums=()
    build() {
    if [ ! -d $startdir/src/trunk ]; then
    echo "Fetching sources..."
    svn checkout http://svn.foo-projects.org/svn/xfce/libexo/trunk/
    else
    echo "Updating sources..."
    svn up $startdir/src/trunk
    fi
    cd $startdir/src/trunk
    ./autogen.sh --prefix=/opt/xfce4-svn
    make || return 1
    make DESTDIR=$startdir/pkg install
    find $startdir/pkg -name '*.la' -exec rm {} ;
    "Operation libtool-slay" compliant

  • Document type declaration for root element type "web-app" must end with ' '

    I am attempting to deploy an application (.war file) using the Sun Access Manager Agent installed, (Reference http://docs.sun.com/app/docs/doc/819-3201/6n5eht3k4?a=view -near the bottom) and I get this error:
    Error loading deployment descriptors for ajacs Line 3 Column 19 -- The document type declaration for root element type "web-app" must end with '>'.
    Here is the relavent code:
    <!DOCTYPE web-app version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
    http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
    <web-app>
    <filter>
    <filter-name>Agent</filter-name>
    <filter-class> com.sun.identity.agents.filter.AmAgentFilter </filter-class>
    </filter>
    <filter-mapping>
    <filter-name>Agent</filter-name>
    <url-pattern>/*</url-pattern>
    <dispatcher>REQUEST</dispatcher>
    <dispatcher>INCLUDE</dispatcher>
    <dispatcher>FORWARD</dispatcher>
    <dispatcher>ERROR</dispatcher>
    </filter-mapping>
    <display-name>AJACS</display-name>
    <welcome-file-list>
    <welcome-file>frameSet.jsp</welcome-file>
    </welcome-file-list>
    etc...
    Now, when I remove the parts that http://docs.sun.com/app/docs/doc/819-3201/6n5eht3k4?a=view said to add, it deploys just like it used to deploy- just fine with no errors. However, I add that code and it breaks.
    Note: The code was a straight copy/paste, so if there is any error in the code, it is because it's written incorrectly on the Sun doc website.
    Any help would be MUCH appreciated. Thanks!

    Well, if that was pasted on one line, it would be:
    xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"
    So it's supposed to be that way. I just tried it with the extra quotes, and no dice...

  • How to use %Type declaration with table residing in a different database

    How can I use the %TYPE declaration if the table is from a different database.
    E.g
    v_business_unit ps_jrnl.header.business_unit%TYPE;
    In the above declaration statement,the table 'ps_jrnl_header' resides in a different database(Database A) from the one I am currently in( Database B).(This is because data needs to be extracted from Database A into Database B).

    1. Create a database link to the other database (this probably already exists since your proc is interacting with that database)
    2. Create a synonym for the table in the other database
    create synonym foo for ps_jrnl.header@database_a;3. Reference the synonym in your variable declaration:
    v_business_unit  foo.business_unit%TYPE;

  • 1.5 How to globally set the System Cache location

    FROM ANOTHER USER ON ANOTHER BOARD:
    This one did not get answered completely.
    ************************* Question:
    Hello,
    I want to deploy JWS on a client PC with Microsoft XP OS. This client have multiple users. JWS put a file deployment.properties in the directory "documents and setting" for the current user.
    How can I create a uniquely file deployment.properties for all users of this client (new and existing profiles) ?
    Create a directory "documents and setting/all users/application data/sun/java/deployment/" with the file deployment.properties don't work.
    Create a directory "documents and setting/default user/application data/sun/java/deployment/" with the file deployment.properties is working but is not good for the existing users. This is good uniquely for new users.
    is there a solution ?
    King regards,
    funchung
    ************************* ANSWER:
    For windows, the system config file is at:
    {Windows Directory}\Sun\Java\Deployment\
    The value of the {Windows Directory} is determined by using the Win32 API GetWindowsDirectory.
    So for example, on XP, the system config file is:
    c:\WINDOWS\Sun\Java\Deployment\deployment.properties
    The settings in this system config file will be used by all users on the system.
    ***************************** HIS REPLY
    I've tried this and it doesn't seem to work.
    I've also tried createing a deployment.config file as per the http://java.sun.com/j2se/1.5.0/docs/guide/deployment/deployment-guide/properties.html article and this doesn't work for me.
    Has anyone done this successfully??
    ******************************** MY REPLY:
    This is true.
    I can get the system install to work if I add the parameter:
    deployment.system.cachedir=C\:\\testcache
    to the deployment.properties file found under:
    C:\Documents and Settings\username\Application Data\Sun\Java\Deployment
    but it will NOT work by adding it to the:
    C:\WINDOWS\Sun\Java\Deployment
    directory. It just creates a new default one in the user's folder.
    What am I doing wrong?
    If there is not a way to globally set the System Cache location, then this isn't much better than the user cache for being able to "install" the software once on the PC and let any user that signs in access that application.
    We had high hopes for this, since this functionality was taken away from us once the java cache started being stored in the user's folders.
    More details:
    I just tried setting the mandatory=true setting and it tells me that it is not allowed to start because it can't find the
    deployment.properties in the same folder (full path is displayed) but I know it is there, because it is the same folder. I even double checked the spelling.
    Maybe there is a bug in the way it finds that properties file, or maybe I need to include something in that file that I didn't find in documentation?
    All it has in it is the one line:
    deployment.system.cachedir=C\:\\testcache
    Can anybody help shed light on this?
    It seems to be a bug that it can't find the deployment.properties file in the 'system' folder.
    -Chris

    I now found more on another thread:
    http://forum.java.sun.com/thread.jspa?messageID=3500778&#3500778
    You can close this one.
    Sorry.

  • SAXParser type declaration not found - PLEASE HELP!!

    I am using XML to parse an incoming string of XML. I want to use an SAXParser to do this, but I cannot create an object of this type. I have the jar file jaxp.jar, xalan.jar, and crimson.jar in my classpath.
    Is there anything else that I need to do in order to get the parser to work.
    This is a very urgent need so any help is appreciated. Here is the error:
    Class SAXParser not found in type declaration;

    I have figured out the issue. Thanks for the help. I do have one more issue though. I am trying to parse a string of xml data and I need to pass my parse() method an InputSource object that I guess I will make from my incoming String.
    Any thoughts on how to do this?

  • Flex SDK 4 : mx.chart package and declaration of style 'direction' conflicts with previous declaration problem

    Hi There,
    We have recently downloaded SDK 4 and had configured the same for
    developement in flex builder 3, we are already using SDK 3.0. However
    to our surprise there were compile time error reported for mx.chart
    related classes. To resolve this we thought to import relevant .swc
    like datavisualization, automation from sdk 3.0, and it worked and
    resolved compile time error. But we landed up in on more problem that
    is 'Declaration of style 'direction' conflicts with previous
    declaration in E:\Softwares\FlexBuilder\sdks\SDK 4\frameworks\libs
    \datavisualization.swc(mx/charts/GridLines)'.
    If you could pleas help us to resolve these issues and also if you
    could answer these queries would be good
    1) SDK 4 has been declared to be open source, then why mx.chart
    package is not part of it?
    2) Why would 'Declaration of style 'direction' conflicts with previous
    declaration' occur?
    3) What are the other component and packages that are not part of open
    source for which license is still required?
    Waiting for reponse in anticipation.
    Thanks,

    I got this same error with the following setup.
    1. Building a SWC with Flex 4.0 Beta2 on FlashBuilder4
    2. SWC references other SWC that are built with Flex3.
    3. Define a <mx:ColumnChart id="column" ...> in a Flex4 skin.
    4. Got this compiler error. 
    Any idea if this is not supposed to work? I'm hoping I don't need all referenced swcs to be recompiled with Flex4 SDK. Some of those are external dependency that I do not have source code access.
    Thanks for any help.
    kam

  • Wildcards in type declarations or only methods?

    Can you declare wildcards in type declarations such as:
    public class ListManager<List<?>> {
    }When I try this, I get the following compiler errror:
    C:\dev\hcj\tiger\src>c:\j2sdk1.5.0\bin\javac -source 1.5 oreilly/hcj/tiger/*.java
    oreilly/hcj/tiger/ListManager.java:21: > expected
    public class ListManager<List<?>> {
                                 ^
    oreilly/hcj/tiger/ListManager.java:31: '{' expected
    ^
    2 errorsWhat am I doing wrong [if anything]?
    TIA
    -- Kraythe

    public class ListManager<List<?>> {
    }When I try this, I get the following compiler errror:Hmm .. I was thinking about this. .. What i was trying to declare was a class that would use as a parameter any declaration of a List. So what I want is a class that will take List<Integer> and List<String> and so on. So the result would be to use it like this:
    public void someMehtod() {
        ListManager<List<String>> strListMger = ...
        ListManager<List<Integer>> strListMger = ...
    }So if not with the wildcard, how is this accoplished (if it can be accomplished at all).
    I would also like to do something like:
    public class ListManager<Type extends List<?>> {
    }In this manner I would at least have access to the type. Except the extends is a misnomer since i want type to be any List<> type.

  • Servicebus: error: sch-props-correct.2: Duplicate global type

    I have a problem creating Split Join on ALSB 3.0. The problem is that the the request message schema of Split join service contains the same type(element) that is defined in request message schema of service that I want to invoke in split join flow.
    It seems that it's inpossible to invoke a service that contains one ore more types that are already defined in request schema of split-join flow. When I build the flow following error comes up:
    "servicebus:/XMLSchema/project/Schemas/types/common/Person error: sch-props-correct.2: Duplicate global type: Person@http://company.com/common/person (Original global type found in file: null)" during type system creation prior to validation led to incomplete validation     project/SplitJoins     SplitJoin.flow     line 1     1208930966845     2118
    So I can't deploy the flow. Is there any workaround? Is this normal or is it a bug?
    Thanks.

    Sounds like a Workshop bug which I have seen before.
    A couple questions to pinpoint it:
    1. Are you use using either a BARE service (no operation name in the reqeust) or 2. are you using imports in your wsdl?
    If 2 then I think there is a patch.
    If 1, then like me, you may be out of luck.

  • ALSB 3.0 split join error: sch-props-correct.2: Duplicate global type

    Hi all,
    I take 'Invoke Service' node to call external service. i'll select the operation required. that time i'm getting the following error:
    "error: sch-props-correct.2: Duplicate global type: GetStateListRequestType@http://www.abcd.com (Original global type found in file: null)" during type system creation prior to validation led to incomplete validation.
    Is it a bug? any patch is available for this?
    Can anybody help if one has an idea on this?
    Thanks in advance,
    Ganesh
    Edited by ganeshgadi at 05/28/2008 6:24 AM
    Edited by ganeshgadi at 05/28/2008 6:25 AM

    Sounds like a Workshop bug which I have seen before.
    A couple questions to pinpoint it:
    1. Are you use using either a BARE service (no operation name in the reqeust) or 2. are you using imports in your wsdl?
    If 2 then I think there is a patch.
    If 1, then like me, you may be out of luck.

  • Adding XML Declaration and Document Type Declaration.

    I'm using Oracle's XML Class Generator C++ version 1.0.2.0.0. I can create classes from a defined external DTD and create my XML document. But the document does not contain the XML Declaration <?xml version='1.0?> nor does it contain the Document Type Declaration <!DOCTYPE root-element-name SYSTEM "system-identifier">. What do I need to do to get these as part of my XML document? Does the class generator have methods to do this? Could someone show me an example?

    If you invoke the print method on the top-level ELEMENT, you get
    just the body of the document with no DTD or XMLDecl. if you invoke
    print on the top level NODE (the DOCUMENT node), then the output
    document will contain the XMLDecl and DTD.
    So please try to print from DOCUMENT node.

  • Source XML data type declaration querry

    Hi all,
    I am very confused in below XML data type declaration.
    I am dealing first time with this type of XML.
    In source XML header items are mentioned in header node(address).
    <address addressline1="6th & Hunt" addressline2="" city="Pryor" state="OK" country="Sun" zip="74361">
    - <phoneinfo>
      <phone type="work">9999999999</phone>
      </phoneinfo>
    - <faxinfo>
      <fax>100000001</fax>
      </faxinfo>
    </address>
    Please Help in the "Data type declaration" of above source XML????
    How can i use this data type in message mapping????
    Thanks & Regards

    Hi Umesh,
    You can use Data types with Attributes in XI.
    http://help.sap.com/saphelp_nw2004s/helpdata/en/3b/d2a3f7a166514abb8cf5635b71974f/frameset.htm
    And you can even try with the External Definition also.
    Hope this helps,
    regards,
    Moorthy

  • Global element declaration/definition of name: Duplicate name spaces

    Hi,
    I have two wsdls provided by a target systems. Both the wsdls are using same name space and few elements descriptions are different.
    Obvisouly i am getting the Global element declaration/definition of name error.
    I have to use the two wsdl with in the same bpel process and invoke them one after the other. My target system is not ready to make changes in thier wsdl to change name space as the product is generating these wsdls for them. All i have to do is in BPEL process only.
    Is there any idea how can we resolve the namespace issue to continue using these wsdl in the same bpel process.
    Only alternative i am seeing is, to have two bpel subprocess for each service and call these bpel processes from my parent bpel process.
    Thanks

    the cause of this error that you have different definition of the same element , so what you need to make sure that the element with the same name have the same definition on those wsdls.

Maybe you are looking for