Import Schema leads to XPath Problems

Hallo,
When using a bpel process where I have some schema definitions included, I'm not able to access the contents of variables with XPath.
<schema attributeFormDefault="unqualified"
elementFormDefault="qualified"
targetNamespace="http://service.achrist.net/price/"
xmlns="http://www.w3.org/2001/XMLSchema"
xmlns:tns="http://service.achrist.net/price/"
xmlns:md="http://service.achrist.net/masterdata/">
<import schemaLocation="MasterData.xsd" namespace="http://service.achrist.net/masterdata/"/>
<element name="PriceServiceProcessRequest">
<complexType>
<sequence>
<element name="item" type="md:Item"/>
<element name="supplier" type="md:Supplier"/>
</sequence>
</complexType>
</element>
</schema>
The XPath expression in the BPEL process then crosses the two namespaces
/client:PriceServiceProcessRequest/client:supplier/md:Name
When using the expression inside an assign-activity, the bpel-engine claims
"empty variable/expression result."
A workaround for this is to copy paste the xsd types into the same namespace ... but rather ugly ...
What is wrong with the imports ?

Hello,
I found one solution:
Changing the way how elements are created to:
<element name="PriceServiceProcessRequest">
          <complexType>
               <sequence>
                    <element ref="md:ItemElement"/>
<element ref="md:SupplierElement"/>
               </sequence>
          </complexType>
     </element>
... now it works as expected...
André

Similar Messages

  • Bpel: problems importing schema from http-url

    i have problems importing the schema "http://schemas.xmlsoap.org/ws/2003/03/addressing/". I'm using JDeveloper 10.1.3.3.0.4157 and SoaSuite 10.1.3.1.0 with the patch 10.1.3.3.0.
    The problem can be reproduced very easily:
    * create a new "BPEL Process Project" from template "Synchronous BPEL Process" and use all default settings
         -> deploying to my local app-server works
    * add a new variable to the process
         * select "Element" as type
         * click "Browse Elements..."
         * click "Import Schema File..."
         * enter "http://schemas.xmlsoap.org/ws/2003/03/addressing/"
         * select "Imported Schemas/addressing/EndpointReference"
         * finish creating variable
    * save all and deploy
         -> the ant console shows the following error:
    BUILD FAILED
    C:\oracle\JDeveloper\jdev\mywork\TejTest\BPELProcess1\build.xml:79: A problem occured while connecting to server "127.0.0.1" using port "8888": bpel_BPELProcess1_1.0.jar failed to deploy. Exception message is: ORABPEL-05215
    Fehler beim Laden von Prozess.
    Bei der Prozessdomäne sind folgende Fehler beim Laden des Prozesses "BPELProcess1" (Revision "1.0") aufgetreten: BPEL-Validierung nicht erfolgreich.
    Validierung der BPEL-Quelle nicht erfolgreich. Fehler:
    [Fehler ORABPEL-10902]: Kompilierung nicht erfolgreich
    [Beschreibung]: in "bpel.xml", XML-Parsing nicht erfolgreich. Grund "nicht definiertes Teilelement.
    In WSDL-Datei bei "file:/C:/oracle/product/10.1.3.1/OracleAS_1/bpel/domains/default/tmp/.bpel_BPELProcess1_1.0_c64929dfd2dacf95db3c9da081c1797d.tmp/BPELProcess1.wsdl" ist das Teilelement der Nachricht "{http://xmlns.oracle.com/BPELProcess1}BPELProcess1ProcessRequest" in keinem der Schemas definiert.
    Vergewissern Sie sich, dass die Schreibweise des QName-Elements korrekt ist und dass der WSDL-Import vollständig ausgeführt wurde.
    [Mögliche Behebung]: n/v.
    Wenn Sie ein Patch auf dem Server installiert haben, stellen Sie sicher, dass die bpelcClasspath-Domäneneigenschaft die Patch-Klassen enthält.
    at com.collaxa.cube.engine.deployment.CubeProcessHolder.bind(CubeProcessHolder.java:285)
    at com.collaxa.cube.engine.deployment.DeploymentManager.deployProcess(DeploymentManager.java:862)
    at com.collaxa.cube.engine.deployment.DeploymentManager.deploySuitcase(DeploymentManager.java:728)
    at com.collaxa.cube.ejb.impl.BPELDomainManagerBean.deploySuitcase(BPELDomainManagerBean.java:445)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    sorry for the german message, i couldn't get the english version. basically it says that "{http://xmlns.oracle.com/BPELProcess1}BPELProcess1ProcessRequest" is not defined in any schema, what is very strange because before importing the schema from http..., the element ...BPELProcess1ProcessRequest has been found.
    another strange thing is that if i download the schema from http://schemas.xmlsoap.org/ws/2003/03/addressing/ and import it from a local file, everything works as expected.

    When importing a schema there are two attributes to the import element to be aware of: namespace and schemaLocation. I think this is the basis of confusion, particularly where the same value is used for both in this case.
    I suspect that the schema import works for ax90033 because the schemaLocation is being specified as "http://schemas.xmlsoap.org/ws/2003/03/addressing/".
    The W3C has some further information on this at http://www.w3.org/TR/2004/REC-xmlschema-1-20041028/structures.html#element-import which gives an indication of the complexity that lies behind schema imports.
    Peter
    http://soastation.blogspot.com

  • Import of Tables with CLOB problem.

    Hi,
    I am having problems with the import of tables with CLOB columns.
    Tables with CLOB columns will force the use of the tablespace in which it (table) was created originally. It will not be created on the new schema's default tablespace. Is there a way to get around this problem?
    More on this problem can be found here :
    Re: Import error 1647, CLOB fields problem, need help!
    I am using Oracle 9.2.0.6 standard edition, that is why the transportable tablespace option will not work.
    Thanx
    Rob

    Sorry I have posted the wrong link, it should be:
    Re: Import error 1647, CLOB fields problem, need help!
    Regards
    Rob

  • HL7 schema modification error with imported schema namespace

    I have created a variant of one of the out of the box HL7 schemas.  The changes were made to the related Segments schema.  I have a custom namespace identified on both the "master" schema and one on the modified schema which is being
    imported into the "master".  I have verified that the namespace of the imported schema matches the namespace identified in the import statement of the master schema.  However, I am getting the following error and I'm not sure how to proceed.
    There was a failure executing the receive pipeline: "MyProject, MyProject.Pipelines, Version=1.0.0.0, Culture=neutral, PublicKeyToken=318a75bd6cda7207" Source: "BTAHL7 2.X Disassembler" Receive Port: "rp_ReceiveHL7" URI: "10.26.146.39:11001"
    Reason: The namespace attribute 'http://MyProject/2XHL7/MDM/Segments_23' of an import should be the same value as the targetNamespace 'http://microsoft.com/HealthCare/HL7/2X/2.3/Segments' of the imported schema. 

    Indeed, however, the namespace of the import is same as the value of the imported schema, but the namespace of neither schema is http://microsoft.com/HealthCare/HL7/2X/2.3/Segments,
    since I changed it when I made the modification.  That namespace does not exist in my project, nor does it exist locally, so i'm not sure where this error message is trying to lead me.

  • Distributing imported schema in jar file

    I've written a validator using an external xsd schema. The schema contains an import of another schema: I use the classloader to get an InputStream of the main schema and everything works fine as long as the location defined in the import schemaLocation attribute is in the classpath. Now the thing is that I need to distribute the validator and the two schema files in a jar, to be used in a web application context. The jar is in the WEF-INF/lib directory and I have no problems with the main schema (the one I read with getResourceAsStream()), but the schemaLocation attribute of the import element isn't resolved. Is there a way to have things sorted out?
    Thanks in advance.

    DocumentBuilder also has a setEntityResolver() method. The way to find out where the parser is looking for an imported schema is (I think) to implement an EntityResolver and to see what values are being passed to its resolveEntity method. Although in practice I don't know why you care where it is looking. You want to tell it where to look, since it isn't looking where you want, and that's what the EntityResolver is for. (Assuming, as I said earlier, that the EntityResolver is actually called for schemas. But you can find that out as well by implementing one.)

  • HT4489 I cannot import my vCard to iCloud...it shows error.."1 contact could not be imported because there was a problem reading the vCard"

    I cannot import my vCard to iCloud...it shows error.."1 contact could not be imported because there was a problem reading the vCard"

    The vCard must not be a compatible format.  (Unfortunately, there are multiple formats.)
    Often your carrier can transfer contacts between devices from different manufacturers.  Try visiting your carrier's retail outlet and see if they can do this for you.

  • Import schema to a different tablespace

    hi,
    I've exported my instance:
    EXP SYSTEM/MANAGER@OLDINSTANCE FULL=Y FILE=C:\EXP_FILE.DMP LOG=C:\ERROR_EXP.LOG
    after I've created new tablespace and new user:
    CREATE TABLESPACE MAX DATAFILE 'c:\MAX01.dbf' SIZE 3800M REUSE DEFAULT STORAGE
    (INITIAL 10240 NEXT 10240 MINEXTENTS 1 MAXEXTENTS 256 PCTINCREASE 0) ONLINE;
    CREATE USER MAX IDENTIFIED BY MAX DEFAULT TABLESPACE MAX TEMPORARY TABLESPACE TEMP;
    finally I've imported tom's objects in MAX:
    IMP SYSTEM/MANAGER@NEWINSTANCE FROMUSER=TOM TOUSER=MAX FILE=C:\EXP_FILE.DMP LOG=C:\ERROR_IMP.log
    but in some tables I get these errors:
    IMP-00017: following statement failed with ORACLE error 1658:
    "CREATE TABLE "AREA" ("OFL" VARCHAR2(4), "OBL" VARCHAR2(32), "OSITE" V"
    "ARCHAR2(32), "OLS" VARCHAR2(32), "OAREA" NUMBER, "DV_ID" VARCHAR2(32), "DP_"
    "ID" VARCHAR2(32), "ODISMESSO" VARCHAR2(2), "OTYPE" VARCHAR2(64), "OCAT" VAR"
    "CHAR2(64), "OOCCUP" NUMBER, "SFL" VARCHAR2(32), "SBL" VARCHAR2(32), "SSITE""
    " VARCHAR2(32), "PRORATE" VARCHAR2(8), "STYPE" VARCHAR2(64), "SCAT" VARCHAR2"
    "(64), "SAREA" NUMBER, "SOCCUP" NUMBER, "AREA_SERV" NUMBER) PCTFREE 10 PCTU"
    "SED 40 INITRANS 1 MAXTRANS 255 LOGGING STORAGE(INITIAL 314572800 NEXT 52428"
    "800 MINEXTENTS 1 MAXEXTENTS 1000 PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS "
    "1 BUFFER_POOL DEFAULT) TABLESPACE "TOM""
    IMP-00003: ORACLE error 1658 encountered
    ORA-01658: unable to create INITIAL extent for segment in tablespace TOM
    In new instance there are 2 tablespaces (TOM, MAX)
    I tried 2 solution:
    1) I've taken the tablespace TOM offline in the new instance, but when I import fromuser=TOM touser=MAX.............
    I get error because not exist tablespace TOM
    2)I removed MAX's quota on the TOM tablespace in the new instance.
    ALTER USER MAX QUOTA unlimited ON TOM;
    but when I import I get alway the same error:
    ORA-01658: unable to create INITIAL extent for segment in tablespace TOM
    I know That I must encrease tablespace TOM for avoid this error, but I must create 6 new users in 6 different tablespaces and I'd to increase tablespace TOM too much (how many GB?).
    how can I import schema to a different tablespace?
    Thanks
    Raf

    I don't understand why you cannot import TOM's scheme
    to new instance, because you say that you' ve TOM
    tablespace in the database.
    Check size of it, may be you need to increase size or
    you can TOM tablespace set autoextended.
    Also, you can set MAX tablespace is default in new database and set TOM tablespace is readonly.
    Then import cannot create object in TOM tablespace
    and create this in MAX tablespace.
    Best regards, Victor

  • Why can I not import the videos from my iPhone 4 onto my desktop (Windows Vista)? When I plug in it imports the photos without a problem but it doesn't seem to import the videos.

    Why can I not import the videos from my iPhone 4 onto my desktop (Windows Vista)? When I plug in it imports the photos without a problem but it doesn't seem to import the videos.

    1.Download the Flash setup file from here: <br />
    [http://fpdownload.adobe.com/get/flashplayer/current/install_flash_player.exe Adobe Flash - Plugin version]. <br />
    Save it to your Desktop.<br />
    2. Close Firefox using File > Exit <br />
    then check the Task Manager > Processes tab to make sure '''firefox.exe''' is closed, <br />
    {XP: Ctrl+Alt+Del, Vista: Shift+Ctrl+ESC = Processes tab}
    3. Then run the Flash setup file from your Desktop.
    * On Vista and Windows 7 you may need to run the plugin installer as Administrator by starting the installer via the right-click context menu if you do not get an UAC prompt to ask for permission to continue (i.e nothing seems to happen). <br />
    See this: <br />
    [http://vistasupport.mvps.org/run_as_administrator.htm]

  • Import schema doesn't show any link id.

    Hi,
    When i connect http://hostname:50300/strategy/bi/ then choose import schema,after that i cannot see any link ids in the menu.Link ids were already created on application server.Do yo have any suggestion about this situation?
    Regards...

    Hi,
    - If you can't see a Link ID in the dropdown of the BICA Import Schema screen, make sure that PIP is actually connecting properly to PAS.
    - In the SM Administrator you must go to the Manage Models screen and create a Model Connection (BICDEFAULT) to be used by the BICA tool.
    - Stop and start the SAP SM Extended Listener and the SAP SM Listener services. If you are running SM 7.5 with the JPIP version of Interactive Publisher, go to the JPIP Session Monitor from the Tools menu and restart JPIP.
    Hope this helps,
    Miguel

  • Error while import schema in HANA DB

    Hi...
    I am trying to perform an export-import of a HANA DB user instance at schema level including all objects (in my case tables and synonyms) and data.
    Export and Import works very well except importing a schema which contains a synonym referred to other existing schema .
    Here is a test case
    - Schema A with a Table and Schema B to contain a synonym for schema A's table.
    - Exported both schemas to CSV which is done successfully and everything looked ok in export location.
    - Imported Schema A and then Schema B with the following command.
    Command:
    IMPORT "<bkup_schema>"."*" FROM '<bkp_location>' WITH RENAME SCHEMA <bkup_schema> TO <brand_new_schema>;
    The schema A (with table) imported fine.  Schema B (with synonym) gives the below error :
    "SAP DBTech JDBC: [2048]: column store error: table import failed:  [2003] An index already exists with the same name "
    When trying to use "REPLACE" clause in the command the error changes as below:
    SAP DBTech JDBC: [2048]: column store error: table import failed:  [30117] Binary import failed (cannot execute drop statement)
    Has anybody faced this type of error before??

    Folks, I am running into the same issue. What I figure out was the following:
    1) I turn off the autocommit
    2) I run the import for the first time
    import "<SCHEMA_NAME>"."*" as binary from '<location>' with replace;
    rollback;
    3) I get the error as described
    SAP DBTech JDBC: [2048]: column store error: table import failed:  [30117] Binary import failed (cannot execute drop statement)
    4) I run this import once again and commit and surprisingly the error is gone and the import is successful.
    import "<SCHEMA_NAME>"."*" as binary from '<location>' with replace;
    commit;

  • Random Bingads WSDL errors: Parsing WSDL: Couldn't load from...failed to load external entity, Could not connect to host, Parsing Schema: can't import schema from

    Hi,
    I am developing a web tool that accesses client's Bingads accounts via OAUTH2 granting. I am downloading data from clients daily.
    Generally it worked, but for 2 days I am experiencing a weird issue, that in random times (but more and more often though) I receive random error messages from Bing server. I am pasting below a few example from my logs (with timestamp and request/response).
    Must note that I launch these requests from the server where we have the webapp but also I launch it locally. The same is the result.
    The timestamp is in France time (GMT+1).
    Thanks ahead!
    Best regards,
    Steve
    2015-01-14 15:08:05: Service\BingAds::initService => SOAP-ERROR: Parsing Schema: can't import schema from 'https://reporting.api.bingads.microsoft.com/Api/Advertiser/Reporting/V9/ReportingService.svc?xsd=xsd0'
    ---------Soap Request:--------------------------------------------
    <?xml version="1.0" encoding="UTF-8"?>
    <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="https://bingads.microsoft.com/CampaignManagement/v9"><SOAP-ENV:Header><ns1:CustomerAccountId>XXX</ns1:CustomerAccountId><ns1:CustomerId/><ns1:DeveloperToken>XXX</ns1:DeveloperToken><ns1:UserName/><ns1:Password/><ns1:AuthenticationToken>XXX</ns1:AuthenticationToken></SOAP-ENV:Header><SOAP-ENV:Body><ns1:GetDetailedBulkDownloadStatusRequest><ns1:RequestId>108277125</ns1:RequestId></ns1:GetDetailedBulkDownloadStatusRequest></SOAP-ENV:Body></SOAP-ENV:Envelope>
    ---------Response:------------------------------------------------
    <s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/"><s:Header><h:TrackingId xmlns:h="https://bingads.microsoft.com/CampaignManagement/v9">XXXXX</h:TrackingId></s:Header><s:Body><GetDetailedBulkDownloadStatusResponse
    xmlns="https://bingads.microsoft.com/CampaignManagement/v9"><Errors i:nil="true" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"/><ForwardCompatibilityMap xmlns:a="http://schemas.datacontract.org/2004/07/System.Collections.Generic"
    xmlns:i="http://www.w3.org/2001/XMLSchema-instance"/><PercentComplete>100</PercentComplete><RequestStatus>Completed</RequestStatus><ResultFileUrl>https://download.api.bingads.microsoft.com/ReportDownload/Download.aspx?q=XXX</ResultFileUrl></GetDetailedBulkDownloadStatusResponse></s:Body></s:Envelope>
    2015-01-15 05:41:39: Service\BingAds::getCampaigns => SoapFault: Could not connect to host
    ---------Soap Request:--------------------------------------------
    <?xml version="1.0" encoding="UTF-8"?>
    <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="https://bingads.microsoft.com/CampaignManagement/v9"><SOAP-ENV:Header><ns1:CustomerAccountId>XXX</ns1:CustomerAccountId><ns1:CustomerId/><ns1:DeveloperToken>XXX</ns1:DeveloperToken><ns1:UserName/><ns1:Password/><ns1:AuthenticationToken>XXX</ns1:AuthenticationToken></SOAP-ENV:Header><SOAP-ENV:Body><ns1:GetCampaignsByAccountIdRequest><ns1:AccountId>XXX</ns1:AccountId></ns1:GetCampaignsByAccountIdRequest></SOAP-ENV:Body></SOAP-ENV:Envelope>
    ---------Response:------------------------------------------------
    (empty response logged)
    2015-01-15 05:45:00: Service\BingAds::initService => SOAP-ERROR: Parsing WSDL: Couldn't load from 'https://api.bingads.microsoft.com/Api/Advertiser/CampaignManagement/v9/CampaignManagementService.svc?singleWsdl' : failed to load external entity "https://api.bingads.microsoft.com/Api/Advertiser/CampaignManagement/v9/CampaignManagementService.svc?singleWsdl"
    2015-01-15 11:58:46: Service\BingAds::getCampaigns =>
    ---------Soap Fault:--------------------------------------------
    SoapFault catched:
    Could not connect to host
    ---------Soap Request:--------------------------------------------
    <?xml version="1.0" encoding="UTF-8"?>
    <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="https://bingads.microsoft.com/CampaignManagement/v9"><SOAP-ENV:Header><ns1:CustomerAccountId>XXXX</ns1:CustomerAccountId><ns1:CustomerId/><ns1:DeveloperToken>XXXX</ns1:DeveloperToken><ns1:UserName/><ns1:Password/><ns1:AuthenticationToken>XXX</ns1:AuthenticationToken></SOAP-ENV:Header><SOAP-ENV:Body><ns1:GetCampaignsByAccountIdRequest><ns1:AccountId>XXXX</ns1:AccountId></ns1:GetCampaignsByAccountIdRequest></SOAP-ENV:Body></SOAP-ENV:Envelope>
    ---------Response:------------------------------------------------
    (empty response logged)
    2015-01-15 11:59:50: Service\BingAds::initService =>
    ---------Soap Fault:--------------------------------------------
    SoapFault catched:
    SOAP-ERROR: Parsing WSDL: Couldn't load from 'https://api.bingads.microsoft.com/Api/Advertiser/CampaignManagement/v9/CampaignManagementService.svc?singleWsdl' : failed to load external entity "https://api.bingads.microsoft.com/Api/Advertiser/CampaignManagement/v9/CampaignManagementService.svc?singleWsdl"
    ---------Soap Request:--------------------------------------------
    <?xml version="1.0" encoding="UTF-8"?>
    <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="https://bingads.microsoft.com/CampaignManagement/v9"><SOAP-ENV:Header><ns1:CustomerAccountId>XXX</ns1:CustomerAccountId><ns1:CustomerId/><ns1:DeveloperToken>XXXXX</ns1:DeveloperToken><ns1:UserName/><ns1:Password/><ns1:AuthenticationToken>XXXX</ns1:AuthenticationToken></SOAP-ENV:Header><SOAP-ENV:Body><ns1:GetCampaignsByAccountIdRequest><ns1:AccountId>XXX</ns1:AccountId></ns1:GetCampaignsByAccountIdRequest></SOAP-ENV:Body></SOAP-ENV:Envelope>
    ---------Response:------------------------------------------------
    <s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/"><s:Header><h:TrackingId xmlns:h="https://bingads.microsoft.com/CampaignManagement/v9">XXXXX</h:TrackingId></s:Header><s:Body><GetCampaignsByAccountIdResponse
    xmlns="https://bingads.microsoft.com/CampaignManagement/v9"><Campaigns xmlns:i="http://www.w3.org/2001/XMLSchema-instance"></Campaign>........</Campaigns></GetCampaignsByAccountIdResponse></s:Body></s:Envelope>
    2015-01-15 12:05:55: Service\BingAds::getCampaigns =>
    ---------Soap Fault:--------------------------------------------
    SoapFault catched:
    Could not connect to host
    ---------Soap Request:--------------------------------------------
    <?xml version="1.0" encoding="UTF-8"?>
    <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="https://bingads.microsoft.com/CampaignManagement/v9"><SOAP-ENV:Header><ns1:CustomerAccountId>XXXXX</ns1:CustomerAccountId><ns1:CustomerId/><ns1:DeveloperToken>XXXXX</ns1:DeveloperToken><ns1:UserName/><ns1:Password/><ns1:AuthenticationToken>XXXXXX</ns1:AuthenticationToken></SOAP-ENV:Header><SOAP-ENV:Body><ns1:GetCampaignsByAccountIdRequest><ns1:AccountId>XXXXX</ns1:AccountId></ns1:GetCampaignsByAccountIdRequest></SOAP-ENV:Body></SOAP-ENV:Envelope>
    ---------Response:------------------------------------------------
    (empty response logged)

    Hi,
    1. I am using the older version of the PHP library provided by Bing (updated on 1/20/2014), so that is doing the WSDL loadings. I initialize the proxy calling OpticoBingAdsClientProxy providing what it needs, and then do the requests.
    2. I have a cron that reads data from client's accounts. I make several calls, like get search query report, get keyword performance report, get keyword bulk data. As the script progressed the first 2 worked and the third gave error. Or in other cases the
    first request failed. The calls have quite some time in between them since I process data (sometimes even 160 seconds)
    3. I did not change the code ion terms of requests, since as I said I use the PHP library (same credentials, ...).
    As of today (2015-01-16 10:30 GMT + 2) running my script, still have the same issues.
    Thank you!
    Steve

  • Import Schema into new (production) environment in APEX 4.2

    Hello,
    I am having troubles with deploying developed application into new environment. I exported application, schema and workspace and I want to import it all to a new machine. Except schema, I have imported and installed it all successfully. But after I import generated script (DDL) trough SQL Workshop->SQL Scripts I am not able to find created scheme.
    Let me explain my steps in sequence:
    1. I have installed XE 11g Release 2, and APEX 4.2 on the new machine (Win 7).
    2. New (ghost) workspace and schema were created (named as TESTWS, TESTSCH).
    3. After I logged to a new workspace (TESTWS) I completed importing old schema (DEVSCH) -( I have found that the import and install sequence should be - fist Schema, second Workspace (with mapped schema), and then Application)
    4. Finally I have imported old workspace (DEVWS) trough administrator console, and have tried to assign it to old (imported) schema (DEVSCH) but without any success. I was not able to locate imported schema.
    I am not sure if there is a missing step or something I have doing wrongly, so please advise what to do in order to import and recognize/locate/see imported scheme into new APEX environment?
    Thank you in advance,
    BR
    Jasmin

    No.. Once you import an application into HIGHER version of APEX, it is modified to that version.. This is a suggestion, but I would advise having some sort of version control in this case, so you can go back to a prior version easily...
    Thank you,
    Tony Miller
    Ruckersville, VA

  • Error while importing schemas using datapump

    Hi,
    I am trying to import schema from qc to development. after importing i got the following error attached below:
    Processing object type SCHEMA_EXPORT/TABLE/GRANT/WITH_GRANT_OPTION/OBJECT_GRANT
    Processing object type SCHEMA_EXPORT/TABLE/GRANT/CROSS_SCHEMA/OBJECT_GRANT
    Processing object type SCHEMA_EXPORT/TABLE/INDEX/INDEX
    ORA-39065: unexpected master process exception in RECEIVE
    ORA-39078: unable to dequeue message for agent MCP from queue "KUPC$C_2_20090421161917"
    Job "SYS"."uat.210409" stopped due to fatal error at 20:15:13
    ORA-39014: One or more workers have prematurely exited.
    ORA-39029: worker 2 with process name "DW02" prematurely terminated
    ORA-31671: Worker process DW02 had an unhandled exception.
    ORA-39078: unable to dequeue message for agent KUPC$A_2_20090421161934 from queue "KUPC$C_2_20090421161917"
    ORA-06512: at "SYS.KUPW$WORKER", line 1397
    ORA-06512: at line 2
    ORA-39029: worker 3 with process name "DW03" prematurely terminated
    ORA-31671: Worker process DW03 had an unhandled exception.
    ORA-39078: unable to dequeue message for agent KUPC$A_2_20090421162030 from queue "KUPC$C_2_20090421161917"
    ORA-06512: at "SYS.KUPW$WORKER", line 1397
    ORA-06512: at line 2
    ORA-39029: worker 4 with process name "DW04" prematurely terminated
    ORA-31671: Worker process DW04 had an unhandled exception.
    ORA-39078: unable to dequeue message for agent KUPC$A_2_20090421162031 from queue "KUPC$C_2_20090421161917"
    ORA-06512: at "SYS.KUPW$WORKER", line 1397
    ORA-06512: at line 2
    Is my import completed successfully or not??. please help...

    When a datapump job runs, it creates a table called the master table. It has the same name as the job name. This is used to keep track of where all of the information in the dumpfile is located. It is also used when restarting a job. For some reason, this table got dropped. I'm not sure why, but in most cases, datapump jobs are restartable. I don't know why the original message was reported, but I was hoping the job woudl be restartable. You could always just rerun the job. Since the job that failed already created tables and indexes, if you restart the job, all of the objects that are dependent on those objects will not be created by default.
    Let's say you have table tab1 with an index ind1 and both table and index are anaylized. Since tab1 is already created, the datapump job will mark all of the objects dependent on tab1 to skip. This includes the index, table_statistics, and index_statistics. To get around this, you could say
    table_exists_action=replace
    but this will replace all tables that are in the dumpfile. Your other options are:
    table_exists_action=
    truncate -- to truncate the data in the table and then just reload the data, but not the dependent objects
    append -- to append the data from the dumpfile to the existing table, but do not import the dependent objects
    skip -- skip the data and dependent objects from the dumpfile.
    Hope this helps.
    Dean

  • Error Importing Schema on 7.1.04.131 (trying to merge two repo.structure)

    Hello MDM Experts,
    I am trying to merge CUSTOMER and VENDOR repository and getting an error while importing repository schema. We are on MDM 7.1 version 7.1.04.131(SP04 and latest Patch08). when i choose Transport>Import repository schema, "Import Schema VENDOR" screen pops up which gives me an opportunity to accept or reject tables/fields/roles etc...after finished with accept/reject tables/fields when i hit OK system gives me an error saying...
    "Error Importign Schema"
    "One or more of the selected items requires that you select additional items"
    Has any one come across same error while merging two repository structures..? or any suggestions would be appreciated..
    Thanks in Advance
    Rohit

    Hey Rohit,
    This error could come due to several reasons, some of the most common ones can be:
    1. You have defined a Remote System and Port, and assigned a syndication/Import map to it, now if you transport only the Port, you can get the error since the Port has a dependency on Remote system and you should transport both of them together.
    2. You have defined a Main table (or a lookup table) which has a dependency on another lookup table. Now if you transport only the Main table, you will have an error since Main in dependent on Lookup table.
    If it is possible, you can try transporting whole repository , instead of individually picking and choosing objects. This will make sure all the objects are transported. If that is not the case then you need to look at all the objects and make sure its dependent objects are also transported.
    Thanks
    Aamir

  • PAS BI Connector Import Schema Error

    While importing a BW query from though Import Schema, Following error appears
    Error -  'out1.1' is null or not an object
    Line:67
    Char:3
    Error:  'out1.1' is null or not an object
    code:0
    I have deleted all the entries from PAS and tried it again. Still, the same error.

    Hi Bob,
    I am choosing an existing PAS model.
    BW query was attached to this model. I made some changes in variables and dimensions of query, Deleted the query from PAS and tried to import it again. This time the error starts appearing.
    I am exactly at    "PAS/BI Connector - Import Schema"
    I click "Import" and just after the Command Trace executes, the error message "out1.1 is null or not an object" appears above the "Set TIme Consolidation -- Webpage Dialoge". So error happens after Command Trace.
    Details -
    SSM 7.0 SP 8 HF 5
    View Import Trace
    Document BICTRACE_SCHEMA_XXXXXX;EXTERNAL Copied to BICTRC;XXXXXXBICDEFAULT
    SCHEMA
    IMP DIM 'XXXXXXXX' FORCE HIER DEFAULT ... CRC_REPORTING_OBJECT
    All 33 Members of CRC_REPORTING_OBJECT;XXXXXX Selected
    CHECKPOINT UPDATE
    IMP TIME CHARACTERISTIC 'XXXXXXXX' FORCE
    CHECKPOINT UPDATE
    IMP VAR '[Measures].[XXXXXXXXXXXXXXXX]' FORCE ... XXXXXX
    CRE MONTHLY VAR 'XXXXXX' LABEL 'XXXXXX' BY CRC_REPORTING_OBJECT,XXXXXXXX BYTES 8 FROM 'BP1' PREFIX 'XXXXXXXXXXXXXXXX' NOCHECKMATCH SHOWCREATED
    ^
    Expected Dimension
    CHE FRE
    IMP VAR '[Measures].[4DQ1L6UVCFXTH3P3K59AIVT1A]' FORCE ... XXXXXXXX
    CRE MONTHLY VAR XXXXXX' LABEL 'XXXXXXX' BY CRC_REPORTING_OBJECT,XXXXXXXX BYTES 8 FROM 'BP1' PREFIX XXXXXXXXXXXXXXXXX' NOCHECKMATCH SHOWCREATED
    ^
    Expected Dimension
    CHE FRE
    IMP VAR '[Measures].[4H8M7DWMEQGMGW5TGXYQ665DQ]' FORCE ... XXXXXXXX
    CRE MONTHLY VAR XXXXXXXX' LABEL 'XXXXXXXX' BY CRC_REPORTING_OBJECT,XXXXXXXX BYTES 8 FROM 'BP1' PREFIX XXXXXXXXXXXXXXXX' NOCHECKMATCH SHOWCREATED
    ^
    Expected Dimension
    CHE FRE
    IMP SAP VAR FORCE
    CHECKPOINT UPDATE
    END
    OUTPUT LASTDATE
    EXH MON PER LATEST '%D %M %Y'
    30 Apr 2010
    OUTPUT OFF
    OUTPUT IMPORT_SCHEMA_HISTORY APPEND
    ECHO 05 Apr XXXXXXXXXXXXXXXXXXXXXXXX
    05 Apr 2010-XXXXXXXXXXXXXXXXXXXXXXXX
    OUTPUT OFF

Maybe you are looking for

  • Pink colour cast when printing from iphoto

    When I try printing from iPhoto to a Canon MG6150 I get a pink colour cast.  The preview shows correct colour and I'm running out of paper with my attempts to sort it! What has gone wrong as everything else seems fine?

  • No organisational structure maintained for this item

    I am trying to create a shopping cart in SRM 4.0 front end and i keep getting the error no organisational structure maintained for this item. the purchasing group is not being picked up.I will greatly appreciate your help in solving this issue. thank

  • Mail Freezes everytime i open it

    every time i click on the Mail app the window comes up and then its blank and the little colored wheels shows up and it freezes.. i don't even have time to go to preferences i have had to check my e-mail on .MAC forever now?

  • Pdf doesn't display even after reader 8.1 installed

    I have Acrobat 7 installed on my computer long time ago; then I downloaded and installed Acrobat Reader 8.1.2. But my air application still can't display pdf. Is it because the old acrobat 7? I don't want to remove it because I sometimes need to writ

  • Viper remote start on 2014 Jeep JK

    Will any of these two viper remote starts work with a 2014 automatic Jeep wrangler unlimited with manual doors and no alarm?Will I be able to install a viper invisibeam after the remote start is installed?    1. Viper 4115V1D Remote Start System with