XML file Synchronization
Hi All,
I have created an XML file from a table in oracle. Now, the requirement is, to update the file as soon as any DML occurs in the respective table.
Does anyone have an idea how to implement it??
One way culd b to create trigger on the possible DMLs over the table..and write code to regenerate the file on occurance of that event. Is ther any other efiifcient way ?????
I m using Oracle 10gR1 on Win XP.
Thx in advance for the help.
Regards,
RA
Hi All,
I have created an XML file from a table in oracle. Now, the requirement is, to update the file as soon as any DML occurs in the respective table.
Does anyone have an idea how to implement it??
One way culd b to create trigger on the possible DMLs over the table..and write code to regenerate the file on occurance of that event. Is ther any other efiifcient way ?????
I m using Oracle 10gR1 on Win XP.
Thx in advance for the help.
Regards,
RA
Similar Messages
-
Datasource XML: how Synchronize from file?
Hi,
i''ve a XML datasource that it works fine, and i've an interface that move some content of this datasource to an oracle database.
All work fine, but only on the first execution. If i do some changes on XML datasource (in XML File, add or update elements) and execute again the interface, odi doesn't replicate the changes. If i close odi and try again, it replicate the changes.
Then, i read in the user's manual that i should activate "SYNCHRONIZE FORM FILE", it's true? I go to the XML Driver Configuration Documentation, but the only option that he explain is edit some java code to do this (edit the Java code of Driver).
I think (and i hope!) that is possible to do this different, like add a parameter in JDBC Connection URL, or something similar.
Can anyone help me?
PD: if i deploy the interface in a package or in a scenario, i've the same problem.
Thank you!!!I haven't this problem and I have search a solution for a while.
I can't explain you cause I have done a lot of change and at the end it works...
So I just can paste my URL hoping it could help you:
jdbc:snps:xml?f=C:\mutation.xml&d=C:\mutation.xsd&lf=C:\mutation.log&ro=true&dod=yes
If I remember well the ro (read only) and the dod (drop_on_disc, drop automatically the schema when closing the JDBC connection.) options are important.
dod option must be the last option of the URL. -
How to Parse this XML File and require below mentioned value as output using powershell script
Need values for below as an output for below xml file so help me with the script:
Under Criteria Tag-
TimeStamp Display Value
OID corresponding to display value for nodes "Criterion"
Under Report Body Tag--
name in Report Section and OID value
<?xml version="1.0" encoding="UTF-8"?>
<ReportOutput>
<ReportHead>
<Report name="Execution Action" type="detailedchanges_rpt">
<Description></Description>
</Report>
<Criteria>
<TimestampCriterion name="date" displayvalue="08/10/14 23:08">
<Timestamp displayvalue="08/10/14 23:08">1412780929000</Timestamp>
</TimestampCriterion>
<MatchCriterion name="approvalId" displayvalue="Not applied" operator="contains" />
<MatchCriterion name="promotionComment" displayvalue="Not applied" operator="contains" />
<SelectCriterion name="changeWindow" displayvalue="Not applied" />
<SelectCriterion name="auditEvents" displayvalue="(Any)">
<String>auditEventAny</String>
</SelectCriterion>
<SelectCriterion name="attributeDisplay" displayvalue="Changed attributes">
<String>changed</String>
</SelectCriterion>
<SelectCriterion name="versionCompare" displayvalue="Version with current baseline">
<String>disabled</String>
</SelectCriterion>
<BooleanCriterion name="showContentDiff" displayvalue="No">
<Boolean value="false" />
</BooleanCriterion>
<BooleanCriterion name="displayUsers" displayvalue="No">
<Boolean value="false" />
</BooleanCriterion>
<BooleanCriterion name="displayPackages" displayvalue="No">
<Boolean value="false" />
</BooleanCriterion>
<BooleanCriterion name="displayCustomProperties" displayvalue="No">
<Boolean value="false" />
</BooleanCriterion>
<BooleanCriterion name="strictPackageMatch" displayvalue="No">
<Boolean value="false" />
</BooleanCriterion>
<BooleanCriterion name="displayCriteriaAtEnd" displayvalue="No">
<Boolean value="false" />
</BooleanCriterion>
<SelectCriterion name="elementExists" displayvalue="Not applied" />
<IntegerCriterion name="maxLinesPerBlock" displayvalue="10">
<Integer>10</Integer>
</IntegerCriterion>
<NodesCriterion name="nodes" displayvalue="TripwireENT.demo.net">
<OID>-1y2p0ij32e8bw:-1y2p0ij32e7cu</OID>
</NodesCriterion>
<MatchCriterion name="nodeName" displayvalue="Not applied" operator="contains" />
<CustomPropertiesCriterion name="nodeProps" displayvalue="Not applied" />
<RulesCriterion name="rules" displayvalue="Critical System Files">
<OID>-1y2p0ij32e7q2:-1y2p0ij31snh6</OID>
</RulesCriterion>
<MatchCriterion name="ruleName" displayvalue="Not applied" operator="contains" />
<MatchCriterion name="elementName" displayvalue="Not applied" operator="contains" />
<CustomPropertiesCriterion name="elementProps" displayvalue="Not applied" />
<CustomPropertiesCriterion name="versionProps" displayvalue="Not applied" />
<AttributesCriterion name="attributes" displayvalue="Not applied">
<Integer name=".missingImpliesFailure">1</Integer>
</AttributesCriterion>
<ContentCriterion name="content" displayvalue="Not applied" />
<MatchCriterion name="auditEventUserName" displayvalue="Not applied" operator="contains" />
<IntegerCriterion name="changeType" displayvalue="Added, Modified, Removed">
<Integer>7</Integer>
</IntegerCriterion>
<SeverityRangeCriterion name="severity" displayvalue="1 - 10000">
<Integer name="min">1</Integer>
<Integer name="max">10000</Integer>
</SeverityRangeCriterion>
<BooleanCriterion name="currentVersionsOnly" displayvalue="Yes">
<Boolean value="true" />
</BooleanCriterion>
<TimeRangeCriterion name="timeRange" displayvalue="All time" />
<PackagesCriterion name="packages" displayvalue="Not applied" />
<SortCriterion name="sortNodes" displayvalue="Name, ascending" isascending="true">
<String>name</String>
</SortCriterion>
<SortCriterion name="sortRules" displayvalue="Name, ascending" isascending="true">
<String>name</String>
</SortCriterion>
<SortCriterion name="sortElements" displayvalue="Name, ascending" isascending="true">
<String>name</String>
</SortCriterion>
<SortCriterion name="sortVersions" displayvalue="Date, descending" isascending="false">
<String>date</String>
</SortCriterion>
</Criteria>
</ReportHead>
<ReportBody>
<ReportSection name="TripwireENT.demo.net" category="node">
<OID>-1y2p0ij32e8bw:-1y2p0ij32e7cu</OID>
<String name="typeName">Windows Server</String>
<ReportSection name="Critical System Files" category="rule">
<OID>-1y2p0ij32e7q2:-1y2p0ij31snh6</OID>
<String name="typeName">Windows File System Rule</String>
<ReportSection name="C:\Temp" category="element">
<OID>-1y2p0ij32e8dr:-1y2p0ij32e586</OID>
<ReportSection name="08/10/14 22:48" category="version">
<OID>-1y2p0ij32e8du:-1y2p0ij32e3ho</OID>
<Integer name="changeType">1</Integer>
<String name="changeTypeName">Added</String>
<Integer name="severity">10000</Integer>
<String name="severityName">High</String>
<Timestamp name="changeTime" displayvalue="08/10/14 22:48">1412779682000</Timestamp>
<String name="approvalId"></String>
<ReportSection name="attributes" category="attributes">
<ReportSection name="DACL" category="added">
<String name="observed">Inherits Entries: true
NT AUTHORITY\SYSTEM, Access Allowed:
Standard rights:
Full Control
Modify
Read & Execute
List Folder Contents
Read
Write
Delete
Read Control
Write DAC
Write Owner
Synchronize
Specific rights:
Full Control
Traverse Folder / Execute File
List Folder / Read Data
Read Attributes
Read Extended Attributes
Create Files / Write Data
Create Folders / Append Data
Write Attributes
Write Extended Attributes
Directory Delete Child
Read Permissions
Change Permissions
Take Ownership
Header flags:
Object Inherit
Container Inherit
Inherited
BUILTIN\Administrators, Access Allowed:
Standard rights:
Full Control
Modify
Read & Execute
List Folder Contents
Read
Write
Delete
Read Control
Write DAC
Write Owner
Synchronize
Specific rights:
Full Control
Traverse Folder / Execute File
List Folder / Read Data
Read Attributes
Read Extended Attributes
Create Files / Write Data
Create Folders / Append Data
Write Attributes
Write Extended Attributes
Directory Delete Child
Read Permissions
Change Permissions
Take Ownership
Header flags:
Object Inherit
Container Inherit
Inherited
BUILTIN\Users, Access Allowed:
Standard rights:
Read & Execute
List Folder Contents
Read
Read Control
Synchronize
Specific rights:
Traverse Folder / Execute File
List Folder / Read Data
Read Attributes
Read Extended Attributes
Read Permissions
Header flags:
Object Inherit
Container Inherit
Inherited
BUILTIN\Users, Access Allowed:
Specific rights:
Create Folders / Append Data
Header flags:
Container Inherit
Inherited
BUILTIN\Users, Access Allowed:
Specific rights:
Create Files / Write Data
Header flags:
Container Inherit
Inherited
CREATOR OWNER, Access Allowed:
Generic rights:
Generic All
Specific rights:
Full Control
Traverse Folder / Execute File
List Folder / Read Data
Read Attributes
Read Extended Attributes
Create Files / Write Data
Create Folders / Append Data
Write Attributes
Write Extended Attributes
Directory Delete Child
Read Permissions
Change Permissions
Take Ownership
Header flags:
Object Inherit
Container Inherit
Inherit Only
Inherited
</String>
</ReportSection>
<ReportSection name="Group" category="added">
<String name="observed">TRIPWIREENT\None</String>
</ReportSection>
<ReportSection name="Owner" category="added">
<String name="observed">BUILTIN\Administrators</String>
</ReportSection>
<ReportSection name="Read-Only" category="added">
<String name="observed">false</String>
</ReportSection>
<ReportSection name="SACL" category="added">
<String name="observed">(null)</String>
</ReportSection>
<ReportSection name="Type" category="added">
<String name="observed">Directory</String>
</ReportSection>
</ReportSection>
</ReportSection>
</ReportSection>
<ReportSection name="C:\Windows\System32\drivers\etc\hosts" category="element">
<OID>-1y2p0ij32e8dr:-1y2p0ij32e4kp</OID>
<ReportSection name="08/10/14 23:08" category="version">
<OID>-1y2p0ij32e8du:-1y2p0ij32e3hk</OID>
<Integer name="changeType">2</Integer>
<String name="changeTypeName">Modified</String>
<Integer name="severity">10000</Integer>
<String name="severityName">High</String>
<Timestamp name="changeTime" displayvalue="08/10/14 23:08">1412780929000</Timestamp>
<String name="approvalId"></String>
<ReportSection name="attributes" category="attributes">
<ReportSection name="SHA-1" category="modified">
<String name="expected">de375d8a456a7345323babee88975ca567a2d5c4</String>
<String name="observed">3c5520382f91cb1cd898fee2da4eba3fa338d982</String>
</ReportSection>
<ReportSection name="Size" category="modified">
<String name="expected">829</String>
<String name="observed">854</String>
</ReportSection>
</ReportSection>
</ReportSection>
</ReportSection>
</ReportSection>
</ReportSection>
<ReportSection name="reportTotals" category="reportTotals">
<Integer name="summary.nodeCount">1</Integer>
<Integer name="summary.ruleCount">1</Integer>
<Integer name="summary.elementCount">2</Integer>
</ReportSection>
</ReportBody>
</ReportOutput>Hi Ritehere,
I know this is simple but am beginner in Powershell Script so I was looking for logic to go through however the output you provided is not what i am looking for and your script is too complicated, as under timestamp i wanted display value and correspoding
to display value the OID name and then name value correspoding to that OID. May be u got it wrong.
Thanks anyways. -
How to send XI a record from GDS which is either a Flat or XML file.
Dear All,
I am working on a GDS scenario. I have created a GTIN manually in GDS and now want to register it to a data pool. As this is an internal project, I do not have connection to any pilot client and hence we are using a dummy destination data pool number of 1Sync.
As per my basic understanding of this Scenario, It is still possible for me to "Register" a GTIN and an XML file will be generated with the GTIN details.
However, when I do "Register" a GTIN, I get a Register error "Failed to send message, reason" Exception in method gDSDPOut"
I have a few Queries:
1. Is any XML generated on clicking the Register Button?
2. What is the functionality of the " Register" Button? Does it send the XML to XI system directly.If the XML is created, how and where should I locate it to see the content.
Can any of the experts who have worked on this scenario please validate my understanding.Can anybody please share some details on how to proceed.
Thanks & Regards.
Sumit KhanduriHi Sumit,
I do not the exact solution to your problem statement but may be these links may help
Kindly go through them:
GDS
Re: Global Data Synchronization
Hope It Helped,
Thanks & Regards
Simona Pinto -
Output XML file problem (in FILE to RFC scenario)
hi,
my problem is that in the export parameter i have 3 variables but my output xml file shows only 2 parameters . I have checked my mapping all 3 parameters are mapped properly in output mapping .
Initially when i started the scenario there were only 2 parameters in my export list .
i completed this suuccesfully and then as per new requirement one more parameter was needed to be added i added a new parameter and reimported my rfc .
the response tab of the reimported RFC shows me the newly added parameter but my final xml file only shows me the previous 2 it doesnt show me the newly added one is there any seeting which i need to change like in idoc where we have to readd the idoc in IDX2
With regards
Bhawarlal ChoudharyHi,
2 Introduction
Configuring IDoc adapter in Exchange Infrastructure 3.0 requires some configuration on the SAP
systems, for both XI and the backend system where the IDoc message is to be sent. These steps, although
simple, are many times missed or mis-configured, causing the delivery of messages to fail.
Since IDoc adapter uses the ABAP stack, instead of J2EE, the configuration requirements are mainly in
ABAP.
Setting up IDoc adapters requires the XI integration server to be able to communicate with the backend
SAP system, and also to make sure that the Logical System Name used when posting IDoc exists on the
backend SAP system.
3 The Step By Step Solution
The basic steps for the IDoc configuration are outline below:
1. Configure SM59 on XI to communicate to SAP backend system.
2. Configure port on XI for IDoc communication.
3. Create or verify the Logical System Name on the SAP backend system.
4. Create or verify business system in XIs System Landscape Directory.
5. Verify the Logical System Name of the business system.
6. Verify or add the Logical System Name for the sender business system.
7. Create/configure the Communication Channel for the IDoc receiver adapter
3.1 Configure SM59 on XI to communicate to SAP backend system.
1. Using transaction SM59, create an RFC destination with Connection Type = 3.
In this example, the RFC destination name is NDVCLNT510.
2. Enter the logon information:
3. Test the connection by clicking on Testing connection and Remote logon.
Both must be successful.
3.2 Configure port on XI for IDoc communication.
4. Go to transaction IDX1 on XI, and create a port. In this example, the Port name is SAPNDV.
The Port name must be in the form of SAPxxx, where xxx is the system ID of the backend SAP
system.
The Client must be the client number of the backend SAP system.
Select the RFC Destination which was created in the previous step.
3.3 Create or verify the Logical System Name on the SAP backend system.
5. Enter transaction SALE on the SAP backend system.
6. Create or verify the Logical System Name. In our example, NDVCLNT510 is verified.
3.4 Create or verify business system in XIs System Landscape Directory.
The business system name for the SAP backend system must contain a valid Logical System Name. This Logical System Name is the one verified or created in the previous step.
7. In the System Landscape Directory, select the SAP backend business system. If one does not exist, then create the business system. Verify the Logical System Name.
3.5 Verify the Logical System Name of the business system.
8. In the Integration Directory, doubleclick on the business system (in our example, it is NDVCLNT510).
Navigate the menu:
Service Adapter Specific Identifiers.
If information is empty or incorrect, then it will have to be synchronized with the content of the System Landscape Directory. Follow the steps below for synchronization.
9. (Optional) Synchronization of the business system in Integration Directory to the business system in System
Landscape Directory.
Double-click on the business system in the Integration Directory.
Switch to Edit mode.
Select menu: Service Adapter-Specific Identifiers
10. (Optional) Within the dialog box, click on the button as indicated below to resynchronize.
11. (Optional) If the expected data from the System Landscape Directory is not updated, then the SLD cache may need to be cleared first.
3.7 Create/configure the Communication Channel for the IDoc receiver adapter.
15. In the Integration Directory, create an IDoc receiver communication channel.
The RFC Destination is from step 3.1.
The Port is from step 3.2.
NOTE:
There is no need to create an IDoc sender Communication Channel for XI. Instead, the backend SAP system must be configure to send the IDoc to XI.
4 Appendix
Transaction: IDX2
There are a couple of situation where IDX2 can be useful on the XI system.
1. When we want to test connection between the XI and SAP backend system.
2. When an IDoc has changed, and the meta data stored in XI needs to be update. When an IDoc is sent from the SAP backend system to XI, XI will first check to see if the meta data for the IDoc is already in its persistent cache. If not, then XI will use the configuration in IDX1 to retrieve the IDoc meta data from the backend system. If the
meta is already in cache, then it will NOT do so. Therefore, when an IDoc has changed, it is necessary to manually update the new meta data on XI, or delete it from the cache, so that the latest version can be retrieved. IDX2 is used for this purpose.
Go to transaction IDX2 and click on Create.
Enter the IDoc Type and the Source Port as defined in step #2. Click Continue.If successful, the following will show up. If error occurs, then the IDX1 configurations will need to be re-checked.
Regards
Hemant
If find helpful plz award points -
Does MI client Patch work For meRepMeta.xml file.
Hi All,
Every time I create a patch it works fine for JSP & Contollers but it dont replace Views, images & properties files.
Now a new change cameup it happened to make changes to lot of view files including meRepMeta.xml file as there are changes in Sync BO itself.
Can some body advice, does the patch work to replace this or not, else a feasable solution as we cannot reconfigure all the Devices on site.
Your help is much appriciated.
Thanks & Regards,
Sai Krishna. KDear Sai Krishna,
It is normal, not an issue. It sometimes depends on different factors. Generally 2-3syncs are required to get the full data after client data reset.
Regards,
Veera
Additional Non-Conslusive Info for understanding:
Though there is no official wording, and just general recommendation of 2-3 syncs, we can derive (though I cannot term for sure) the general way of working of the sync mechanism from the default value of the below parameter setting. This setting comes when you "Allowing the Creation of Setup Packages" in your server":
Parameter: NO_OF_SYNC_TO_GET_MASTER_DATA
Description:
Optional. Number of synchronization
processes required to download the
initial master data.
Determine the number required by
setting up a test device and checking
the number of synchronizations
necessary for all the data to be
visible following the two initial
synchronization runs (see
Synchronizing for the First Time
). As part of the two initial
synchronization runs, the device ID is
assigned and the application is
transferred. Do not include these
initial synchronization runs in your
calculation. Only take those runs into
account that are used to transfer the
data.
Possible values: Positive integers
Default: 3
Note: I have just copied the table values above from the configuration guide in help.sap.com. -
I maintain two websites using Dreamweaver. Dreamweaver creates a file called dwsnyc.xml in each directory for both websites. These files seem to cause me problems when I'm backing up my hard drive. Actually I use a simple copy command to do the backup.
For one of the websites the backup goes fine. For the other website I get an "access denied" error each time it tries to copy the dwsnyc.xml file.
What is the dwsnyc.xml file? Can anyone think of a reason why I have a problem with these files for only one website? Any ideas on what I should do in order to allow me to do the backup?
MarcusWhat is the dwsnyc.xml file?
It's a 'log' file that keeps a record of synchronizations that have been carried out in each folder.
Can anyone think of a reason why I have a problem with these files for only one website? Any ideas on what I should do in order to allow me to do the backup?
I can't imagine why you are having a problem in only one site. However, if you are not ever synchronizing, you can just turn those files off under the Advanced button on the Remote server site definition. -
Xml file datamodel always the same file
Hello,
i have this kind of issue, i configured my ODI in the topology to load an external Xml file that will arrive every day. My load works good but i'm seeing now that ODI doesn't know that the file that i point to with configuration is different from one launch to another. It doesn't realize that the data inside are changed. I'm doing some test so every time that i receive a new xml file i rename the old one and i put there the new one. In my production system will be like this and scheduled but i'm scared about the fact that my ODI is not knowing the difference between my old file and the new one. Only if i close it and start it again he realize that the file is new and load the new data.
Have i forgot some configuration in some place? If yes where is and how i've to manage?
Thank you in Advance.
CorradoHello C.
Actually it's an ODI Procedure.
Try this:
PACKAGE_XML (your XML process package)
A) ODI PROCEDURE 01 (insert this step)
B) XML INTERFACES
C) ODI PROCEDURE 02 (insert this step)
Configure ODI PROCEDURES like this:
ODI PROCEDURE 01
Technology: XML
Comand on Target: SYNCHRONIZE FROM FILE
Schema: Your Source XML Schema.
Commit: Commit.
ODI PROCEDURE 02
Technology: XML
Comand on Target: SYNCHRONIZE FROM DATABASE
Schema: Your Target XML Schema.
Commit: Commit.
That is also explained on ODI Docs.
Let me know if that helps.
[]'s -
Read Time out error while posting XML file
Hi
While posting the XML file from .NET application to XI I am getting following error :
com.sap.engine.services.httpserver.exceptions.HttpIOException: Read timeout. The client has disconnected or a synchronization error has occurred. Read 62127 bytes. Expected 75283.
at com.sap.engine.services.httpserver.server.io.HttpInputStream.read(HttpInputStream.java:186)
at java.io.FilterInputStream.read(FilterInputStream.java:111)
at java.io.PushbackInputStream.read(PushbackInputStream.java:161)
at java.io.FilterInputStream.read(FilterInputStream.java:90)
at com.sap.aii.messaging.net.MIMEInputSource$MIMEReader.readContent(MIMEInputSource.java:683)
at com.sap.aii.messaging.net.MIMEInputSource.readBody(MIMEInputSource.java:342)
at com.sap.aii.messaging.net.MIMEServletInputSource.parse(MIMEServletInputSource.java:58)
at com.sap.aii.af.mp.soap.web.MessageServlet.doPost(MessageServlet.java:358)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:391)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:265)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:345)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:323)
at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:865)
at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:240)
at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)
at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:148)
at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:37)
at com.sap.engine.core.cluster.impl6.session.UnorderedChannel$MessageRunner.run(UnorderedChannel.java:71)
at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
at java.security.AccessController.doPrivileged(Native Method)
at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:94)
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:162)
Earlier I incresed the PROCTIME as 600 secs ( OSS Note 824554 ) -->
icm/server_port_0 = PROT=HTTP,PORT=1080,TIMEOUT=600,PROCTIMEOUT=600
In this case do I need to increase this parameter value again & what should be the optimal value which will not effect the performance of the system too.
Best Regards
Lalit Chaudharyhi Lalit,
Check the OSS note(807000) and see if it helps you....
Re: Calls to Webservice published by XI getting lost
hope it helps,
regards,
Anu -
Java and XML :: Unlocking, editing and locking an XML file using JAVA
I need to develop a form with Address field , When i enter address information and submit the form it needs to generate an
XML file for furthur processing.
Now my problem is :
When i want to edit the address....after submitting the form by entering the address information, it should unlock
the XML and edit the XML and then lock it.
How can i achive programatically, unlocking an XML file, editing the file, and locking it?.
Thanks,
Maruthi.There's a FileLock class, you know, in the java.nio.channels package. However before you start using it you should read its API documentation carefully including statements like " Whether or not a lock actually prevents another program from accessing the content of the locked region is system-dependent and therefore unspecified".
Personally I would say that if you need to synchronize access to this XML file, you should consider changing your design to use something that supports locking a bit better, like a database. Or by writing a server that encapsulates the XML file and accepts requests to read it and update it, serializing those requests appropriately. -
[ADF, JDev 10.1.3.1] recreate package xml file
Hi!
How do I recreate a package xml file aside from adding a Business Component (Entity or View or Service)?
I purposely deleted a package xml file as we were having problems in synchronization of our files. But now it seems that I need it back because i will generate a jar file through "the Business Components Deployment." The instruction says I need the package xml file to successfully import business components to other projects.
regards,
AntonWhat mechanism are you using to refresh the page upon selection of employee in the master table . Are you using autosubmit?
[email protected] wrote:
The VO is a simple VO that has a bind parameter for Dept No in it.
Select * from emp where deptno=:dept
Now in the Page Def-> bindings folder , I've created an action binding of type ExecuteWithParams that gives param value as say 10.
and I've created an Executable that binds to this Action there by invoking it when page renders.
WHen page is rendered I get to see only employees in dept 10 which is fine and according to requirement.
Employee No | Ename | Deptno
123 Roger 10
235 Badge 10
The problem is:
In case the page is a master detail page where employee list is a Master Table and say employee's enrolled courses are the detail table
then when we select a different employee, the page is refreshed again and first employee got selected again.
For solving this i changed the Refresh Property in Executable to "prepareModel" or "prepareModelIfNeeded".
On doing that I could select employees fine without the page getting refreshed , but corresponding Detail tab does not get changed thereafter.
Hope this clears the question a bit...
Thanks
Chris -
Who does modify my XML-Files on iCloud, if its not me?
Hello All,
I am using iCloud to synchronize my Scrivener projectfiles between my Macs. Scrivener is a writers software, storing projects as packed XML-Files (*.scriv).
Using iCloud Drive to store my projects I have faced several times an unknown process is "unpacking" those files and stripping them into their directory structure without me having asked for that. Obviously, My writing projects are messed up and Scrivener can't read the files anymore. I wonder what unknown process does change the files I stored on iCloud Drive? Why is my data being modified?
Any hint would be appreciated.
Regards,
Thomas
This is how it looks when I drop the *.scriv Files onto iCloud-Drive:
This is how it looks after a while. It looks like all Files have been modified by a process, nearly at the same time.Hi Taunda
When you went through the iOS 6 set up - did you see the option to restore?
When you go through Setup Assistant on a new iOS 5 device, choose "Restore from iCloud Backup" and enter your iCloud account and password. You will see the three most recent backups for each of the devices on which you enabled Backup. Choose which backup to restore from.
After your device restarts, your settings and accounts are restored and Backup starts downloading your purchased music, movies, TV shows, apps, books, Camera Roll, and other content.
Note: You may be prompted to enter the passwords for all accounts enabled on your device. You may also be prompted to enter the password for for any iTunes, iBookstore and App Store accounts for which iCloud Backup is attempting to restore content.
A progress bar will appear underneath the apps that are being downloaded. To prioritize the restore of a specific app, tap its icon. Restore will attempt to download the same version of the app that you had installed previously. If that version is no longer available, the latest version of the app will be restored. -
Issue in Creation of XML file from ABAP data
Hi,
I need to create a XML file, but am not facing some issues in creation of XML file, the in the required format.
The required format is
-<Header1 1st field= u201CValueu201D 2nd field= u201CValueu201D>
- <Header2 1st field= u201CValueu201D 2nd field= u201CValueu201Du2026u2026. Upto 10 fields>
<Header3 1st field= u201CValueu201D 2nd field= u201CValueu201Du2026u2026. Upto 6 fields/>
<Header4 1st field= u201CValueu201D 2nd field= u201CValueu201Du2026u2026. Upto 4 fields/.>
<Header5 1st field= u201CValueu201D 2nd field= u201CValueu201Du2026u2026. Upto 6 fields/>
</Header2>
</Header1>
Iu2019m using the call transformation to convert ABAP data to XML file.
So please anybody can help how to define XML structure in transaction XSLT_TOOL.
And one more thing, here I need to put the condition to display the Header 3, Header 4, Header 5 values. If there is no record for a particular line item in header 3, 4 & 5, I donu2019t want to display full line items; this is only for Header 3, 4 & 5.
Please help me in this to get it resolved.Hello,
you can use CALL TRANSFORMATION id, which will create a exact "print" of the ABAP data into the XML.
If you need to change the structure of XML, you can alter your ABAP structure to match the requirements.
Of course you can create your own XSLT but that is not that easy to describe and nobody will do that for you around here. If you would like to start with XSLT, you´d better start the search.
Regards Otto -
hello,
I am trying to insert a sales quotation in XML file format into SAP B1.
In the message log i get an error : Value too long in property 'CardCode' of 'Document'
every time i use an Item code or a card code containing Hebrew characters , i get garbage in the message:
i defind the B1 sender system language to Hebrew and i don't see the reason for the problem.
thanks, udiHi Eddy,
I only get the error message in hebrew.
i tried a sales quotation where the customer code and item code were in english and it loaded succesfully.
thanks, udi -
"Build.xml file not exist"
Hey Guys,
i am currently involving in a servelet project (RendreX). i want to install apachi ant as a prerequirement. i am using windows 2003 server. I already downloded latest ant version and apache tomcat4.0. Also i have set all the class path,ANT-HOME(C:\ANT) and other relevent paths. But when i run ant command in the command prompt(C:\ANT>ant)will generate error state that "build.xml" file can't be found. Have i done any wrong thing here? Can anybody give a way that i can easily install apache ant on winows.
It would be greatly appriciated if u can send me some advice to over come this problem.
Best Regards
Mohanbuild.xml is the default build file assumed by ant. You have to provide a build file to control what you expect from ant to do.
Maybe you are looking for
-
Can we insert data directly in standard table
hi how can we insert data in standard table directly. pls reply urgently.
-
I cannot get my new Ipad to be recognised in ITunes so I can Sync my library... I have re-loaded Itunes 64bit but it still comes up with an error saying that I need to load Itunes 64 bit before this Ipad will be recognised... any ideas? I just found
-
1 hd with 2 file formats for use between mac and windows?
Think this is the right forum... I want to instal a program onto an external hard drive for use on both mac and windows. The program supports both mac and windows. My plan is to get an external hd and partition it in half. One half i will format mac
-
Solution Database knowledgebase Full compilation error
Hi experts. Somebody knows anything about some Knowledge base fullcompilation error (2007 index does not exist) [screen 1|http://dl.dropbox.com/u/1040836/Knowledge.png] [screen 2|http://dl.dropbox.com/u/1040836/problem.png]
-
Webpage error (Jcarousel)
Whenever I go to a general website, mlb.com, the page never loads and an error pops up "Jcarousel: No width/height set for this item. Infinite loop. Aborting.." Up until yesterday, this problem never occurred. I have an imac G5 PC. Mac OS X 10.3.9. A