Namespace for adjust-dateTime-to-timezone?
I want to use this xpath function but can't find the proper namespace for it. I've tried fn and xp20. What should it be?
Thanks,
Bret
It is a Xpath 2 function. do you know whether your xpath processor supports 2 or not?
Similar Messages
-
Can't find namespace for xpath function adjust-dateTime-to-timezone()
I'm trying to "shift" the output of current-dateTime() to GMT. I believe the function listed above is the way to do it by using an empty string as the desired timezone. However, I can't find this function in JDev nor can I figure out what namespace it's supposed to have in the application server. Can anyone give advice?
I'm using 10.1.3
Thanks,
BretIt is a Xpath 2 function. do you know whether your xpath processor supports 2 or not?
-
XSLT Mapping: Namespace for prefix 'ns0' has not been declared
Hello, I am working on a synchronous SOAP call and having some trouble with the response message. The web service has its own namespace and I am trying to convert this to my custom data type in PI. PI wants the message to be in format of having ns0 prefix and namespace like we have defined (http://foo for example).
I have an XSLT mapping (see below) which works fine with my test response payload (pulled from SXMB_MONI source) on this online XSLT test site:
http://www.freeformatter.com/xsl-transformer.html
However when I import this archive to PI and test with operation mapping it always says "Namespace for prefix 'ns0' has not been declared."
This is very confusing because when I test it online, I see both prefix and namespace declaration perfectly. Is there a way to see the results in the PI test tool? After this XSLT java error it doesn't give me the output even in Trace Level All mode.
Please advise on this issue or if you know an easier way (such as altering my datatype/message type to match the inbound SOAP message). I tried working with the 3rd party WSDL but the response message types show a different root level node than what PI is receiving so I gave up to make my own matching datatype. I just have to solve this last inbound namespace issue and should be finished.
FYI I have refreshed all PI caches and activated all objects.
Thanks for your ideas!
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:ns0="http://foo"
<xsl:output method="xml" indent="yes" omit-xml-declaration="yes"/>
<xsl:template match="@* | node()">
<xsl:copy>
<xsl:apply-templates select="@* | node()"/>
</xsl:copy>
</xsl:template>
<xsl:template match="/*">
<xsl:element name="ns0:{local-name()}">
<xsl:apply-templates select="@* | node()" />
</xsl:element>
</xsl:template>
<xsl:template match="/">
<xsl:element name="{local-name()}">
<xsl:apply-templates select="@* | node()" />
</xsl:element>
</xsl:template>
</xsl:stylesheet>Some additional info, here is an example payload which goes through the XSLT mapping perfectly, but in PI I get the error about missing ns0 declaration.
XML input:
<bar xmlns='http://irrelevantnamespace'
xmlns:soap='http://schemas.xmlsoap.org/soap/envelope/'
xmlns:xsd='http://www.w3.org/2001/XMLSchema'
xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'>
<foo/>
</bar>
XSLT mapped output using test tool and XSL above:
<?xml version="1.0" encoding="UTF-8"?>
<ns0:bar xmlns:ns0="http://foo">
<foo />
</ns0:bar> -
I want better solution for adjusting the Material stock values for the last
my Customer need to adjust( Decrease) the closing stock values for the following materials / plant wise as on 31.03.2006 for meeting statuary compliance.
Material1 : RS: 4149599 QTY : 10181.03 Ltrs
Material 2 : RS: 1318596 QTY: 2152.76 Ltrs
As per my knowledge MM posting periods can open current month and Previous month only. For the reason I proposed the solution as follows:
Step 1 : post FI Journal Entry on 31.03.2006
Opening Balance G/L Account Dr 4149599 + 1318596
Closting Stock a/c Cr 4149599 + 1318596
Step 2.
Change the Material Price in MM through T.Code: MR21
( Posting will be allowed in current or previous months)
This makes our CO reports accurate.
Please suggest the better solution if it is possible in MM for adjusting the Material stock values for the last financial year.
WIth Best Regards,
Rajesh
<b></b>Hi Madhavan,
Unfortunately this forum deals with migrations from non-Oracle
environments to Oracle. You seem to be dealing with migrations in
an Oracle environment mainly.
I would recommend that you contact Oracle Applications and RDBMS
support directly. They will have the most up to date
information/advice on performing these actions.
Regards
John
Madhavan (guest) wrote:
: Hi John
: Thanks for your reply.
: Actually I am planning to upgrade the system.
: 1. I Want to Upgrade Oracle Financials release 10.7 to the
: latest version (11.x)
: 2. Oracle 7 database to oracle 8 or 8i.
: 3. Oracle is running on NT service pack 3. Do I need to upgrade
: this?. If not what is the impact on Windows NT?
: 4. Is the majority still running smart client 10.7 and database
: 7?
: 5. What is the necessary time to implement these upgrades? What
: type of consulting I need to have?
: 6. I have some employees working on it? Will these changes
: affect them?
: What type of precautions I need to take on the whole??
: Thank You
: Madhavan
Oracle Technology Network
http://technet.oracle.com
null -
Inbound IDOC error (Name MARA is not in the namespace for generated BW Metaobjects)
Hi everybody,
we are currently having some issues with importing idocs into our ERP DEV System and i cannot figure out what the problem could be.
I am trying to import an IDOC Type ARTMAS (5) but i keep getting the following error "Name MARA is not in the namespace for generated BW Metaobjects"
The system is a ERP only system with no BI content activated at all.
I don´t find any more errors nor any dumps or SLG1 entries related to this issue.
Did someone already experienced that kind of problem, or do some of you maybe have an idea where to have a deeper look.
thanks & best regards
Peter
EDIT:
Running on ERP 6.0 EHP 7 SPS 4Hi Ganesh,
I guess there is something wrong with the data in the ODS.
Check this post:
Re: error 18 in the update!
Bye
Dinesh -
Name TCURC is not in the namespace for generated BI meta objects
Hi,
When I try to load data into infocube, I get a short dump during the DTP load with the below message
UNCAUGHT_EXCEPTION
Exception: CX_RSR_X_MESSAGE
Upon analysing the dump analysis I found the below system fields
SY-MSGTY E
SY-MSGID R7
SY-MSGNO 019
SY-MSGV1 TCURC
which gives the message text "Name TCURC is not in the namespace for generated BI meta objects"
If I remove the mapping with Amount KF in the TRFN and load data it works fine without error but on mapping the KF with currency unit I get this error.It is something related to Currency but I'm unable to figure out the problem.
Any suggestions on what could be the problem?
Thanks.Is this the real error?
Please, can you check the currency conversion with the function module CONVERT_TO_LOCAL_CURRENCY?
Have you customize the currency-tables? Use the functions RSA1 -> source system -> context menu -> global settings + exchange rate
Sven -
Namespace for Exchange 2003 == 2010 == 2013 Migration
Hi
Hope someone can help. I am working on an Exchange 2003 to 2010 migration, which will then quickly move onto a 2010 to 2013 migration and need some clarification on the namespaces to use. I am aware that if I do not do this right at the 2003
to 2010 migration, this will cause a headache at the 2010 to 2013 migration.
Some background:
2003 Functional Level Domain - 2 x 2008 DC's
Currently users are on a 2003 exchange cluster with a mix of RPC (internal users) and RPC over HTTP connections (roaming users)
We will be installing Exchange 2010 on a single server, with CAS, HUB and Mailbox roles and no load balancer, as we will be moving quickly to 2013.
We have two Kemp load balancers ready for Exchange 2013.
Exchange 2010 is installed on a single server (exh2010.domain.local) and configured with an CAS array name (exh-cas.domain.local) which is resolvable internally only.
Currently we have multiple smtp namespaces e.g. @company.com, @company2.com.
Our main website etc is www.company.com
Our public facing services are at https://service.mycompany.com
Our 2003 RPC address is https://webmail.mycompany.com
I understand that the 2010 RPC CAS array name should be separated from the Outlook Anywhere (RPC over HTTPS) address so that when 2013 takes over the HTTPS address, the RPC connections are not broken.
Two Questions:
Do we have to use the HTTPS same namespace for 2013 as we do in 2010? Its just I would want to test the Kemp load balancers before making them live (slow careful transition), and giving them a different namespace, e.g.
https://mail.mycompany.com would allow a migration, rather then a cutover.
Can we use the *.mycompany.com address rather then the company.com address, even though we have no SMTP addresses at mycompany.com? Can autodiscover still work?
Thanks in advance for any guidance
Cheers
Steve1. No, but you can. Exchange 2013 will proxy all services for Exchange 2010, so if you set up everything right, you should be able to simply swing the name from Exchange 2010 to 2013.
2. Your web services can be published with any domain as long as the hostname is in the certificate. Only Autodiscover needs to match the e-mail domain(s). So in your example, you could publish OWA, ECP, ActiveSync, Web Services and OAB
at owa.mycompany.com. You would need autodiscover.company.com, autodiscover.company2.com, etc., but if you don't have e-mail addresses with mycompany.com, you don't need autodiscover.mycompany.com. If all users have a company.com e-mail address,
the you only need autodiscover.company.com as long as users know to enter that e-mail address when configuring profiles on PCs or devices. If you're going to have to have Autodiscover for multiple domains, then you might consider using an SRV record
instead because it can greatly simplify your certificate requirements.
Ed Crowley MVP "There are seldom good technological solutions to behavioral problems." -
Changing default target namespace for a JPD
Hi,
Is there a way in Workshop 8.1 to change the target namespace used when a WSDL
is generated from a JPD? Currently, Workshop uses http://www.openuri.org. I
have tried to use the @common:target-namespace annotation in my JPD, but that
appears to only be valid for JWS files. Is there a way to globally set the default
target namespace for an entire Workshop project?
Thanks,
NickAnd to just make it more clear :
and here is the SAP help on the subject:
Transport Layer in ABAP Workbench
The Change and Transport System supports the distribution of development work on large projects across multiple SAP Systems.
The packages in each development system are grouped into one transport layer.
The transport layer determines whether objects are assigned to a local or transportable change request.
Use
Each of your SAP development systems is assigned a transport layer as its standard transport layer. If you use Extended Transport Control, you can assign different standard transport layers to certain clients.
You can define at the most one consolidation target for each SAP System and transport layer.
When you create a package, it is assigned the standard transport layer of the SAP System.
If you want to assign a different transport layer to a package, you require the administration authorization for the Change and Transport System.
The objects in a package automatically have the transport attributes defined for the corresponding transport layer.
If a consolidation route originating in their SAP System is defined, then the objects are assigned to a transportable request, and transported into the consolidation target when it is released.
If a consolidation route is not defined, the objects are assigned to a local request, and are not transported.
Customizing settings are not assigned to a package. They have the transport attributes of the standard transport layer of the system or client.
It is best to assign a package a standard transport layer for which a consolidation route originating in the development system is defined.
To display and maintain the transport layers and routes, use the Transport Management System (transaction STMS).
Only the system adminstrator can make changes.
Caution:
The tables TSYST, DEVL, TWSYS, TASYS are no longer productive as of Release 4.0A and cannot be maintained.
Best regards,
Menelaos -
I get this exception (and long stack trace) when attempting to start my weblogic server. I'm running Weblogic 7 with Portal 7 (sp 1). I'm using Oracle 8.1.7. I upgraded this application from weblogic portal 4.0, and never had this problem there. As part of the migration process, I ran the tool to migrate all of the database tables, and I re-synched the EBCC project using version 7 of EBCC. I did a search for this problem and found a few mentions of it that seemed to be related to Oracle's handling of CLOB data. Apparently, there is a patch, but I can't seem to find this patch. I'm also not sure if this is indeed the problem since I didn't have this issue with the older version of weblogic using the same database. Any suggestions?
If you have a support contract please open a case so we can work through
this problem.
Can you run an sqlplus session on your database, execute the commands
"delete from data_sync_item" and "commit", then resync to see if it will
get you around the problem. The data_sync_item table will be fully
populated after you sync. This should get you running.
Between 4.0 and 7.0 the DefaultRequestPropertySet.req file was reduced
in size -- the CLOB would be smaller in the data_sync_item table.
I would recommend using the Version Checker against your installation --
find it on the dev2dev.bea.com site to see if the upgrade installer work
ed properly. Also consider running the full installer to avoid possible
problems that might occur with upgrade installers.
As a result of that patch you referenced in 4.0 the CLOB handling logic
was changed in 7.0 -- this is why it is strange you are seeing cleaving
errors. In 7.0 SP2 to be release next week the data sync and
persistence code was changed also.
Are you using the OCI or Thin driver?
-- Jim
Rob Goldie wrote:
Jim Litton <replyto@newsgroup> wrote:
Rob,
The CLOB issue was related to wlportal4.0 and should not be a factor
in
7.0.
Could you post the entire stack trace?
####<Jan 27, 2003 4:21:47 PM EST> <Warning> <Data Synchronization> <PFIDEV5> <pfeAricept1Server>
<main> <kernel identity> <> <000000> <Application: gmiAriceptApp; Failed to retrieve
a schema URI (document namespace) for /request/DefaultRequestPropertySet.req;
please see the following exception for details.>
Exception[com.bea.p13n.management.data.doc.DocumentProcessingException: Unable
to analyze and/or cleave document]
at com.bea.p13n.management.data.doc.cleaver.CleavingDocumentProcessor.process(CleavingDocumentProcessor.java:94)
at com.bea.p13n.management.data.repository.internal.DataItemImpl.getSchemaUri(DataItemImpl.java:136)
at com.bea.p13n.management.data.repository.DataRepositoryFactory.createDataItem(DataRepositoryFactory.java:363)
at com.bea.p13n.management.data.repository.persistence.JdbcDataSource.createDataItems(JdbcDataSource.java:523)
at com.bea.p13n.management.data.repository.persistence.JdbcDataSource.refresh(JdbcDataSource.java:442)
at com.bea.p13n.management.data.repository.persistence.ReadOnlyJdbcPersistenceManager.refresh(ReadOnlyJdbcPersistenceManager.java:107)
at com.bea.p13n.management.data.repository.internal.AbstractDataRepository.<init>(AbstractDataRepository.java:193)
at com.bea.p13n.management.data.repository.internal.MasterDataRepository.<init>(MasterDataRepository.java:46)
at com.bea.p13n.management.data.repository.DataRepositoryFactory.getMasterDataRepository(DataRepositoryFactory.java:255)
at com.bea.p13n.placeholder.internal.PlaceholderServiceImpl.ejbCreate(PlaceholderServiceImpl.java:191)
at com.bea.p13n.placeholder.internal.PlaceholderServiceImpl_9p0jz2_Impl.ejbCreate(PlaceholderServiceImpl_9p0jz2_Impl.java:117)
at java.lang.reflect.Method.invoke(Native Method)
at weblogic.ejb20.pool.StatelessSessionPool.createBean(StatelessSessionPool.java:151)
at weblogic.ejb20.pool.Pool.createInitialBeans(Pool.java:188)
at weblogic.ejb20.manager.StatelessManager.initializePool(StatelessManager.java:380)
at weblogic.ejb20.deployer.EJBDeployer.initializePools(EJBDeployer.java:1472)
at weblogic.ejb20.deployer.EJBDeployer.start(EJBDeployer.java:1367)
at weblogic.ejb20.deployer.Deployer.deploy(Deployer.java:864)
at weblogic.j2ee.EJBComponent.deploy(EJBComponent.java:81)
at weblogic.j2ee.Application.addComponent(Application.java:294)
at weblogic.j2ee.J2EEService.addDeployment(J2EEService.java:164)
at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java:375)
at weblogic.management.mbeans.custom.DeploymentTarget.addDeployments(DeploymentTarget.java:303)
at weblogic.management.mbeans.custom.DeploymentTarget.updateServerDeployments(DeploymentTarget.java:256)
at weblogic.management.mbeans.custom.DeploymentTarget.updateDeployments(DeploymentTarget.java:207)
at java.lang.reflect.Method.invoke(Native Method)
at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:732)
at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:714)
at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:417)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1557)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1525)
at weblogic.management.internal.RemoteMBeanServerImpl.invoke(RemoteMBeanServerImpl.java:926)
at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:470)
at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:198)
at $Proxy9.updateDeployments(Unknown Source)
at weblogic.management.configuration.ServerMBean_CachingStub.updateDeployments(ServerMBean_CachingStub.java:4060)
at weblogic.management.deploy.slave.SlaveDeployer.updateServerDeployments(SlaveDeployer.java:2259)
at weblogic.management.deploy.slave.SlaveDeployer.resume(SlaveDeployer.java:373)
at weblogic.management.deploy.DeploymentManagerServerLifeCycleImpl.resume(DeploymentManagerServerLifeCycleImpl.java:235)
at weblogic.t3.srvr.ServerLifeCycleList.resume(ServerLifeCycleList.java:61)
at weblogic.t3.srvr.T3Srvr.resume(T3Srvr.java:806)
at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:295)
at weblogic.Server.main(Server.java:32)
Caused by: org.xml.sax.SAXException: No message available. Resource not found:
repository.cleaver.no.xsi.namespace.exception Resource bundle: com/bea/p13n/management/data/datasync
at com.bea.p13n.management.data.doc.cleaver.DocumentCleaver.mapNamespaces(DocumentCleaver.java:135)
at com.bea.p13n.management.data.doc.cleaver.DocumentCleaver.startElement(DocumentCleaver.java:235)
at weblogic.apache.xerces.parsers.SAXParser.startElement(SAXParser.java:1384)
at weblogic.apache.xerces.validators.common.XMLValidator.callStartElement(XMLValidator.java:1299)
at weblogic.apache.xerces.framework.XMLDocumentScanner.scanElement(XMLDocumentScanner.java:1821)
at weblogic.apache.xerces.framework.XMLDocumentScanner$ContentDispatcher.dispatch(XMLDocumentScanner.java:964)
at weblogic.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocumentScanner.java:396)
at weblogic.apache.xerces.framework.XMLParser.parse(XMLParser.java:1119)
at weblogic.xml.jaxp.WebLogicXMLReader.parse(WebLogicXMLReader.java:135)
at weblogic.xml.jaxp.RegistryXMLReader.parse(RegistryXMLReader.java:133)
at com.bea.p13n.management.data.doc.cleaver.CleavingDocumentProcessor.process(CleavingDocumentProcessor.java:80)
at com.bea.p13n.management.data.repository.internal.DataItemImpl.getSchemaUri(DataItemImpl.java:136)
at com.bea.p13n.management.data.repository.DataRepositoryFactory.createDataItem(DataRepositoryFactory.java:363)
at com.bea.p13n.management.data.repository.persistence.JdbcDataSource.createDataItems(JdbcDataSource.java:523)
at com.bea.p13n.management.data.repository.persistence.JdbcDataSource.refresh(JdbcDataSource.java:442)
at com.bea.p13n.management.data.repository.persistence.ReadOnlyJdbcPersistenceManager.refresh(ReadOnlyJdbcPersistenceManager.java:107)
at com.bea.p13n.management.data.repository.internal.AbstractDataRepository.<init>(AbstractDataRepository.java:193)
at com.bea.p13n.management.data.repository.internal.MasterDataRepository.<init>(MasterDataRepository.java:46)
at com.bea.p13n.management.data.repository.DataRepositoryFactory.getMasterDataRepository(DataRepositoryFactory.java:255)
at com.bea.p13n.placeholder.internal.PlaceholderServiceImpl.ejbCreate(PlaceholderServiceImpl.java:191)
at com.bea.p13n.placeholder.internal.PlaceholderServiceImpl_9p0jz2_Impl.ejbCreate(PlaceholderServiceImpl_9p0jz2_Impl.java:117)
at java.lang.reflect.Method.invoke(Native Method)
at weblogic.ejb20.pool.StatelessSessionPool.createBean(StatelessSessionPool.java:151)
at weblogic.ejb20.pool.Pool.createInitialBeans(Pool.java:188)
at weblogic.ejb20.manager.StatelessManager.initializePool(StatelessManager.java:380)
at weblogic.ejb20.deployer.EJBDeployer.initializePools(EJBDeployer.java:1472)
at weblogic.ejb20.deployer.EJBDeployer.start(EJBDeployer.java:1367)
at weblogic.ejb20.deployer.Deployer.deploy(Deployer.java:864)
at weblogic.j2ee.EJBComponent.deploy(EJBComponent.java:81)
at weblogic.j2ee.Application.addComponent(Application.java:294)
at weblogic.j2ee.J2EEService.addDeployment(J2EEService.java:164)
at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java:375)
at weblogic.management.mbeans.custom.DeploymentTarget.addDeployments(DeploymentTarget.java:303)
at weblogic.management.mbeans.custom.DeploymentTarget.updateServerDeployments(DeploymentTarget.java:256)
at weblogic.management.mbeans.custom.DeploymentTarget.updateDeployments(DeploymentTarget.java:207)
at java.lang.reflect.Method.invoke(Native Method)
at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:732)
at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:714)
at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:417)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1557)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1525)
at weblogic.management.internal.RemoteMBeanServerImpl.invoke(RemoteMBeanServerImpl.java:926)
at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:470)
at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:198)
at $Proxy9.updateDeployments(Unknown Source)
at weblogic.management.configuration.ServerMBean_CachingStub.updateDeployments(ServerMBean_CachingStub.java:4060)
at weblogic.management.deploy.slave.SlaveDeployer.updateServerDeployments(SlaveDeployer.java:2259)
at weblogic.management.deploy.slave.SlaveDeployer.resume(SlaveDeployer.java:373)
at weblogic.management.deploy.DeploymentManagerServerLifeCycleImpl.resume(DeploymentManagerServerLifeCycleImpl.java:235)
at weblogic.t3.srvr.ServerLifeCycleList.resume(ServerLifeCycleList.java:61)
at weblogic.t3.srvr.T3Srvr.resume(T3Srvr.java:806)
at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:295)
at weblogic.Server.main(Server.java:32)
Are you using a UTF-8 Oracle database?
Yes
If you create a new User Profile in the EBCC and compare it to your
migrated .usr file do you see differences in the DTD's?
I recreated a new version of the .usr in the EBCC, and still got the same error.
I also tried deleting everything from the data-sync-item table and re-synching.
What does the DocumentManager section of your application-config.xml
look like?
<DocumentManager
ContentCacheName="documentContentCache"
ContentCaching="true"
DocumentConnectionPoolName="default"
MaxCachedContentSize="32768"
MetadataCacheName="documentMetadataCache"
MetadataCaching="true"
Name="default"
PropertyCase="none"
UserIdInCacheKey="false"
/>
What does the document.jar Targets="" parameter look like in config.xml?
<EJBComponent Name="document" Targets="pfeCluster" URI="document.jar"/>
-- Jim
Rob Goldie wrote:
I get this exception (and long stack trace) when attempting to start
my weblogic server. I'm running Weblogic 7 with Portal 7 (sp 1). I'm
using Oracle 8.1.7. I upgraded this application from weblogic portal
4.0, and never had this problem there. As part of the migration process,
I ran the tool to migrate all of the database tables, and I re-synched
the EBCC project using version 7 of EBCC. I did a search for this problem
and found a few mentions of it that seemed to be related to Oracle's
handling
of CLOB data. Apparently, there is a patch, but I can't seem to find
this patch. I'm also not sure if this is indeed the problem since I
didn't have this issue with the older version of weblogic using the
same database. Any suggestions? -
Separate details for Adjustment transaction files
Hi,
As an out put from Time Evaluation I need to generate report for Oracle payroll office. For that I need to produce separate transcation file for adjustment days (post period regularization of attendance and absence days) of previous months. Can writing a new PCR in time evaluation schema be of any help and what will be that PCR like.
Thanks and regards,
PayalCan you please show the code which you run to backup transaction log and I guess you have added verify backup task as well ?
It seems its failing during verifying trn logs
Please mark this reply as answer if it solved your issue or vote as helpful if it helped so that other forum members can benefit from it
My Technet Wiki Article
MVP -
Schema validation not enforcing full datetime or timezone formats
We have a schema definition which requires that all date elements are in the format YYYY-MM-DDTHH:MM:SSZ (eg 2010-06-05T05:26:59Z),
so to register this in Oracle we have added xdb:SQLType="TIMESTAMP WITH TIME ZONE" against the date elements.
However if a date contains a value in YYYY-MM-DD format, then the schema passes validation in Oracle. This is incorrect as the same
xml fails validation in Altova XMLSpy. [http://www.w3schools.com/schema/schema_dtypes_date.asp] confirms that all components of the date
format are required.
To illustrate my point:
SQL*Plus: Release 10.2.0.1.0 - Production on Tue Oct 5 11:19:15 2010
Copyright (c) 1982, 2005, Oracle. All rights reserved.
Connected to:
Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
SQL> DECLARE
2 xmlschema CLOB := '<?xml version="1.0" encoding="UTF-8"?>
4 <xs:schema xmlns:xdb="http://xmlns.oracle.com/xdb" xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified">
5 <xs:complexType name="dateTypes" mixed="true" xdb:SQLType="DATES_T">
6 <xs:sequence>
7 <xs:element name="date" type="xs:date"/>
8 <xs:element name="dateTime" type="xs:dateTime"/>
9 <xs:element name="timestamp" type="xs:dateTime" xdb:SQLType="TIMESTAMP WITH TIME ZONE"/>
10 </xs:sequence>
11 </xs:complexType>
12 <xs:element name="Test" type="dateTypes" xdb:defaultTable="DATE_TABLE"/>
13 </xs:schema>' ;
14 BEGIN
15 dbms_xmlschema.registerSchema (schemaURL => 'Testdate.xsd',
16 schemaDoc => xmlschema,
17 local => TRUE,
18 genTypes => TRUE,
19 genBean => FALSE,
20 genTables => TRUE);
21 END;
22 /
PL/SQL procedure successfully completed.
SQL> DECLARE
2 xmlfile XMLTYPE := xmltype('<Test>
3 <date>2010-06-05</date>
4 <dateTime>2010-06-05T05:26:59</dateTime>
5 <timestamp>2010-06-05T05:26:59Z</timestamp>
6 </Test>') ;
7 BEGIN
8 xmlfile := xmlfile.createSchemaBasedXML ('Testdate.xsd');
9 xmlfile.schemaValidate ();
10 END;
11 /
PL/SQL procedure successfully completed.
SQL> SQL> DECLARE
2 xmlfile XMLTYPE := xmltype('<Test>
3 <date>2010-06-05</date>
4 <dateTime>2010-06-05</dateTime>
5 <timestamp>2010-06-05</timestamp>
6 </Test>') ;
7 BEGIN
8 xmlfile := xmlfile.createSchemaBasedXML ('Testdate.xsd');
9 xmlfile.schemaValidate ();
10 END;
11 /
PL/SQL procedure successfully completed.
The latter xml should fail. Validating this in XMLSpy it gives the error:
Value '2010-06-05' is not allowed for element <dateTime>.
Hint: A valid value would be '2001-12-17T09:30:47Z'.
Error location: Test / dateTime
Details
cvc-datatype-valid.1.2.1: For type definition 'xs:dateTime' the string '2010-06-05' does not match a literal in the lexical space of built-in type definition 'xs:dateTime'.
cvc-simple-type.1: For type definition 'xs:dateTime' the string '2010-06-05' is not valid.
cvc-type.3.1.3: The normalized value '2010-06-05' is not valid with respect to the type definition 'xs:dateTime'.
cvc-elt.5.2.1: The element <dateTime> is not valid with respect to the actual type definition 'xs:dateTime'.
Is there any way to enforce validation of the full format?
We are running Oracle 10.2.0.4 on Linux.
JonSQL> sho user
USER is "OTN"
SQL> desc date_table
Name Null? Type
TABLE of SYS.XMLTYPE(XMLSchema "Testdate.xsd" Element "Test") STORAGE Object-relational TYPE "DATES_T"
SQL> desc "DATES_T"
"DATES_T" is NOT FINAL
Name Null? Type
SYS_XDBPD$ XDB.XDB$RAW_LIST_T
date DATE
dateTime TIMESTAMP(6)
timestamp TIMESTAMP(6) WITH TIME ZONE
SQL> DECLARE
2 xmlfile XMLTYPE := xmltype('<Test xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3 xsi:noNamespaceSchemaLocation="Testdate.xsd">
4 <date>2010-06-05</date>
5 <dateTime>2010-06-05</dateTime>
6 <timestamp>2010-06-05</timestamp>
7 </Test>') ;
8 BEGIN
9 xmlfile.schemaValidate ();
10 END;
11 /
PL/SQL procedure successfully completed.
Elapsed: 00:00:00.00
SQL> DECLARE
2 xmlfile XMLTYPE := xmltype('<Test xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3 xsi:noNamespaceSchemaLocation="Testdate.xsd">
4 <date>2010-06-05</date>
5 <dateTime>2010-06-05</dateTime>
6 <timestamp>2010-06-05</timestamp>
7 </Test>') ;
8 BEGIN
9 insert into date_table
10 values
11 (xmlfile);
12 END;
13 /
PL/SQL procedure successfully completed.
Elapsed: 00:00:00.00
SQL> select * from date_table;
SYS_NC_ROWINFO$
<Test xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchem
aLocation="Testdate.xsd"><date>2010-06-05</date><dateTime>2010-06-05T00:00:00.00
0000</dateTime><timestamp>2010-06-05T00:00:00.000000+00:00</timestamp></Test>
SQL>DECLARE
2 xmlfile XMLTYPE := xmltype('<Test xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3 xsi:noNamespaceSchemaLocation="Testdate.xsd">
4 <date>2010-06-05</date>
5 <dateTime>2010-06-05T05:26:59</dateTime>
6 <timestamp>2010-06-05T05:26:59Z</timestamp>
7 </Test>') ;
8 BEGIN
9 insert into date_table
10 values
11 (xmlfile);
12 END;
13 /
PL/SQL procedure successfully completed.
Elapsed: 00:00:00.00
SQL> select * from date_table;
SYS_NC_ROWINFO$
<Test xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchem
aLocation="Testdate.xsd"><date>2010-06-05</date><dateTime>2010-06-05T00:00:00.00
0000</dateTime><timestamp>2010-06-05T00:00:00.000000+00:00</timestamp></Test>
<Test xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchem
aLocation="Testdate.xsd"><date>2010-06-05</date><dateTime>2010-06-05T05:26:59.00
0000</dateTime><timestamp>2010-06-05T05:26:59.000000+00:00</timestamp></Test>
Elapsed: 00:00:00.01Edited by: Marco Gralike on Oct 5, 2010 5:40 PM -
Best method for adjusting a movie clips brightness?
Can someone share their method for adjusting the brightness of a Movie Clip? With code of course : )
thanks!under AS3 you can do this using the 'brightness' property of the Color class, as in:
import fl.motion.Color;
var color = new Color();
color.brightness = 0.5;
myMC.transform.colorTransform = color;
(ps. the range is from -1.0 to 1.0 negative being 'darken', positve being 'lighten') -
Namespace for a closed request
Namespace for a closed request
Hi - does anyone know how to configure a namespace that will take the customer directly to their closed request (this would be an email they would receive). I know how to direct them to an authorization or to servicemanager, but I don't know if we can direct them to their closed request.
Any ideas will be appreciated!
Thanks - WendyHi Wendy -
Here is another namespace that can be used as well:
USE CASE:
Provide a hyperlink in an email notification to the customer that resolves to the submitted Requisition vs. the MyServices Module landing page.
NAMESPACE:
#Site.URL#myservices/navigate.do?query=requisition&requisitionId=#Service.Requisition.RequisitionID#&query=requisition -
Namespace for Authorisations
Hi,
Is there a namespace that holds who (preferably the email address) approved the requisition?
Im hoping that we can do something like - #Service.Requisition.Approver.Email#
thanks
DavidThis is the query that we used:
select distinct a.RequisitionID as reqId, c.Subject as TaskName,c.CompletedOn,b.RequisitionEntryID as arrEntryId, d.Name as ServiceName, u.Loginname as 'ApproverId', t.FirstName + ' ' + t.LastName as 'ApproverName', r.Description as 'StateDescription', c.ActivityID, f.ChannelID from [RequestCenterDev2].[dbo].[TxRequisition] a join [RequestCenterDev2].[dbo].[TxRequisitionEntry] b on a.RequisitionID=b.RequisitionID join [RequestCenterDev2].[dbo].[TxActivity] c on c.ticketID= b.RequisitionEntryID join [RequestCenterDev2].[dbo].[DefService] d on d.ServiceId=b.ServiceId join [RequestCenterDev2].[dbo].[DirPersonExt] e on a.OwnerID=e.personID right join [RequestCenterDev2].[dbo].[XtrChannelInfo] f on a.RequisitionID = f.RequisitionID join [RequestCenterDev2].[dbo].[XtrChannelInfo] g on f.ChannelID = g.ChannelID join [RequestCenterDev2].[dbo].[TxActivity] h on g.ActivityID = h.ActivityID join [RequestCenterDev2].[dbo].[DefFSMState] r on c.StateID = r.StateID join [RequestCenterDev2].[dbo].[TxActivityAssignment] s on s.ActivityID = c.ActivityID join [RequestCenterDev2].[dbo].[DirPerson] t on t.PersonID = s.PerformerID join [RequestCenterDev2].[dbo].[DirNetworkInfo] u on u.PersonID = t.PersonID WHERE c.Subject IN ('Approver 1', 'Approver 2', 'Get Approvers') AND f.AgentID = 7 AND h.StateID != 3 ORDER BY reqId, ActivityID -
Setting a namespace for an entire message
Hello,
When creating a message type, it is possible to set a XML namespace for the message. But I observed that this namespace is only set for the root element an not for the entire message. The namespace is set like this in the resulting message:
<ns1:UpdateDictionaryItem xmlns:ns1 ="http://www.namespace.com">
<District>
<Name>SERV3</Name>
<RegionParent>0001</RegionParent>
</District>
</ns1:UpdateDictionaryItem>
But I would need it like this:
<ns1:UpdateDictionaryItem xmlns:ns1 ="http://www.namespace.com">
<ns1:District>
<ns1:Name>SERV3</ns1:Name>
<ns1:RegionParent>0001</ns1:RegionParent>
</ns1:District>
</ns1:UpdateDictionaryItem>
or like this:
<UpdateDictionaryItem xmlns ="http://www.namespace.com">
<District>
<Name>SERV3</Name>
<RegionParent>0001</RegionParent>
</District>
</:UpdateDictionaryItem>
Is there a way to do that?
regards,
Jens HarzerHello,
I tried it, but PI seems to ignore that ;). I did it like this
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.namespace.com" targetNamespace="http://www.namespace.com">
<xsd:element name="UpdateDictionaryItem">
<xsd:complexType>
<xsd:annotation>
<xsd:documentation xml:lang="EN">
UpdateDictionaryItem
</xsd:documentation>
</xsd:annotation>
<xsd:sequence>
<xsd:element name="District" xmlns="http://www.namespace.com">
<xsd:complexType>
<xsd:sequence>
<xsd:element xmlns="http://www.namespace.com" name="Key" type="xsd:integer" minOccurs="0" />
<xsd:element xmlns="http://www.namespace.com" name="Revision" type="xsd:integer" minOccurs="0" />
<xsd:element xmlns="http://www.namespace.com" name="Name" type="xsd:string" minOccurs="0" />
<xsd:element xmlns="http://www.namespace.com" name="RegionParent" type="xsd:string" minOccurs="0" />
and so on... Maybe I did something wrong?
Maybe you are looking for
-
Problems sharing internet connection - works only one way...
hey all, i'm having a problem sharing my internet connection between our "new" iBook G4 and "old" iMac G5. (both machines are running 10.4.10.) i've seen several posts here that seem related, but no answers that have worked in my case. here's the gis
-
Could Not Connect to Security Token Service Application
Receiving the following: Get-SPSite : Could not connect to http://localhost:32843/SecurityTokenServiceApplication/securitytoken.svc. TCP error code 10061: No connection could be made I have validated the site and app pool exist and are running... how
-
IMovie '14: Instant replay, doesn't work
In iMovie '14, when I have selected a clip, I can select " modify" and "instant replay", but the selection of "100%" "50%" etc stays in grey. So I cannot select this modification to the clip. Also changing of speed isn't possible. See the picture bel
-
Cannot open / process more than 30 BMPs
I want to open about 50 small .BMPs (88x88) so I can create a master palette that I will then batch apply to all these images. The problem is that Photoshop CS3 (10.0.1) will open 30 of them and then just stop. No crash, no error message; it just sto
-
Difficulty with simple clipping mask project
I'm just learning Illustrator (CS3) and have a simple project that I'm having trouble with. I'm hoping someone can give me a brief step-by-step. Basically, I'm making a cube and want to "insert" a photo into the front side of the cube using a clippin