Import a Workflow using an XML file in Tcode SWDD

Hello,
I have a problem in the workflow builder- Tcode SWDD:
I am trying to copy workflow from one system (ECC 5.0) to another one (ECC 6.0) ? I use transaction Workflow-> Import/export->Export to xml files and import the xml files again, but the new workflow is different from the original one. The steps do not have the same numbering and the Workflow graphic is far from being identical to the old one.
Could someone explain me the reason of this problem in detail and how it could be solved? It's really a big workflow and would need to avoid creating it manually.
Thank you very much for your help.
Best regards,
Sylvain

Hello,
The main problem that I had with the steps is that most names were not the same as the old Workflow. Instead of having the correct description I had some coding commands which created a bunch of errors when I tried to perform the syntax check.
I believe you are right. In the new system (ECC 6.0) I do not have the Business Engineering objects like the tasks "TS....". I will create them first and try the Workflow import again after.
I will let you know if it corrected the error or not.
Best regards,
Sylvain

Similar Messages

  • Can I Use a XML file as Managed Resource?

    Hi,
    I have a XML file which has all employee details.
    Can I use that XML file as a Resource in IDM?
    If so please let me know the steps to do.
    Please help me in this regard.
    Thanks
    RMS

    No.
    Since the XML file you have has custom tags, there is not a way for IDM to understand it's contents.
    IDM does offer a "Simulated" resource, which is an XML based resource, but it has a defined structure. You might be able to alter your XML to match what the Simulated Resource expects, or better yet, get it into a database and use the database table adapter.

  • Can you use an XML file to make Subclips for you?

    Hi everyone,
    I know this is a bit of a long-shot, but I am wondering if I can use an XML file(made after logging a few tapes, but before capture) to make subclips for me?
    Basically I have a painful project with 2 tapes i had to capture separately as 1 long individual clip each due to time-code breaks, but as i did first Log & Capture as usual (only to later find it wouldn't batch capture) i didn't want my hard work to go to waste!
    Hope I explained that clearly enough,
    Adam
    Message was edited by: Chocboy

    I'm assuming you captured using the non-controllable device setting and have the clip including TC breaks and blank areas etc.
    Try this:
    Load the clip into the Viewer and play it. Press M to set markers wherever you want them.
    If you want to give the marker a more decriptive name, press M a second time whilst the playhead is positioned on the marker. A dialog will open with text input fields. Or, click the marker in the Browser, then click the marker’s name to select it. You can now change the name.
    Drag in the Browser to select all the markers or click the first one, then shift click the last one.
    Choose Modify > Make Subclip. This will make all the subclips in one go and if you gave your markers new names, your subclips will use them.
    The subclips appear in addition to the original clip with the markers. You can rename the subclips, if you want. You can review the subclips, deleting any clips you might not need. If you do remove unused clips, you can use the Media Manager to remove your unused footage from disk, leaving the media for your remaining subclips alone.

  • ScanNGo - Using localbackup.xml file

    Hi All, Wondering if someone would be able to help us out, we have hundards of CN51's and CN50's through AUS and NZ and have been looking into this ScanNGo barcode system. AUS have successuflly used the .XML file from the localbackup via SOTI Mobicontrol deployment system, but am trying to make it as easy as possible as with SOTI we still need to setup an APN connection before being able to connect to the device, so hence why am looking at the ScanNGo to atleast setup the APN. Searching the forums and I see people have had success in using the ScanNGo creator by using the localback.xml from the SmartSystems folder. Unfortunately this does not seem to work for me, it will scan all 9/9 barcodes from the ScanNGo system but then returns an error "Error reading scanned data into xml" Attached is the localback.xml file from which I can apparently use this file with the ScanNGo barcode creator ? Could someone please correct me if i'm wrong on this. Thanks, Much appreciated.

    Hello AdamD
    first, it is no good idea to apply a full backup xml to a device. You should only change the settings different from factory default. See other posts here about how to create a configuration xml with only changed settings.
    secondly, a backup xml does not contain security data like passwords. So the backup xml does not have the WWAN password(s):
    <Subsystem Name="WWAN Radio">
    <Field Name="ARD Enabled">
    0</Field>
    <Field Name="RadioType">
    2</Field>
    <Field Name="Restore Connection Entry Defaults">
    0</Field>
    <Field Name="Radio Power State">
    1</Field>
    <Field Name="Carrier">
    Worldwide UMTS</Field>
    <Field Name="Carrier Settings Auto Config">
    Enabled</Field>
    <Group Name="Carrier Settings">
    <Field Name="Restore Connection Entry Defaults">
    0</Field>
    <Group Name="Connection Info" Instance="Verizon">
    <Field Name="Connection Name">
    Verizon</Field>
    <Field Name="Phone">
    #777</Field>
    <Field Name="APN"/>
    <Field Name="Username"/>
    <Field Name="Password"/>
    <Field Name="AlwaysOn">
    0</Field>
    </Group>
    <Group Name="Connection Info" Instance="ATT">
    <Field Name="Connection Name">
    ATT</Field>
    <Field Name="Phone"/>
    <Field Name="APN">
    wap.cingular</Field>
    <Field Name="Username"/>
    <Field Name="Password"/>
    <Field Name="AlwaysOn">
    0</Field>
    </Group>
    <Group Name="Connection Info" Instance="Sprint">
    <Field Name="Connection Name">
    Sprint</Field>
    <Field Name="Phone">
    #777</Field>
    <Field Name="APN"/>
    <Field Name="Username"/>
    <Field Name="Password"/>
    <Field Name="AlwaysOn">
    0</Field>
    </Group>
    <Group Name="Connection Info" Instance="Worldwide UMTS">
    <Field Name="Connection Name">
    Worldwide UMTS</Field>
    <Field Name="Phone"/>
    <Field Name="APN">
    Spark</Field>
    <Field Name="Username"/>
    <Field Name="Password"/>
    <Field Name="AlwaysOn">
    1</Field>
    </Group>
    </Group>
    <Group Name="WWAN Information">
    <Field Name="Phone Number">
    Not Available</Field>
    <Field Name="Firmware Revision">
    REVISION 03.001</Field>
    <Field Name="ESN">
    990004190136592</Field>
    <Field Name="IMEI">
    990004190136592</Field>
    <Field Name="IMSI">
    505013475281816</Field>
    <Field Name="Network">
    Telstra Mobile</Field>
    <Field Name="Model">
    PXS8</Field>
    <Field Name="Manufacturer">
    Cinterion</Field>
    </Group>
    </Subsystem>
    As you can see, the "WWAN Information" is nothing to be used for a configiration xml. And you see that there are no passwords.
    AFAIS the only WWAN settings you need to setup the connection is:
    <Group Name="Connection Info" Instance="ATT">
    <Field Name="Connection Name">ATT</Field>
    <Field Name="Phone"/>
    <Field Name="APN">wap.cingular</Field>
    <Field Name="Username"/>
    <Field Name="Password"/>
    <Field Name="AlwaysOn">
    0</Field>
    </Group>
    But keep in mind that you have to maintain the xml structure around this.
    ~josef

  • I have to print two labels using single XML file.Error:Only one top level e

    Hi,
    I have to print two labels using single XML file. But its giving error:
    [Error] Error -1072896683 - Line: 38 Pos: 2 Error: Only one top level element is allowed in an XML document.
    Below is my XMl file:
    <?xml version="1.0" encoding="UTF-8" ?>
    <!DOCTYPE labels SYSTEM "label.dtd">
    <labels FORMAT="lib://FRD/PurchasedDoor.btw"  PRINTERNAME="IBM 6700-R80 (300 dpi)" _QUANTITY="1">
    <label>
    <variable name= "Color">AUTUMN</variable>
    <variable name= "Special_Message_Attribute">MSG*</variable>
    <variable name= "Special_Message">This is special Message Label</variable>
    <variable name= "Model"></variable>
    <variable name= "Build_Date">09-APR-12</variable>
    <variable name= "Assy_Cart"></variable>
    <variable name= "Assy_Slot"></variable>
    <variable name= "Finish_Cart"></variable>
    <variable name= "Finish_Slot"></variable>
    <variable name= "Serial_Number">1945.1.1.2-1</variable>
    <variable name= "Serial_Number_Barcode">1945.1.1.2-1</variable>
    <variable name= "Specie">BIRCH</variable>
    <variable name= "Truck_Group"></variable>
    <variable name= "Label_Sequence_No">1</variable>
    <variable name= "WIP_Cart"></variable>
    <variable name= "WIP_Slot"></variable>
    <variable name= "Cabinet_Sequence_No">110</variable>
    <variable name= "JC"></variable>
    <variable name= "Thickness"> </variable>
    <variable name= "Width"> </variable>
    <variable name= "Length"> </variable>
    <variable name= "Overlay"></variable>
    <variable name= "Options">B30</variable>
    <variable name= "Profile_No"></variable>
    <variable name= "Door_Style">NEWBERRY</variable>
    <variable name= "Glaze"></variable>
    <variable name= "Shape"></variable>
    <variable name= "Glass"></variable>
    <variable name= "Hinge_Side"></variable>
    <variable name= "Hinge_Type"></variable>
    <variable name= "EGE"></variable>
    </label>
    <labels FORMAT="lib://FRD/SpecialMessage.btw"  PRINTERNAME="IBM 6700-R80 (300 dpi)" _QUANTITY="1">
    <label>
    <variable name= "Serial_Number">1945.1.1.2-1</variable>
    <variable name= "Special_Message">This is special Message Label</variable>
    <variable name= "Cabinet_Sequence_No">110</variable>
    </label>
    </labels>
    Please suggest.

    >
    XML can only have one root element per file.
    >
    from XML Document: The Root Element

  • OIM server crashes while Importing OIM AD connector config XML files

    while installing OIM connector for Microsoft Active directory on the 2nd step of installation "Import of Connector XML Files (Using Deployment Manager)" Installation fails and OIM server crashes... my OIM server version is 11.1.1.3.0 and Connector is ActiveDirectory 9.1.1.5.0
    Here is oim_server1-diagnostic log file
    [2012-01-10T17:23:10.450+05:00] [oim_server1] [ERROR] [] [XELLERATE.ADAPTERS] [tid: [ACTIVE].ExecuteThread: '8' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: XELSYSADM] [ecid: 0000JJ7ZjsLFW7WFLz3V8A1F31xJ00006f,0] [APP: oim#11.1.1.3.0] [dcid: 80666d38c1d0770e:-122ffcd8:134c75e0aa6:-7ffd-00000000000001e9] Class/Method: tcAdpUtils/compileAdapter encounter some problems: Could not compile adapter : adpADCSMOVEGROUP
    [2012-01-10T17:23:10.465+05:00] [oim_server1] [ERROR] [] [XELLERATE.ADAPTERS] [tid: [ACTIVE].ExecuteThread: '8' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: XELSYSADM] [ecid: 0000JJ7ZjsLFW7WFLz3V8A1F31xJ00006f,0] [APP: oim#11.1.1.3.0] [dcid: 80666d38c1d0770e:-122ffcd8:134c75e0aa6:-7ffd-00000000000001e9] Class/Method: tcAdpUtils/compileAdapter encounter some problems: Compile failed on Tue Jan 10 17:23:10 UZT 2012[[
    error: Exception thrown while constructing Processor object: null
    ----------------SOURCE FILE
    1: /* Copyright (c) 2001 - 2007, Oracle Corporation. All rights reserved.
    2: */
    3: package com.thortech.xl.adapterGlue.ScheduleItemEvents;
    4: import com.thortech.xl.dataobj.*;
    5: //import com.thortech.xl.adapterGlue.*;
    6: //import com.thortech.xl.dataobj.tcDataSet;
    7: import java.io.IOException;
    8: import java.util.*;
    9: import java.io.FileWriter;
    10: import java.io.File;
    11: import java.sql.Timestamp;
    12: import java.text.DateFormat;
    13: import com.thortech.xl.dataobj.util.tcAdapterTaskException;
    14: import com.thortech.xl.dataobj.util.*;
    15: import com.thortech.xl.dataobj.util.tcJarEntryClassLoader;
    16: import com.thortech.xl.remotemanager.*;
    17: import java.rmi.*;
    18: import java.net.URL;
    19: import java.lang.reflect.Constructor;
    20: import java.lang.reflect.Method;
    21: import java.lang.reflect.Modifier;
    22: import java.lang.reflect.InvocationTargetException;
    23: import java.lang.reflect.Field;
    24: import java.net.*;
    25:
    26: public class adpADCSMOVEGROUP extends com.thortech.xl.adapterfactory.events.tcAdpEvent {
    27: public adpADCSMOVEGROUP() {
    28: super();
    29: setEventName("ADCS Move Group");
    30: }
    31:
    32: Hashtable ihTaskRetVals = new Hashtable();
    33:
    34: // Adapter Variables
    35: String OrgName; // Organization Name
    36: String sConfigurationLookUp; // ADParameterLookUp
    37: long ADServer; // AD Server
    38: String ObjectGUID; // ObjectGUID
    39:
    40: //Persistant Objects
    41: Object ADconsObj;
    42: Class clsAD;
    43:
    44: //Variables needed for class loader
    45: String sURL;
    46: URL url1;
    47: URL[] aURL;
    48: ClassLoader moURLClassLoader;
    49: Class moTargetClass;
    50: Object[] maoConstructorArgs;
    51: Class[] masConParamTypes;
    52: Constructor moCons;
    53:
    54: protected void implementation() throws Exception {
    55:
    56: try {
    57:
    58: if (! initAdapter("ADCS Move Group"))
    59: return;
    60:
    61: // Run Time Variables
    62: OrgName = getRunTimeValue("OrgName").toString();
    63: sConfigurationLookUp = getRunTimeValue("sConfigurationLookUp").toString();
    64: ADServer = ((Long)getRunTimeValue("ADServer")).longValue();
    65: ObjectGUID = getRunTimeValue("ObjectGUID").toString();
    66:
    67: //Initialize persistant object "AD"
    68: clsAD = Class.forName("com.thortech.xl.integration.ActiveDirectory.tcUtilADTasks");
    69: maoConstructorArgs = new Object[]{getITAttrVal(ADServer, "Server Address"), getITAttrVal(ADServer, "Root Context"), getITAttrVal(ADServer, "Admin FQDN"), getITAttrVal(ADServer, "Admin Password"), getITAttrVal(ADServer, "Use SSL"), getITAttrVal(ADServer, "Port Number"), getITAttrVal(ADServer, "Invert Display Name"), "yes", sConfigurationLookUp, getDataBase()};
    70: masConParamTypes = new Class[]{String.class, String.class, String.class, String.class, String.class, String.class, String.class, String.class, String.class, Class.forName("com.thortech.xl.dataaccess.tcDataProvider")};
    71: moCons = clsAD.getConstructor(masConParamTypes);
    72: ADconsObj = moCons.newInstance(maoConstructorArgs);
    73:
    74:
    75: // Execute Tasks and store results in Hashtable...
    76:
    77: ihTaskRetVals.put("MOVEGROUP", MOVEGROUP());
    78: // Output mapping for Task MOVEGROUP
    79: setAdpRetVal(ihTaskRetVals.get("MOVEGROUP"), "String");
    80:
    81:
    82: finalizeAdapter();
    83:
    84: } catch (tcAdapterTaskException e) {
    85: e.printStackTrace();
    86: updateSchItem("R", e.getMessage(), e.getReason());
    87: return;
    88: } catch (Exception e) {
    89: e.printStackTrace();
    90: updateSchItem("R", e.getMessage(), getReason("", e));
    91: return;
    92: }
    93:
    94: }
    95:
    96: // *** Move Group ***
    97: private Object MOVEGROUP() throws Exception {
    98: Object oRetVal = "";
    99:
    100: Object objCons;
    101: String sTaskName = "Move Group";
    102: try {
    103:
    104: System.out.println("Running Move Group");
    105:
    106: //This method uses persistent object "AD"
    107:
    108: // Initialize method
    109: Class[] moMethodParmTypes = new Class[] {String.class, String.class, Class.forName("com.thortech.xl.dataaccess.tcDataProvider")};
    110: Object[] moMethodParams = new Object[] {OrgName, ObjectGUID, getDataBase()};
    111: Method moMethod = clsAD.getMethod("moveGroup", moMethodParmTypes);
    112:
    113: // Check for static method
    114: if (Modifier.isStatic(moMethod.getModifiers()))
    115: ADconsObj = null;
    116:
    117: // Invoke method
    118: oRetVal = moMethod.invoke(ADconsObj, moMethodParams);
    119:
    120: } catch (Exception e) {
    121: e.printStackTrace();
    122: if (e instanceof InvocationTargetException) {
    123: Throwable t = ((InvocationTargetException)e).getTargetException();
    124: throw new tcAdapterTaskException("adpADCSMOVEGROUP", "Move Group", t.getMessage(), "", "");
    125: } else {
    126: throw new tcAdapterTaskException("adpADCSMOVEGROUP", "Move Group", e.getMessage(), "", "");
    127: }
    128: }
    129: return returnVal(oRetVal);
    130: }
    131: }
    ----------------COMMAND LINE javac -classpath C:\Oracle\MIDDLE~1\WLSERV~1.3\server\ext\jdbc\oracle\11g\ojdbc6dms.jar;C:\Oracle\Middleware\Oracle_SOA1\soa\modules\user-patch.jar;C:\Oracle\Middleware\Oracle_SOA1\soa\modules\soa-startup.jar;;C:\Oracle\MIDDLE~1\patch_wls1033\profiles\default\sys_manifest_classpath\weblogic_patch.jar;C:\Oracle\MIDDLE~1\patch_oepe1033\profiles\default\sys_manifest_classpath\weblogic_patch.jar;C:\Oracle\MIDDLE~1\patch_ocp353\profiles\default\sys_manifest_classpath\weblogic_patch.jar;C:\Oracle\MIDDLE~1\JDK160~1\lib\tools.jar;C:\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\weblogic_sp.jar;C:\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\weblogic.jar;C:\Oracle\MIDDLE~1\modules\features\weblogic.server.modules_10.3.3.0.jar;C:\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\webservices.jar;C:\Oracle\MIDDLE~1\modules\ORGAPA~1.1/lib/ant-all.jar;C:\Oracle\MIDDLE~1\modules\NETSFA~1.0_1/lib/ant-contrib.jar;C:\Oracle\Middleware\Oracle_SOA1\soa\modules\oracle.soa.common.adapters_11.1.1\oracle.soa.common.adapters.jar;C:\Oracle\MIDDLE~1\ORACLE~1\soa\modules\commons-cli-1.1.jar;C:\Oracle\MIDDLE~1\ORACLE~1\soa\modules\oracle.soa.mgmt_11.1.1\soa-infra-mgmt.jar;C:\Oracle\Middleware\Oracle_IDM1\oam\agent\modules\oracle.oam.wlsagent_11.1.1\oam-wlsagent.jar;C:\Oracle\MIDDLE~1\ORACLE~1\modules\oracle.xdk_11.1.0\xsu12.jar;C:\Oracle\MIDDLE~1\modules\features\weblogic.server.modules.xquery_10.3.1.0.jar;C:\Oracle\Middleware\Oracle_SOA1\soa\modules\db2jcc4.jar;C:\Oracle\MIDDLE~1\USER_P~1\domains\BASE_D~1\config\soa-infra;C:\Oracle\Middleware\Oracle_SOA1\soa\modules\fabric-url-handler_11.1.1.jar;C:\Oracle\Middleware\Oracle_SOA1\soa\modules\quartz-all-1.6.5.jar;C:\Oracle\Middleware\Oracle_SOA1\soa\modules\oracle.soa.fabric_11.1.1\oracle.soa.fabric.jar;C:\Oracle\Middleware\Oracle_SOA1\soa\modules\oracle.soa.adapter_11.1.1\oracle.soa.adapter.jar;C:\Oracle\Middleware\Oracle_SOA1\soa\modules\oracle.soa.b2b_11.1.1\oracle.soa.b2b.jar;C:\Oracle\Middleware\Oracle_IDM1\server\lib\oim-manifest.jar;C:\Oracle\MIDDLE~1\ORACLE~1\modules\oracle.jrf_11.1.1\jrf.jar;C:\Oracle\MIDDLE~1\WLSERV~1.3\common\derby\lib\derbyclient.jar;C:\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\xqrl.jar;C:\Oracle\Middleware\Oracle_IDM1\server\apps\oim.ear\APP-INF\lib\iam-platform-async.jar;C:\Oracle\Middleware\Oracle_IDM1\server\apps\oim.ear\APP-INF\lib\iam-platform-auth-client.jar;C:\Oracle\Middleware\Oracle_IDM1\server\apps\oim.ear\APP-INF\lib\iam-platform-auth-server.jar;C:\Oracle\Middleware\Oracle_IDM1\server\apps\oim.ear\APP-INF\lib\iam-platform-authz-service.jar;C:\Oracle\Middleware\Oracle_IDM1\server\apps\oim.ear\APP-INF\lib\iam-platform-configmbeans.jar;C:\Oracle\Middleware\Oracle_IDM1\server\apps\oim.ear\APP-INF\lib\iam-platform-context.jar;C:\Oracle\Middleware\Oracle_IDM1\server\apps\oim.ear\APP-INF\lib\iam-platform-entitymgr.jar;C:\Oracle\Middleware\Oracle_IDM1\server\apps\oim.ear\APP-INF\lib\iam-platform-kernel.jar;C:\Oracle\Middleware\Oracle_IDM1\server\apps\oim.ear\APP-INF\lib\iam-platform-pluginframework.jar;C:\Oracle\Middleware\Oracle_IDM1\server\apps\oim.ear\APP-INF\lib\iam-platform-utils.jar;C:\Oracle\Middleware\Oracle_IDM1\server\apps\oim.ear\APP-INF\lib\iam-platform-workflowservice.jar;C:\Oracle\Middleware\Oracle_IDM1\server\apps\oim.ear\APP-INF\lib\iam-toplinksession.jar;C:\Oracle\Middleware\Oracle_IDM1\server\apps\oim.ear\APP-INF\lib\xlAdapterUtilities.jar;C:\Oracle\Middleware\Oracle_IDM1\server\apps\oim.ear\APP-INF\lib\xlAPI.jar;C:\Oracle\Middleware\Oracle_IDM1\server\apps\oim.ear\APP-INF\lib\xlAttestation.jar;C:\Oracle\Middleware\Oracle_IDM1\server\apps\oim.ear\APP-INF\lib\xlAuditor.jar;C:\Oracle\Middleware\Oracle_IDM1\server\apps\oim.ear\APP-INF\lib\xlAuthentication.jar;C:\Oracle\Middleware\Oracle_IDM1\server\apps\oim.ear\APP-INF\lib\xlBackOfficeBeans.jar;C:\Oracle\Middleware\Oracle_IDM1\server\apps\oim.ear\APP-INF\lib\xlBackofficeClient.jar;C:\Oracle\Middleware\Oracle_IDM1\server\apps\oim.ear\APP-INF\lib\xlCache.jar;C:\Oracle\Middleware\Oracle_IDM1\server\apps\oim.ear\APP-INF\lib\xlCrypto.jar;C:\Oracle\Middleware\Oracle_IDM1\server\apps\oim.ear\APP-INF\lib\xlDataObjectBeans.jar;C:\Oracle\Middleware\Oracle_IDM1\server\apps\oim.ear\APP-INF\lib\xlDataObjects.jar;C:\Oracle\Middleware\Oracle_IDM1\server\apps\oim.ear\APP-INF\lib\xlDDM.jar;C:\Oracle\Middleware\Oracle_IDM1\server\apps\oim.ear\APP-INF\lib\xlGenConnector.jar;C:\Oracle\Middleware\Oracle_IDM1\server\apps\oim.ear\APP-INF\lib\xliGCProviders.jar;C:\Oracle\Middleware\Oracle_IDM1\server\apps\oim.ear\APP-INF\lib\xlInputPreprocessor.jar;C:\Oracle\Middleware\Oracle_IDM1\server\apps\oim.ear\APP-INF\lib\xlLogger.jar;C:\Oracle\Middleware\Oracle_IDM1\server\apps\oim.ear\APP-INF\lib\xlRemoteManager.jar;C:\Oracle\Middleware\Oracle_IDM1\server\apps\oim.ear\APP-INF\lib\xlRequestPreview.jar;C:\Oracle\Middleware\Oracle_IDM1\server\apps\oim.ear\APP-INF\lib\xlScheduler.jar;C:\Oracle\Middleware\Oracle_IDM1\server\apps\oim.ear\APP-INF\lib\xlUtils.jar;C:\Oracle\Middleware\Oracle_IDM1\server\apps\oim.ear\APP-INF\lib\xlVO.jar -d C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\1\\oracle\oim\adapters C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\1\\oracle\oim\adapters\adpADCSMOVEGROUP.java
    [2012-01-10T17:23:14.075+05:00] [oim_server1] [NOTIFICATION] [] [oracle.iam.configservice.impl] [tid: [ACTIVE].ExecuteThread: '8' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: XELSYSADM] [ecid: 0000JJ7ZjsLFW7WFLz3V8A1F31xJ00006f,0] [APP: oim#11.1.1.3.0] [dcid: 80666d38c1d0770e:-122ffcd8:134c75e0aa6:-7ffd-00000000000001e9] Inside PostImport method of UserManagementPostImportForDm
    [2012-01-10T17:23:14.450+05:00] [oim_server1] [ERROR] [] [oracle.iam.configservice.impl] [tid: [ACTIVE].ExecuteThread: '8' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: XELSYSADM] [ecid: 0000JJ7ZjsLFW7WFLz3V8A1F31xJ00006f,0] [APP: oim#11.1.1.3.0] [dcid: 80666d38c1d0770e:-122ffcd8:134c75e0aa6:-7ffd-00000000000001e9] The attribute ObjectGUID does not exist!
    [2012-01-10T17:23:15.075+05:00] [oim_server1] [NOTIFICATION] [IAM-0080013] [oracle.iam.platform.kernel.impl] [tid: [ACTIVE].ExecuteThread: '8' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: XELSYSADM] [ecid: 0000JJ7ZjsLFW7WFLz3V8A1F31xJ00006f,0] [APP: oim#11.1.1.3.0] [dcid: 80666d38c1d0770e:-122ffcd8:134c75e0aa6:-7ffd-00000000000001e9] [arg: 30] [arg: 0] [arg: oracle.iam.platform.entitymgr.vo.EntityMetadata] [arg: MODIFY] Kernel executing default validation with process id, event id, entity and operation 30.0.oracle.iam.platform.entitymgr.vo.EntityMetadata.MODIFY
    [2012-01-10T17:23:15.090+05:00] [oim_server1] [NOTIFICATION] [IAM-0080014] [oracle.iam.platform.kernel.impl] [tid: [ACTIVE].ExecuteThread: '8' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: XELSYSADM] [ecid: 0000JJ7ZjsLFW7WFLz3V8A1F31xJ00006f,0] [APP: oim#11.1.1.3.0] [dcid: 80666d38c1d0770e:-122ffcd8:134c75e0aa6:-7ffd-00000000000001e9] [arg: 30] [arg: 30] [arg: oracle.iam.platform.entitymgr.vo.EntityMetadata] [arg: MODIFY] [arg: /file/User.xml] Kernel executing default action handler with process id, event id, entity and operation 30.30.oracle.iam.platform.entitymgr.vo.EntityMetadata.MODIFY.entityId=/file/User.xml

    There are different log handlers and loggers with different properties what are XELLRATE.DDM's properties
    here is the logging.xml file
    <?xml version="1.0" encoding="UTF-8"?>
    <logging_configuration>
    <log_handlers>
    <log_handler name='console-handler' class='oracle.core.ojdl.logging.ConsoleHandler' formatter='oracle.core.ojdl.weblogic.ConsoleFormatter' level='WARNING:32'/>
    <log_handler name='odl-handler' class='oracle.core.ojdl.logging.ODLHandlerFactory' filter='oracle.dfw.incident.IncidentDetectionLogFilter'>
    <property name='path' value='${domain.home}/servers/${weblogic.Name}/logs/${weblogic.Name}-diagnostic.log'/>
    <property name='maxFileSize' value='10485760'/>
    <property name='maxLogSize' value='104857600'/>
    <property name='encoding' value='UTF-8'/>
    <property name='useThreadName' value='true'/>
    <property name='supplementalAttributes' value='J2EE_APP.name,J2EE_MODULE.name,WEBSERVICE.name,WEBSERVICE_PORT.name,composite_instance_id,component_instance_id,composite_name,component_name'/>
    </log_handler>
    <log_handler name='wls-domain' class='oracle.core.ojdl.weblogic.DomainLogHandler' level="WARNING"/>
    <log_handler name='owsm-message-handler' class='oracle.core.ojdl.logging.ODLHandlerFactory'>
    <property name='path' value='${domain.home}/servers/${weblogic.Name}/logs/owsm/msglogging'/>
    <property name='maxFileSize' value='10485760'/>
    <property name='maxLogSize' value='104857600'/>
    <property name='encoding' value='UTF-8'/>
    <property name='supplementalAttributes' value='J2EE_APP.name,J2EE_MODULE.name,WEBSERVICE.name,WEBSERVICE_PORT.name'/>
    </log_handler>
    <log_handler name='em-log-handler' level='NOTIFICATION:32' class='oracle.core.ojdl.logging.ODLHandlerFactory' filter='oracle.dfw.incident.IncidentDetectionLogFilter'>
    <property name='path' value='${domain.home}/servers/${weblogic.Name}/sysman/log/emoms.log'/>
    <property name='format' value='ODL-Text'/>
    <property name='useThreadName' value='true'/>
    <property name='maxFileSize' value='5242880'/>
    <property name='maxLogSize' value='52428800'/>
    <property name='encoding' value='UTF-8'/>
    </log_handler>
    <log_handler name='em-trc-handler' level='TRACE:32' class='oracle.core.ojdl.logging.ODLHandlerFactory'>
    <property name='logreader:' value='off'/>
    <property name='path' value='${domain.home}/servers/${weblogic.Name}/sysman/log/emoms.trc'/>
    <property name='format' value='ODL-Text'/>
    <property name='useThreadName' value='true'/>
    <property name='locale' value='en'/>
    <property name='maxFileSize' value='5242880'/>
    <property name='maxLogSize' value='52428800'/>
    <property name='encoding' value='UTF-8'/>
    </log_handler>
    </log_handlers>
    <loggers>
    <logger name="" level="WARNING:1">
    <handler name="odl-handler"/>
    <handler name="wls-domain"/>
    <handler name="console-handler"/>
    </logger>
    <logger name="oracle" level="NOTIFICATION:1"/>
    <logger name="oracle.adf"/>
    <logger name="oracle.adf.desktopintegration"/>
    <logger name="oracle.adf.faces"/>
    <logger name="oracle.adf.controller"/>
    <logger name="oracle.adfinternal"/>
    <logger name="oracle.adfinternal.controller"/>
    <logger name="oracle.jbo"/>
    <logger name="oracle.adfdt"/>
    <logger name="oracle.adfdtinternal"/>
    <logger name="oracle.bam"/>
    <logger name="oracle.bam.common"/>
    <logger name="oracle.bam.system"/>
    <logger name="oracle.bam.middleware"/>
    <logger name="oracle.bam.adc.security"/>
    <logger name="oracle.bam.common.security"/>
    <logger name="oracle.bam.adc.ejb.BamAdcServerBean"/>
    <logger name="oracle.bam.reportcache.ejb.ReportCacheServerBean"/>
    <logger name="oracle.bam.eventengine.ejb.EventEngineServerBean"/>
    <logger name="oracle.bam.ems.ejb.EMSServerBean"/>
    <logger name="oracle.bam.adc.api"/>
    <logger name="oracle.bam.adc"/>
    <logger name="oracle.bam.eventengine"/>
    <logger name="oracle.bam.ems"/>
    <logger name="oracle.bam.webservices"/>
    <logger name="oracle.bam.web"/>
    <logger name="oracle.bam.reportcache"/>
    <logger name="oracle.bpm"/>
    <logger name="oracle.bpm.analytics"/>
    <logger name="oracle.integration"/>
    <logger name="oracle.integration.platform.blocks.cluster"/>
    <logger name="oracle.integration.platform.blocks.deploy.coordinator"/>
    <logger name="oracle.integration.platform.blocks.event.saq"/>
    <logger name="oracle.integration.platform.blocks.java"/>
    <logger name="oracle.integration.platform.faultpolicy"/>
    <logger name="oracle.integration.platform.testfwk"/>
    <logger name="oracle.soa"/>
    <logger name="oracle.soa.adapter"/>
    <logger name="oracle.soa.b2b"/>
    <logger name="oracle.soa.b2b.apptransport"/>
    <logger name="oracle.soa.b2b.engine"/>
    <logger name="oracle.soa.b2b.repository"/>
    <logger name="oracle.soa.b2b.transport"/>
    <logger name="oracle.soa.b2b.ui"/>
    <logger name="oracle.soa.bpel"/>
    <logger name="oracle.soa.bpel.console"/>
    <logger name="oracle.soa.bpel.engine"/>
    <logger name="oracle.soa.bpel.engine.activation"/>
    <logger name="oracle.soa.bpel.engine.agents"/>
    <logger name="oracle.soa.bpel.engine.bpel"/>
    <logger name="oracle.soa.bpel.engine.compiler"/>
    <logger name="oracle.soa.bpel.engine.data"/>
    <logger name="oracle.soa.bpel.engine.delivery"/>
    <logger name="oracle.soa.bpel.engine.deployment"/>
    <logger name="oracle.soa.bpel.engine.dispatch"/>
    <logger name="oracle.soa.bpel.engine.sensor"/>
    <logger name="oracle.soa.bpel.engine.translation"/>
    <logger name="oracle.soa.bpel.engine.ws"/>
    <logger name="oracle.soa.bpel.engine.xml"/>
    <logger name="oracle.soa.bpel.entity"/>
    <logger name="oracle.soa.bpel.jpa"/>
    <logger name="oracle.soa.bpel.system"/>
    <logger name="oracle.soa.dvm"/>
    <logger name="oracle.soa.management.facade.api"/>
    <logger name="oracle.soa.mediator"/>
    <logger name="oracle.soa.mediator.common"/>
    <logger name="oracle.soa.mediator.common.cache"/>
    <logger name="oracle.soa.mediator.common.error"/>
    <logger name="oracle.soa.mediator.common.error.recovery"/>
    <logger name="oracle.soa.mediator.common.message"/>
    <logger name="oracle.soa.mediator.dispatch"/>
    <logger name="oracle.soa.mediator.dispatch.resequencer.toplink"/>
    <logger name="oracle.soa.mediator.filter"/>
    <logger name="oracle.soa.mediator.instance"/>
    <logger name="oracle.soa.mediator.management"/>
    <logger name="oracle.soa.mediator.metadata"/>
    <logger name="oracle.soa.mediator.monitor"/>
    <logger name="oracle.soa.mediator.resequencer"/>
    <logger name="oracle.soa.mediator.resequencer.besteffort"/>
    <logger name="oracle.soa.mediator.resequencer.fifo"/>
    <logger name="oracle.soa.mediator.resequencer.standard"/>
    <logger name="oracle.soa.mediator.service"/>
    <logger name="oracle.soa.mediator.serviceEngine"/>
    <logger name="oracle.soa.mediator.transformation"/>
    <logger name="oracle.soa.mediator.utils"/>
    <logger name="oracle.soa.mediator.validation"/>
    <logger name="oracle.soa.scheduler"/>
    <logger name="oracle.soa.services.common"/>
    <logger name="oracle.soa.services.identity"/>
    <logger name="oracle.soa.services.notification"/>
    <logger name="oracle.soa.services.rules"/>
    <logger name="oracle.soa.services.rules.obrtrace"/>
    <logger name="oracle.soa.services.workflow"/>
    <logger name="oracle.soa.services.workflow.common"/>
    <logger name="oracle.soa.services.workflow.evidence"/>
    <logger name="oracle.soa.services.workflow.metadata"/>
    <logger name="oracle.soa.services.workflow.persistency"/>
    <logger name="oracle.soa.services.workflow.query"/>
    <logger name="oracle.soa.services.workflow.report"/>
    <logger name="oracle.soa.services.workflow.runtimeconfig"/>
    <logger name="oracle.soa.services.workflow.soa"/>
    <logger name="oracle.soa.services.workflow.task"/>
    <logger name="oracle.soa.services.workflow.task.dispatch"/>
    <logger name="oracle.soa.services.workflow.task.routing"/>
    <logger name="oracle.soa.services.workflow.user"/>
    <logger name="oracle.soa.services.workflow.verification"/>
    <logger name="oracle.soa.services.workflow.worklist"/>
    <logger name="oracle.soa.services.workflow.performance"/>
    <logger name="oracle.soa.services.cmds"/>
    <logger name="oracle.soa.wsif"/>
    <logger name="oracle.soa.xref"/>
    <logger name="oracle.sdp"/>
    <logger name="oracle.sdpinternal"/>
    <logger name="oracle.sdp.owlcs.customer"/>
    <logger name="oracle.sdp.owlcs.config"/>
    <logger name="oracle.sdp.owlcs.timer"/>
    <logger name="oracle.sdp.messaging"/>
    <logger name="oracle.sdp.messaging.client"/>
    <logger name="oracle.sdp.messaging.driver"/>
    <logger name="oracle.sdp.messaging.engine"/>
    <logger name="oracle.sdp.messaging.parlayx"/>
    <logger name="oracle.sdp.messaging.server"/>
    <logger name="oracle.wsm"/>
    <logger name="oracle.wsm.msg.logging" level="NOTIFICATION:1" useParentHandlers="false">
    <handler name="owsm-message-handler"/>
    <handler name="wls-domain"/>
    </logger>
    <logger name='oracle.sysman' level='NOTIFICATION:32' useParentHandlers='false'>
    <handler name='em-log-handler'/>
    <handler name='em-trc-handler'/>
    </logger>
    </loggers>
    </logging_configuration>

  • Starting a workflow from an XML file

    Does anyone know if there is anyway to have a workflow poll a folder for the existence of an XML file and start a workflow with it? When looking in the documentation, there is a mention of a scheduler. I need to integrate with a fairly old system that can only read and write text files. Any help is appreciated.
    Dave

    Hi Dave
    This is actually quite easy to achieve. We use this design pattern regularly, and it works very nicely.
    Here are the steps:
    * Download and deploy the DocumentImport, FolderWatch and FileCopyMove QPACs from http://www.avoka.com/avoka/qpac_library.shtml
    * Create a workflow that is your "Watcher" process.
    Step 1 in this will use the FolderWatch to wait for a file in the designated folder, capturing its name when it appears.
    Step 2: use the FileCopyMove to move the found file to a "Processed" directory. (Click the current-date checkbox to include the current date as a sub-folder - very handy.) Moving the file ensures that it won't be reprocessed on the next iteration.
    Step 3: Use the Chain QPAC (or our ChainPlus) to start the real process, passing the name of the newly moved file as a parameter. Then, have this Workflow loop back to step 1.
    If you make this workflow asynchronous, then it will even survive server restarts, so no need to restart it each time. The Watcher workflow will create one "real" workflow for each file that arrives in the watched folder.
    * Create the real workflow. It should have one "in" variable that is the name of the file. Step1: Use the DocumentImport QPAC to import the file into a process variable. You mention XML, so import into an XML variable. If the file is a properties file, then we also do have a properties file import QPAC. You're done, you can do the real workflow now.
    If you have any problems with this, please let us know.
    Regards,
    Howard
    PS You should periodically stop and restart the watcher process. The reason for this is that you will get a LOT of entries in the audit trail for this process instance in adminui, and stopping and restarting keeps this to manageable numbers.

  • Java PI7.1 mapping and standalone NWDS debugging using local XML files

    >>which can be debugged in standalone NWDS using local files.
    yes its possible...u just have to add static void main (as sugested in the blog) ..
    Note: i dont have a system as of now..so i guess there can be some sysntax errors. Please check.
    create input xml file with name "input.xml" and place it under "D" drive (it can be any location)
    package prasad.NewAPI;
    import java.io.IOException;
    import java.io.InputStream;
    import javax.xml.parsers.DocumentBuilder;
    import javax.xml.parsers.DocumentBuilderFactory;
    import org.w3c.dom.Document;
    import org.w3c.dom.Node;
    import org.w3c.dom.NodeList;
    import com.sap.aii.mapping.api.AbstractTransformation;
    import com.sap.aii.mapping.api.StreamTransformationException;
    import com.sap.aii.mapping.api.TransformationInput;
    import com.sap.aii.mapping.api.TransformationOutput;
    * @author Prasad Nemalikanti
    public class NewAPIJavaMapping extends AbstractTransformation {
    public static void main(String[] args) {
              try{
                   NewAPIJavaMapping javaMapping =new NewAPIJavaMapping();
                   FileInputStream in=new FileInputStream("D:\\input.xml");
                   FileOutputStream out=new FileOutputStream("D:\\output.xml");
                   javaMapping.execute(in,out);
                   catch(Exception e)
                   e.printStackTrace();
       String result="";
      /* The transform method which must be implemented */
      public void transform(TransformationInput in,TransformationOutput out) throws StreamTransformationException
        InputStream instream = in.getInputPayload().getInputStream();
      // String for constructing target message structure
        String fresult="<?xml version=\"1.0\" encoding=\"UTF-8\"?>";
        fresult = fresult.concat("<ns0:MT_Customer xmlns:ns0=\"urn:newapi-javamapping\">");
        try{
            DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
            DocumentBuilder builder = factory.newDocumentBuilder();
            Document doc = builder.parse(instream);
            traversingXML(doc);
         catch(Exception e){}
    fresult = fresult.concat(result);
    fresult = fresult.concat("</ns0:MT_Customer>");
    try{
      out.getOutputPayload().getOutputStream().write(fresult.getBytes());
      /* assigning the created target message to "TransformationOutput"*/
       catch(IOException e1){}
    /*DOM Parser */
    public void traversingXML(Node node)
       NodeList children = node.getChildNodes();
       for(int i=0;i<children.getLength();i++)
         Node child = children.item(i);
         short childType = child.getNodeType();
         if(childType==Node.ELEMENT_NODE)
                  String nodeName=child.getNodeName();
                  String targetNodeName=null;
                  if(nodeName.equals("Users"))
                   targetNodeName="Customers";
                  else if(nodeName.equals("ID"))
                   targetNodeName="CustomerID";
                  else if(nodeName.equals("UserName"))
                   targetNodeName="Name";
                  else if(nodeName.equals("City"))
                    targetNodeName="City";
                  else if(nodeName.equals("State"))
                    targetNodeName="State";
                  else if(nodeName.equals("Country"))
                    targetNodeName="Country";
                 if(targetNodeName!=null)
                  result=result.concat("<"+targetNodeName+">");
       traversingXML(child);
       if(targetNodeName!=null)
       result=result.concat("</"+targetNodeName+">");
         else if(childType==Node.TEXT_NODE)
           String nodeValue = child.getNodeValue();
           result = result.concat(nodeValue);

    I have tested this and it is working..please chk the same
    package com.test;
    import java.io.IOException;
    import java.io.*;
    import javax.xml.parsers.DocumentBuilder;
    import javax.xml.parsers.DocumentBuilderFactory;
    import org.w3c.dom.Document;
    import org.w3c.dom.Node;
    import org.w3c.dom.NodeList;
    import com.sap.aii.mapping.api.AbstractTransformation;
    import com.sap.aii.mapping.api.StreamTransformationException;
    import com.sap.aii.mapping.api.TransformationInput;
    import com.sap.aii.mapping.api.TransformationOutput;
    public class JavaMapping extends AbstractTransformation {
           /* The transform method which must be implemented */
           public void transform(TransformationInput in,TransformationOutput out) throws StreamTransformationException
                this.execute(in.getInputPayload().getInputStream(),
                          out.getOutputPayload().getOutputStream());
           String result="";
           public void execute(InputStream in1, OutputStream out1)
          throws StreamTransformationException {
           // String for constructing target message structure
             String fresult="<?xml version=\"1.0\" encoding=\"UTF-8\"?>";
             fresult = fresult.concat("<ns0:MT_Customer xmlns:ns0=\"urn:newapi-javamapping\">");
             try{
                 DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
                 DocumentBuilder builder = factory.newDocumentBuilder();
                 Document doc = builder.parse(in1);
                 traversingXML(doc);
              catch(Exception e){}
          fresult = fresult.concat(result);
          fresult = fresult.concat("</ns0:MT_Customer>");
          try{
           out1.write(fresult.getBytes());
           /* assigning the created target message to "TransformationOutput"*/
            catch(IOException e1){}
          /*DOM Parser */
          public void traversingXML(Node node)
            NodeList children = node.getChildNodes();
            for(int i=0;i<children.getLength();i++)
              Node child = children.item(i);
              short childType = child.getNodeType();
              if(childType==Node.ELEMENT_NODE)
                       String nodeName=child.getNodeName();
                       String targetNodeName=null;
                       if(nodeName.equals("Users"))
                        targetNodeName="Customers";
                       else if(nodeName.equals("ID"))
                        targetNodeName="CustomerID";
                       else if(nodeName.equals("UserName"))
                        targetNodeName="Name";
                       else if(nodeName.equals("City"))
                         targetNodeName="City";
                       else if(nodeName.equals("State"))
                         targetNodeName="State";
                       else if(nodeName.equals("Country"))
                         targetNodeName="Country";
                       if(targetNodeName!=null)
                           result=result.concat("<"+targetNodeName+">");
            traversingXML(child);
            if(targetNodeName!=null)
                 result=result.concat("</"+targetNodeName+">");
              else if(childType==Node.TEXT_NODE)
                String nodeValue = child.getNodeValue();
                result = result.concat(nodeValue);
          public static void main(String[] args) {
                   try{
                        JavaMapping javaMapping =new JavaMapping();
                        FileInputStream in=new FileInputStream("D:\\Input.xml");
                        FileOutputStream out=new FileOutputStream("D:\\output.xml");
                        javaMapping.execute(in,out);
                        catch(Exception e)
                        e.printStackTrace();
    AM

  • Importing Arabic text from an XML file

    Importing text from an XML file to appear as text in Flash
    works in English, however if the text I want to import is in
    Arabic, when I test the movie there is no text at all.
    Is there some particular syntax to preface the Arabic text?
    I'll want to import text from XML in other languages too.
    (French)
    I'd cut and pasted some Arabic text into the XML file that
    displays pictures and text in the "slideshow.fla" (
    http://www.adobe.com/support/flash/applications/jpeg_slideshow_xml/jpeg_slideshow_xml03.ht ml)
    Substituting Arabic text for English text, editing the XML
    file with Dreamweaver.
    Any ideas as to how I might achieve my objective of importing
    Arabic text into Fash?
    I'd started developing my prototpe in Macromedia Director 7,
    and then Director MX, but I have not found a suitable Arabic font
    that I can embed that will allow me to display Arabic fonts in
    Adobe Director. I have the Arabic text in a Word document.
    I've dicovered that my Flash MX Pro and Dreamweaver both
    support Arabic fonts, but I want to import text from an XML file.
    I'd prefer using cast libraries and cast members, but I don't
    know of an equivalent in Flash to what I'm comfortable with in
    Director.

    Oh so many questions. You probably aren't going to like the
    answers. I have Flash MX04 pro (aka Flash 7) and things made a big
    jump between MX (aka 6) and MX04. If you only have MX, there might
    not be a way to do this. All my advice is based upon MX04 or
    higher.
    It is possible to do complex languages in Flash. My
    experience is with Hindi and I've helped a few folks here with
    Arabic.
    You won't be able to use text from Microsoft Word – at
    least I don't think so. The XML file will need to be saved in the
    UTF-8 format. I think Word uses its own scheme and won't work. But
    I'm not a Word expert. Something like Text Edit (Mac) or WordPad
    (PC) should be able to save a UTF-8 file.
    The next problem is you mention "suitable Arabic font that I
    can embed." AFAIK, you can't embed any of the complex scripts in
    Flash. You just have to rely on the end user having appropriate
    fonts installed and enabled. Most operating systems from 2000 on do
    have this – although some folks like to remove them to save
    space.
    Next issue will be line composing. I've found that when using
    anything above the normal Latin range that Flash suddenly forgets
    how to make a line fit into a text area. It will just break things
    in the middle of words and not even notice the spaces between
    words. I've written a little snippet of code that "composes" the
    lines. It works well with Hindi and folks here have used it with
    Arabic and not come back saying that it doesn't work. Search the
    forums (both the Flash and Actionscript) if you can't find it I'll
    dig it out when I get home.
    So here is the checklist:
    Make sure the XML is saved in UTF-8
    Import the XML file
    In Testing environment go Debug–>List variables.
    Does it show up correctly there?
    Does it show at all in a text field?
    Use the "composer" to make the lines break.

  • Importing English Wikipedia dump (large .xml file) into SQL server 2012

    Hi there,
    I've downloaded the latest English Wikipedia dump (enwiki-latest-pages-articles.xml),
    and I'm trying to import it to SQL server 2012 by using XML Bulk Load. This is the VBScript
    code I've used:
    Dim objBL
    Set objBL = CreateObject("SQLXMLBulkLoad.SQLXMLBulkload.4.0")
    objBL.ConnectionString = "provider=SQLOLEDB;data source=localhost;database=tempdb;integrated security=SSPI"
    objBL.ErrorLogFile = "error.log"
    objBL.CheckConstraints=true
    objBL.XMLFragment = True
    objBL.SchemaGen = True
    objBL.SGDropTables = True
    objBL.Execute "export-0.8.xml", "enwiki-latest-pages-articles.xml"
    Set objBL = Nothing
    This VBScript should generate the tables and load the Wikipedia XML file into them. The VBScript code also uses the wikimedia
    XSD schema. However, I'm getting this error:
    Any help with this problem would be appropriate!

    Why not try looking at this:
    http://technet.microsoft.com/en-us/library/ms191184.aspx
    If this is helpful please mark it so. Also if this solved your problem mark as answer.

  • Importing OIM AD connector config XML files

    Hello All,
    I am importing the AD connector files in the OIM admin and user console.
    After selecting the AD connector files, in step 2 i need the perform 3 operations as stated below.
    My operation fails when I try to import XML files using deployment manager. I am able to see the import screen and there it says you cannot perform this operation.
    I get this error:
    Step 2      :      Connector Installation
    ActiveDirectory      9.1.1.4      Installation Status      :      Failed
         PASSED Configuration of Connector Libraries
         FAILED Import of Connector XML Files (Using Deployment Manager)
              Compilation of Adapter Definitions
    The error stated is : DOBJ.XML_IMPORT_ERROR
    ORA-00904: "OBJ_OFFLINED": invalid identifier
    Thanks in advance for your help.
    Regards,
    VSN

    Hello all,
    I was able to figure out the answer for my question on the xml import error.
    It was due to improper patching of OIM server.
    This error can be confirmed if you check the OBJ table, it will not have a column name called OBJ_OFFLINE.
    So apply all the patches from scratch and in sequence.
    _VSN                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • Using multiple XML files for drill-down

    I have an XML file which populates a graph showing months of the year.  I have 12 other XML files which have data for each day of the month running from 1 - 31.
    What I would like to do is use the 12 XML files to drill down for each of the months on my graph, but am struggling to get it to work.
    The XML that populates the graph is in the following format :
    <?xml version="1.0" encoding="utf-8"?>
    <items>
         <item month="Jan" value="536102" />
         <item month="Feb" value="484570" />
         <item month="Mar" value="155840" />
    and the other XML files are in the following format:
    <?xml version="1.0" encoding="utf-8"?>
    <items>
         <item Timestamp="24/04/2010" Value="4178" />
         <item Timestamp="25/04/2010" Value="8075" />
         <item Timestamp="26/04/2010" Value="14611" />
    Would it be simpler to combine all the XML into one file?
    Sorry that this is a bit vague, but if you could help me that would be appreciated. Let me know if you require any more information.
    Thanks.

    You can only import a single XML file. You may have an xml file that has multiple occurances of data but it must be a single xml file.
    So you woudl have to find a way to combine all of those xml files into one then do the import.
    Paul

  • c:import tag unable to load xml file

    I'm using weblogic 8.1 sp5. This is how my jsp looks like:
              <%@ taglib uri="/WEB-INF/x" prefix="x" %>
              <%@ taglib uri="/WEB-INF/c" prefix="c" %>
              <c:import url="/WEB-INF/ADVLSOG6Request.xml" var="file" />
              I get an error message in the console window that says, "included resources or file "/lwise/WEB-INF/ADVLSOG6Request.xml" not found from requested resources /lwise/pages/ADVRequest.jsp"
              The xml file is under WEB-INF directory. I've even tried putting this file in the same directory as jsp i.e. /lwise/pages/ and changes the c:import tag to <c:import url="ADVLSOG6Request.xml" var="file" /> so that it can locate it but to no avail. I've tried deploying both as war module and exploded directory but still gives me the same error. I'm using JBuilder Enterprise 12 as my IDE - jsp 1.2. Any idea how can I load this class using this tag? or why it cannot see it? Thanks.

    LightWorker wrote:
    I haven't tried to update the firm ware yet, but this is probably my next move.
    The paper says
    “Unable to set attribute” error message will be displayed. Run the CameraValidator.exe utility with the “/ATTRIBUTES” flag to detect which attributes are generating errors and contact your camera vendor for a new and updated version of the camera firmware. 
     I've run the CameraValidator.exe but it couldn't find the camera or the attributes.
    Also check the firmware version

  • Using an XML file for server URL instead of hard coding

    I can't find a good example.
    Could someone give me an example of using a local XML file to set a server url variable so i don't have to hard code url's?
    This works and i can trace the xml file but how do i access the individual xml data nodes?
    protected function initApp():void
         var loader:URLLoader = new URLLoader(new URLRequest("config.xml"));
         loader.addEventListener(Event.COMPLETE,configLoadComplete);
    private function configLoadComplete(event:Event):void
         trace(event.target.data);

    Hi,
    <a href="foobar.xml">right click and select save as from the context menu</a>
    or
    write your xml data or a copy of it with a different extension (text) so that it is not parsed as application/xml-xhtml
    or
    Use AJAX to retrieve the xml file and display it as the textContent of a <textarea>
    window.open wraps the xml markup in html tags for display purposes.
    Rob^_^

  • Using session.xml file from WorkB in  a Session Facade based on another xml

    Hi
    I have the follwing scenario.
    Need to read data from a set of tables and convert them into an XML file based on an XSD.
    I am planning to use Toplink POJO in JDeveloper to create a SessionFacade to read the values.
    I tested the SessionFacade using a client and I was able to read the values correctly.
    Based on my xsd, I created a project in Workbench and mapped the classes created earlier, I was able to test this mapping using a test xml data file.
    I was able to read the file, Unmarshall it, manipulate it and generate an XML.
    Now the question is how do I call this Marshalling from my SessionFacade ?
    Since two session.xml files are in different format, I could not copy the content from one file into another.
    How do I create a JAXBContext based on a different session.xml?
    Thanks
    Sambath
    Oracle Consulting

    Hi Doug,
    Thanks for the response. I did the same and I was able to make it work, soon after I posted. I should have updated it :-)
    I used two sessions file.
    The OXM expected the name of the file to sessions.xml and I have to keep it that way. I created a ormsession.xml using JDeveloper and referred the ORM Project created in the Workbench to use it for ORM . In fact I created a dummy ormsession.xml file in JDeveloper wiht a session named "default". I started by creating an entry manually by copying the contents of the session definition and renamed to "MySession"
    Once again thanks for following up
    Thanks
    Sambath

Maybe you are looking for