XML Signature Verification Failing.... Need help

Hi,
I am trying to do signing and encryption at our side and try to decrypt and verify the sign at destination side.
Here i succeeded with signing, encryption and decryption. but failing at verification part. Can any body help me finding what mistake iam doing ?
Here i am copying the encrypted data from one server and giving input to other server to decrypt and verify sign.
Any help is greatly appreciated
Here is the log :
I am not requested to follow nested Manifests
2005-07-20 18:34:34,546 DEBUG [Thread-593] [org.apache.xml.security.utils.ElementProxy] [] setElement("ds:Reference", "thismessage:/")
2005-07-20 18:34:34,546 DEBUG [Thread-593] [org.apache.xml.security.utils.Base64] [] I was asked to decode "hfHBf9N+SL3lU9Tz8qYcR5Gz48E="
2005-07-20 18:34:34,546 DEBUG [Thread-593] [org.apache.xml.security.utils.resolver.ResourceResolver] [] I was asked to create a ResourceResolver and got 0
2005-07-20 18:34:34,546 DEBUG [Thread-593] [org.apache.xml.security.utils.resolver.ResourceResolver] [] extra resolvers to my existing 5 system-wide resolvers
2005-07-20 18:34:34,609 DEBUG [Thread-593] [org.apache.xml.security.utils.resolver.ResourceResolver] [] check resolvability by class org.apache.xml.security.utils.resolver.implementations.ResolverDirectHTTP
2005-07-20 18:34:34,609 DEBUG [Thread-593] [org.apache.xml.security.utils.resolver.ResourceResolver] [] check resolvability by class org.apache.xml.security.utils.resolver.implementations.ResolverLocalFilesystem
2005-07-20 18:34:34,609 DEBUG [Thread-593] [org.apache.xml.security.utils.resolver.ResourceResolver] [] check resolvability by class org.apache.xml.security.utils.resolver.implementations.ResolverFragment
2005-07-20 18:34:34,937 DEBUG [Thread-593] [org.apache.xml.security.utils.ElementProxy] [] setElement("ds:Transforms", "thismessage:/")
2005-07-20 18:34:34,968 DEBUG [Thread-593] [org.apache.xml.security.utils.ElementProxy] [] setElement("ds:Transform", "thismessage:/")
2005-07-20 18:34:34,968 DEBUG [Thread-593] [org.apache.xml.security.transforms.Transforms] [] Preform the (0)th http://www.w3.org/TR/2001/REC-xml-c14n-20010315 transform
2005-07-20 18:34:35,000 DEBUG [Thread-593] [org.apache.xml.security.algorithms.JCEMapper] [] Request for URI http://www.w3.org/2000/09/xmldsig#sha1
2005-07-20 18:34:35,015 DEBUG [Thread-593] [org.apache.xml.security.algorithms.JCEMapper] [] Found SHA-1 from provider BC
2005-07-20 18:34:35,078 DEBUG [Thread-593] [org.apache.xml.security.signature.Reference] [] <OrderCreate Version ...
2005-07-20 18:34:35,078 WARN [Thread-593] [org.apache.xml.security.signature.Reference] [] Verification failed for URI ""
2005-07-20 18:34:35,078 DEBUG [Thread-593] [org.apache.xml.security.signature.Reference] [] unverifiedDigestValue= hfHBf9N+SL3lU9Tz8qYcR5Gz48E=
2005-07-20 18:34:35,078 DEBUG [Thread-593] [org.apache.xml.security.signature.Reference] [] calculatedDigestValue= XBKGSvU5kiErHoBXSEeqJ8JUgZU=
2005-07-20 18:34:35,078 DEBUG [Thread-593] [org.apache.xml.security.signature.Manifest] [] The Reference has Type
2005-07-20 18:34:35,078 INFO [Thread-593] Signature Validation Result ----------- = false
Thanks in Advance.
-AnamS

Hi got the problem. Its rectified.
-Surendra

Similar Messages

  • Signature verification failed

    Hi all,
    I've been seeing a really weird problem with signing my HTML5 extension for Illustrator. I'm using the ZXPSignCmd tool to create a .zxp bundle and sign my extension from the command line. I'm able to install the extension using the Extension Manager, and I've also been able to distribute it to a private group through Adobe Exchange. It installs just fine, and runs great the first time, but after closing Illustrator and reopening it the extension often fails to load and just shows a blank window. I'm on a Mac, and looking at the log file here shows the following error when it happens:
    /Users/<<userName>>/Library/Logs/CSXS/csxs-ILST.log
    2014-12-17 10:18:02 : ERROR Signature verification failed for <<extensionID>>
    This is the only indication I have that it is a problem with the certificate. It seems really strange that it installs without errors and works once, but then fails when trying to load again. I was using a self-signed certificate, but I just bought a certificate from DigiCert to see if that would help, but I'm still having the same problem.
    This actually happens very rarely on my machine, but happens frequently to my other users. I assume this is somehow because I have been doing the development on this computer, so something is different about my extension environment.
    Has anyone else seen this issue at all? Does anyone have any tips that might help me to debug this? Other log files to look at, potential problems with the certificate or manifest file? I've tried about everything I could think of, so any help would be greatly appreciated!
    Thanks,
    James

    Nailed :-)
    For the folder you might save files into, there are few tokens in CEP:
    /* Identifies the path to user data.  */
    SystemPath.USER_DATA = "userData";
    /* Identifies the path to common files for Adobe applications.  */
    SystemPath.COMMON_FILES = "commonFiles";
    /* Identifies the path to the user's default document folder.  */
    SystemPath.MY_DOCUMENTS = "myDocuments";
    /* Identifies the path to current extension.  */
    /* DEPRECATED, PLEASE USE EXTENSION INSTEAD.  */
    SystemPath.APPLICATION = "application";
    /* Identifies the path to current extension.  */
    SystemPath.EXTENSION = "extension";
    /* Identifies the path to hosting application's executable.  */
    SystemPath.HOST_APPLICATION = "hostApplication";
    Otherwise you can rely on JSX folder tokens such as Folder.appData, Folder.userData etc (see a complete list on pages 56-57 of the JavaScript Tools Guide pdf) and create your extension's own folder.
    Mind you, CEP extensions should support both indexedDB and localStorage - one of them might fit your needs.
    Best
    Davide Barranca
    www.davidebarranca.com
    www.cs-extensions.com

  • Signature verification failed for PolicyAssignmentID

    I am in the process of setting up a new SCCM 2012 R2 server.  I have just begun to add some test boxes to the environment and every server thus far is registering in SCCM but is not pulling down its policies.  When doing a policy retrieval evaluation
    cycle the below is
    immediately spit out in the PolicyAgent.log file.  Any help would be
    appreciated!
    Signature verification failed for PolicyAssignmentID {XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX}
    Raising event:
    instance of CCM_PolicyAgent_PolicyAuthorizationFailure
     ClientID = "GUID:F504615C-04F8-462D-B341-265C2FAEE7E7";
     DateTime = "20140708132926.819000+000";
     PolicyNamespace = "\\\\.\\ROOT\\ccm\\policy\\Machine\\RequestedConfig";
     PolicySource = "SMS:RET";
     ProcessID = 3532;
     ThreadID = 4320;

    It seems I have resolved my issue.  The cause was in the AD publishing.  I'm not sure if some parts were corrupt or simply missing but after removing the AD forest from 'Administration\Hierarchy Configuration\Active Directory Forests' in the
    SCCM admin console and re-adding it back SCCM was able to republish the needed info.  Then after a few minutes to allow for replication I was able to run a machine policy cycle which pulled all of my policies down!

  • Digital signature verification failed - Error RTCCTOOL

    Hi guys !!!
    I am running the report from the SDCCNN - RTCCTOOL, but I get the following error message:
    1. Digital signature verification failed
    Description -  The verification of the recommendation content using digital signatures has failed. Therefore recommendations were suppressed.
    Implementation -  Consult SAP note 69455 if there is a known issue with content verification. If you do not find a solution open a customer message on SV-SMG-SDD.
    When I Goto - Digital signatures Activate button digital content verification is disabled.
    Then go to the transaction on the client STRUST 000 and I found the certificate: SSF SAP AGS Online Content View The certificate shows:
    Owner: CN=SID SSF SAP AGS Online Content Verification, OU=I0020596183, OU=SAP Web AS, O=SAP Trust Community, C=DE
    Certificate List: CN=Online Recommendations, CN=OR-C, CN=V01M, OU=AGS, O=SAP AG, C=DE
                CN=Online Recommendations Upd, CN=OR-U, CN=V01M, OU=AGS, O=SAP AG, C=DE
    Both certificates will expire on 01.01.2038.
    According to the help and OSS note 69455 tell me again that I must create this certificate every year, but I see this current certificate, what is the error?
    What is the process because I'm not clear and can not find another OSS note or the SDN forum to tell me what is wrong is happening.
    Thanks guys for the help I can provide.
    Desiré

    Hi all.
    I have the same problem and explore all possible solutions found in this discussion and others without satisfactory result.
    Everything points that may be an inconsistency error external certificate which is in the DB. Anyone know how to fix this.
    Greetings.

  • Can't download an xml file to desktop - Need help

    Hello, I need to save an xml file to my desktop. Each time I try, the xml file saves as a Final Cut Pro icon. When I try to open or upload the xml file - Final Cut automatically opens (which I don't want) and it is unable to show/translate the xml. How can I get my imac to download and upload xml properly?
    I need to do this so that I can use the bulk mail "Dazzle" function on Endicia for online postage. Help please and thanks so much.

    Sean Moor wrote:
    Okay, for Endicia to open the xml file it has to be in a format such as my_file.xml but when I try to put it onto my desktop, the .xml file defaults to a Text Edit file for example my_file.xml.txt
    Just highlight the file, hit the "return" key, and you can edit the file's name. Just highlight ".txt" and delete it. You'll should get a prompt asking you if you really want to change the extension to "xml" from "txt". Just click on the "Use xml" button. That should change the extension.
    You can also edit the extension in the "Get Info" inspector in the Finder. Just highlight your file and use the "command"-"i" key combo or choose "Get Info" from the Finder's File menu.
    You shouldn't need Office to work with XML files. They're just text files. In fact, a great app for working with XML files is free: TextWrangler is really good for editing XML files...
    charlie

  • SCUP publishing errors (signature verification fails)

    I have been unable to publish updates with full content in SCUP since getting it set up. Here is the environment:
    Config Manager 2012 R2 environment
    Installed SCUP on CAS (running Server 2008 R2)
    Configured SCUP to use proxy
    Here are the steps I followed to get it set up:
    Used IIS Manager to create a certificate request and got certificate from our vendor.
    Imported cert into local computer Personal certificate store.
    Following
    System Center Updates Publisher Signing Certificate Requirements & Step-by-Step Guide, exported .pfx with private keys for SCUP and exported .cer without keys into the Trusted Publishers and Trusted Root Certificate Authorities on the SCUP/CAS server.
    I also configured a GPO to deploy these to clients.
    Set up the Adobe catalogs, then tried to publish a reader update. Metadata updates work OK, but a full content publish generates errors.
    These are the germane errors I am getting (with server name changed to something generic):
    2015-01-07 20:16:04.100 UTC Error
    Scup2011.6 Publisher.PublishPackage
    PublishPackage(): Operation Failed with Error: Verification of file signature failed for file: \\ServerName\UpdateServicesPackages\9b8d0f21-d926-4a76-b64a-592b36247622\df7bfb6e-6c22-4bb7-9f15-b61ee3e09f96_1.cab
    1/1/1601 12:00:00 AM
    1997295659 (0x770C502B)
    PublishItem: InvalidException occurred during publishing: Verification of file signature failed for file: \\ServerName\UpdateServicesPackages\9b8d0f21-d926-4a76-b64a-592b36247622\df7bfb6e-6c22-4bb7-9f15-b61ee3e09f96_1.cab
    Updates Publisher 1/7/2015 3:16:04 PM
    6 (0x0006)
    Publish: A fatal error occurred during publishing :Signature verification exception during publish, verify the WSUS certificates and advanced timestamp setting are properly configured.
    Updates Publisher 1/7/2015 3:16:04 PM
    6 (0x0006)
    I have a followed or looked at a bunch of potential fixes but no dice. Any ideas?

    That might be the vendor of the cert but does not tell anything about the type of cert. It has to be a code signing one - otherwise it won't work.
    Torsten Meringer | http://www.mssccmfaq.de

  • Adobe Acrobat X Pro: signature verification failing on 64bit Windows 7

    Hi,
    I have developed a plug-in for digital signing, creating standard PKCS#7. For verification, using default "Adobe Default Security" plug-in.
    "Adobe Default Security" verifying my created signatures successfully on Windows 7 32bit machine but failing to verify signature created on Windows 7 64bit machine.
    Message shown on 64bit machine is below:
    Why only on 64bit machine document tampering check failing but the procedure of creating PKCS#7 is same?
    So kindly do help me in this regard ASAP. What could be the reason there?
    Regards,
    Jhan Zaib

    Is a hardware token involved at all?  Do you not have a 64bit driver for it?

  • Hard Drive Failed Need Help!

    Hey guys, heres my story. My hard drive failed last week (wouldnt go past white screen), took it to genius bar, they ran Disk Warrior and it seemed to fix it. As a precautionary measure I bought a 1tb external drive and backep up my system via time machine. Today my imac froze and I am having the same problem, wont boot past white screen. I am 2 months out of my warranty and need to know what is the easiest fastest and cheapest fix since I am a college student. Also are any of these options possible?
    1) Install OS X as a clean system and use my external HD to load my system.
    2) Buy another external HD and boot up from that?
    3) Buy another internal HD and have someone install it (not sure how much this would cost though)
    If anyone can help me out I would really appreciate it.

    All 3 of those are possible however #1 and 2 are not favorable. I would suggest to first run a few tests to make sure that your hard drive is actually bad.
    1) The first test like Larry suggested is to boot up to your Mac OS install disk, but do not go through the installation process. Instead go to the Utilities Menu at the top and open Disk Utility. If your drive does not show up in the left hand column then the drive is likely bad.
    2) Insert the original iMac install disk like in step 1 but this time when you startup hold down the "d" key. This will load up the Apple Hardware Test. Run the Extended test. If it passes everything then this means your computer is ok just the hard drive is bad.
    3) However if in step 1 Disk Utility does see the hard drive first try Repairing the Disk. If this fails you might try reformatting the drive and reinstalling Mac OS X as the problem could be an issue with the system software.
    4) Which should actually be step 1 is to disconnect all of your external devices like hard drives and see if you still cannot boot. Keep everything disconnected during testing.
    The problem is hard drive failures can be intermittent. One minute it works the next minute it doesn't even see a hard drive. Good luck though and let us know how it goes.
    George

  • Parse XML in PL/SQL need help

    Hi All,
    I'm new to PL/SQL. I need to call a web service from within the PL/SQL and then need to parse the response XML. I was able to call the web service and now I have returned SOAP response XML in CLOB. I searched on google for way to parse this XML and create some kind of list or array or collection with all the values so that later on that collection or array can be used in displaying the data or storing the data, but I couldn't found the right information, rather I got very confused.
    Please help me in parsing this XML and creating some kind collection or array for later use.
    Thanks
    XML is
    <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
    <SOAP-ENV:Header/>
    <SOAP-ENV:Body>
    <getMemberResponse effectiveDate="1970-10-01" endDate="2010-12-31" xmlns="http://abc.org/schema/Member/GetMember/V1">
    <responseHeader xmlns="http://abc.org/schema/common/v1">
    <serviceVersion>2.0.1</serviceVersion>
    <actionRequested AR="QUERY" xmlns:v1="http://abc.org/schema/Member/V1" xmlns:v11="http://abc.org/schema/common/v1" xmlns:v12="http://abc.org/schema/common/v1">
    <v11:transactionName>GetMemberRequest</v11:transactionName>
    </actionRequested>
    <requestResults>
    <resultStatus>Success</resultStatus>
    <resultCodes>
    <resultCode TYPE="HIPAA">00000</resultCode>
    <resultCode TYPE="LEGACY">00000</resultCode>
    <resultCode TYPE="SDI">00000</resultCode>
    </resultCodes>
    <resultMessage>Success</resultMessage>
    </requestResults>
    <accounting xmlns:v1="http://abc.org/schema/Member/V1" xmlns:v11="http://abc.org/schema/datatypes/v1" xmlns:v12="http://abc.org/schema/common/v1">
    <transactionId>ec3542e7-3191-430c-bd69-69dd5d18bf75</transactionId>
    <v12:timeStamp>2011-05-23T11:52:22</v12:timeStamp>
    </accounting>
    </responseHeader>
    <requestID>ec3542e7-3191-430c-bd69-69dd5d18bf75</requestID>
    <memberDetails xmlns:v1="http://abc.org/schema/Member/V1" xmlns:v11="http://abc.org/schema/datatypes/v1" xmlns:v12="http://abc.org/schema/common/v1">
    <v1:ids>
    <v1:id memberIdType="SSN">00000000</v1:id>
    <v1:id memberIdType="PARTYID">111111</v1:id>
    <v1:id memberIdType="PARTYNUMBER">222222</v1:id>
    </v1:ids>
    <v1:demographics>
    <v1:memberDemographicType effDate="2010-05-09" maintType="UPDATE">
    <v1:name>
    <v1:nameDetails>
    <v11:firstName>Keith</v11:firstName>
    <v11:middleName>M</v11:middleName>
    <v11:lastNames>
    <v11:lastName>
    <v11:name>Thompson</v11:name>
    </v11:lastName>
    </v11:lastNames>
    <v11:formattedName>Keith M Thompson</v11:formattedName>
    </v1:nameDetails>
    <v1:createDate>2010-05-09T14:23:17</v1:createDate>
    <v1:updateDate>2010-08-08T02:40:24</v1:updateDate>
    </v1:name>
    <v1:birthDate>1954-12-24</v1:birthDate>
    <v1:genderTypeCode>Male</v1:genderTypeCode>
    <v1:createDate>2010-05-09T14:23:17</v1:createDate>
    <v1:updateDate>2010-08-08T02:40:24</v1:updateDate>
    </v1:memberDemographicType>
    </v1:demographics>
    <v1:originalContractEffDate>2010-04-01</v1:originalContractEffDate>
    <v1:addresses>
    <v1:address maintType="QUERY">
    <v1:location addresseeType="MEMBER" effDate="1901-01-01" endDate="9999-12-31" locationUseType="HOME" primaryPerType="Y">
    <v11:addressLines>
    <v11:addressLine>BAY VIEW AVENUE</v11:addressLine>
    </v11:addressLines>
    <v11:cityName>PLYMOUTH</v11:cityName>
    <v11:stateCode>TX</v11:stateCode>
    <v11:postalCode>58654</v11:postalCode>
    </v1:location>
    <v1:createDate>2011-05-23T11:52:22</v1:createDate>
    <v1:updateDate>2011-05-23T11:52:22</v1:updateDate>
    </v1:address>
    <v1:address maintType="QUERY">
    <v1:location addresseeType="SUBSCRIBER" effDate="1901-01-01" endDate="9999-12-31" locationUseType="HOME" primaryPerType="Y">
    <v11:addressLines>
    <v11:addressLine>AY VIEW AVENUE</v11:addressLine>
    </v11:addressLines>
    <v11:cityName>PLYMOUTH</v11:cityName>
    <v11:stateCode>TX</v11:stateCode>
    <v11:postalCode>58654</v11:postalCode>
    </v1:location>
    <v1:createDate>2011-05-23T11:52:22</v1:createDate>
    <v1:updateDate>2011-05-23T11:52:22</v1:updateDate>
    </v1:address>
    </v1:addresses>
    <v1:policies>
    <v1:policy effDate="2010-04-01" maintType="ADD" type="MEMBER">
    <v1:ids>
    <v1:id type="MEMBERID">CPIT000456</v1:id>
    <v1:id type="POLICY">CPIT</v1:id>
    </v1:ids>
    <v1:contractType>F</v1:contractType>
    <v1:dependentType>01</v1:dependentType>
    <v1:offerings>
    <v1:offering offeredBy="abc" offeringIdType="INSURANCE_TYPE" selected="Y">
    <v1:offeringId>IV</v1:offeringId>
    </v1:offering>
    <v1:offering effDate="2010-04-01" maintType="ADD" offeredBy="abc" offeringIdType="BOC" selected="Y">
    <v1:offeringId>GK</v1:offeringId>
    <v1:recordInfo>
    <v1:internalRecId>82326287</v1:internalRecId>
    </v1:recordInfo>
    <v1:createDate>2010-05-09T14:23:17</v1:createDate>
    <v1:updateDate>2010-05-09T14:23:17</v1:updateDate>
    </v1:offering>
    </v1:offerings>
    <v1:customer>
    <v1:relation type="EMPLOYMENT">
    <v1:customer>
    <v1:id idType="ACCOUNTID">C11204</v1:id>
    <v1:id idType="DIVISION">0208290000</v1:id>
    <v1:customerName>BC Group</v1:customerName>
    </v1:customer>
    </v1:relation>
    </v1:customer>
    <v1:physicianRelations>
    <v1:physicianRelation effDate="2010-04-01" endDate="9999-12-31" type="PCP">
    <v1:ids>
    <v1:id type="NPI">0</v1:id>
    <v1:id type="AFFILIATIONID">1313 0025</v1:id>
    <v1:id type="PROVIDERID">1313</v1:id>
    <v1:id type="TIN">0</v1:id>
    </v1:ids>
    <v1:recordInfo>
    <v1:internalRecId>98151812</v1:internalRecId>
    </v1:recordInfo>
    <v1:createDate>2010-10-23T01:10:13</v1:createDate>
    <v1:updateDate>2010-10-23T01:10:13</v1:updateDate>
    </v1:physicianRelation>
    </v1:physicianRelations>
    <v1:maintainReasonCode>AC</v1:maintainReasonCode>
    <v1:recordInfo>
    <v1:internalRecId>82326286</v1:internalRecId>
    </v1:recordInfo>
    <v1:createDate>2010-05-09T14:23:17</v1:createDate>
    <v1:updateDate>2010-05-09T14:23:17</v1:updateDate>
    </v1:policy>
    <v1:policy effDate="2010-04-01" maintType="QUERY" type="SUBSCRIBER">
    <v1:ids>
    <v1:id type="POLICY">CPIT</v1:id>
    </v1:ids>
    <v1:hashCode>82326284</v1:hashCode>
    <v1:contractType>F</v1:contractType>
    <v1:maritalStatus>UNKNOWN</v1:maritalStatus>
    <v1:offerings>
    <v1:offering effDate="2010-04-01" maintType="QUERY" offeredBy="abc" offeringIdType="INSURANCE_TYPE" selected="Y">
    <v1:offeringId>IV</v1:offeringId>
    <v1:recordInfo>
    <v1:internalRecId>82326285</v1:internalRecId>
    </v1:recordInfo>
    <v1:createDate>2010-05-09T14:23:17</v1:createDate>
    <v1:updateDate>2011-01-20T04:53:52</v1:updateDate>
    </v1:offering>
    </v1:offerings>
    <v1:customer>
    <v1:relation type="EMPLOYMENT">
    <v1:customer>
    <v1:id idType="ACCOUNTID">C11204</v1:id>
    <v1:id idType="DIVISION">0208290000</v1:id>
    <v1:customerName>BC Group</v1:customerName>
    </v1:customer>
    </v1:relation>
    </v1:customer>
    <v1:maintainReasonCode>AC</v1:maintainReasonCode>
    <v1:recordInfo>
    <v1:internalRecId>82326284</v1:internalRecId>
    </v1:recordInfo>
    <v1:createDate>2010-05-09T14:23:17</v1:createDate>
    <v1:updateDate>2011-01-20T04:53:52</v1:updateDate>
    </v1:policy>
    </v1:policies>
    <v1:recordInfo>
    <v1:internalRecId>8364745</v1:internalRecId>
    <v1:objectVersionNo>1</v1:objectVersionNo>
    </v1:recordInfo>
    <v1:restrictedMemberIndicator>N</v1:restrictedMemberIndicator>
    <v1:createDate>2010-05-09T14:23:17</v1:createDate>
    <v1:updateDate>2010-08-08T02:40:24</v1:updateDate>
    </memberDetails>
    </getMemberResponse>
    </SOAP-ENV:Body>
    </SOAP-ENV:Envelope>

    Hi A_Non,
    Thanks so much for giving me the hint about that "text()" in XPath.
    I have new question for you with same XML I'm parsing right now.
    I have extracted a part(Policies) of whole XML and put it in one XMLTYPE variable. Below is that part XML.
    My question is I need to look only into that policy which is active right now. In the <policy> tag there are two attributes "effDate" and "endDate". "effDate" tag will always be there for every policy and for all inactive policies also "endDate" will be there always. Problem is with the active ones, "endDate" may or may not be there. If "endDate" is there so it will be greater than or equal to sysdate and if it is not there that means it is open ended. I need to fetch only that policy which is active right now and if there is no tag as such that means member is not active as of today.
    If "endDate" attribute is there then I think below XPath will work, but I'm not sure about how to handle when "endDate" attribute is not there.
    /d:policies/d:policy[@type="MEMBER" and number(translate(@effDate,"-",""))<=number(translate("'||l_currDate||'","-","")) and number(translate(@endDate,"-",""))>=number(translate("'||l_currDate||'","-",""))]I have Oracle 10.1.0.4, in this in XPath comparison operators are not working so I'm using XPath functions.
    Here is the XML
    <v1:policies>
       <v1:policy effDate="1999-05-01" endDate="1999-12-31" maintType="ADD" type="MEMBER">
           <v1:ids>
               <v1:id type="MEMBERID">SDF000414600</v1:id>
               <v1:id type="POLICY">SDF0004146</v1:id>
           </v1:ids>
           <v1:contractType>F</v1:contractType>
           <v1:dependentType>01</v1:dependentType>
           <v1:offerings>
               <v1:offering offeredBy="ABC" offeringIdType="INSURANCE_TYPE" selected="Y">
                   <v1:offeringId>IH</v1:offeringId>
               </v1:offering>
               <v1:offering effDate="1999-05-01" endDate="1999-12-31" maintType="ADD" offeredBy="ABC" offeringIdType="BOC" selected="Y">
                   <v1:offeringId>HA</v1:offeringId>
                   <v1:recordInfo>
                      <v1:internalRecId>39077481</v1:internalRecId>
                   </v1:recordInfo>
                   <v1:createDate>2010-05-01T01:27:04</v1:createDate>
                   <v1:updateDate>2010-05-01T01:27:04</v1:updateDate>
               </v1:offering>
           </v1:offerings>
           <v1:customer>
               <v1:relation type="EMPLOYMENT">
                   <v1:customer>
                      <v1:id idType="ACCOUNTID">AS35423</v1:id>
                      <v1:id idType="DIVISION">0621730000</v1:id>
                      <v1:customerName>Medical Associates</v1:customerName>
                   </v1:customer>
               </v1:relation>
           </v1:customer>
           <v1:physicianRelations>
               <v1:physicianRelation effDate="1999-05-01" endDate="1999-12-31" type="PCP">
                   <v1:ids>
                      <v1:id type="NPI">0</v1:id>
                      <v1:id type="AFFILIATIONID">66759       0014</v1:id>
                      <v1:id type="PROVIDERID">231231</v1:id>
                      <v1:id type="TIN">0</v1:id>
                   </v1:ids>
                   <v1:recordInfo>
                      <v1:internalRecId>87796651</v1:internalRecId>
                   </v1:recordInfo>
                   <v1:createDate>2010-10-22T21:56:44</v1:createDate>
                   <v1:updateDate>2010-10-22T21:56:44</v1:updateDate>
               </v1:physicianRelation>
           </v1:physicianRelations>
           <v1:maintainReasonCode>MD</v1:maintainReasonCode>
           <v1:recordInfo>
               <v1:internalRecId>39077480</v1:internalRecId>
           </v1:recordInfo>
           <v1:createDate>2010-05-01T01:27:04</v1:createDate>
           <v1:updateDate>2010-05-01T01:27:04</v1:updateDate>
       </v1:policy>
       <v1:policy effDate="2000-01-01" endDate="2000-12-31" maintType="ADD" type="MEMBER">
           <v1:ids>
               <v1:id type="MEMBERID">SDF000414600</v1:id>
               <v1:id type="POLICY">SDF0004146</v1:id>
           </v1:ids>
           <v1:contractType>F</v1:contractType>
           <v1:dependentType>01</v1:dependentType>
           <v1:offerings>
               <v1:offering offeredBy="ABC" offeringIdType="INSURANCE_TYPE" selected="Y">
                   <v1:offeringId>IH</v1:offeringId>
               </v1:offering>
               <v1:offering effDate="2000-01-01" endDate="2000-12-31" maintType="ADD" offeredBy="ABC" offeringIdType="BOC" selected="Y">
                   <v1:offeringId>HA</v1:offeringId>
                   <v1:recordInfo>
                      <v1:internalRecId>39077483</v1:internalRecId>
                   </v1:recordInfo>
                   <v1:createDate>2010-05-01T01:27:04</v1:createDate>
                   <v1:updateDate>2010-05-01T01:27:04</v1:updateDate>
               </v1:offering>
           </v1:offerings>
           <v1:customer>
               <v1:relation type="EMPLOYMENT">
                   <v1:customer>
                      <v1:id idType="ACCOUNTID">C35423</v1:id>
                      <v1:id idType="DIVISION">0621730000</v1:id>
                      <v1:customerName>Medical Associates</v1:customerName>
                   </v1:customer>
               </v1:relation>
           </v1:customer>
           <v1:physicianRelations>
               <v1:physicianRelation effDate="2000-01-01" endDate="2000-12-31" type="PCP">
                   <v1:ids>
                      <v1:id type="NPI">0</v1:id>
                      <v1:id type="AFFILIATIONID">66759       0014</v1:id>
                      <v1:id type="PROVIDERID">3213213</v1:id>
                      <v1:id type="TIN">0</v1:id>
                   </v1:ids>
                   <v1:recordInfo>
                      <v1:internalRecId>87796652</v1:internalRecId>
                   </v1:recordInfo>
                   <v1:createDate>2010-10-22T21:56:44</v1:createDate>
                   <v1:updateDate>2010-10-22T21:56:44</v1:updateDate>
               </v1:physicianRelation>
           </v1:physicianRelations>
           <v1:maintainReasonCode>MD</v1:maintainReasonCode>
           <v1:recordInfo>
               <v1:internalRecId>39077482</v1:internalRecId>
           </v1:recordInfo>
           <v1:createDate>2010-05-01T01:27:04</v1:createDate>
           <v1:updateDate>2010-05-01T01:27:04</v1:updateDate>
       </v1:policy>
       <v1:policy effDate="2001-01-01" maintType="ADD" type="MEMBER">
           <v1:ids>
               <v1:id type="MEMBERID">SDF000414600</v1:id>
               <v1:id type="POLICY">SDF0004146</v1:id>
           </v1:ids>
           <v1:contractType>F</v1:contractType>
           <v1:dependentType>01</v1:dependentType>
           <v1:offerings>
               <v1:offering offeredBy="ABC" offeringIdType="INSURANCE_TYPE" selected="Y">
                   <v1:offeringId>IH</v1:offeringId>
               </v1:offering>
               <v1:offering effDate="2001-01-01" endDate="2001-03-31" maintType="ADD" offeredBy="ABC" offeringIdType="BOC" selected="Y">
                   <v1:offeringId>HC</v1:offeringId>
                   <v1:recordInfo>
                      <v1:internalRecId>39077485</v1:internalRecId>
                   </v1:recordInfo>
                   <v1:createDate>2010-05-01T01:27:04</v1:createDate>
                   <v1:updateDate>2010-05-01T01:27:04</v1:updateDate>
               </v1:offering>
           </v1:offerings>
           <v1:customer>
               <v1:relation type="EMPLOYMENT">
                   <v1:customer>
                      <v1:id idType="ACCOUNTID">C35423</v1:id>
                      <v1:id idType="DIVISION">0621730000</v1:id>
                      <v1:customerName>Medical Associates</v1:customerName>
                   </v1:customer>
               </v1:relation>
           </v1:customer>
           <v1:physicianRelations>
               <v1:physicianRelation effDate="2001-01-01" endDate="2001-03-31" type="PCP">
                   <v1:ids>
                      <v1:id type="NPI">0</v1:id>
                      <v1:id type="AFFILIATIONID">66759       0014</v1:id>
                      <v1:id type="PROVIDERID">61232132</v1:id>
                      <v1:id type="TIN">0</v1:id>
                   </v1:ids>
                   <v1:recordInfo>
                      <v1:internalRecId>87796653</v1:internalRecId>
                   </v1:recordInfo>
                   <v1:createDate>2010-10-22T21:56:44</v1:createDate>
                   <v1:updateDate>2010-10-22T21:56:44</v1:updateDate>
               </v1:physicianRelation>
           </v1:physicianRelations>
           <v1:maintainReasonCode>LE</v1:maintainReasonCode>
           <v1:recordInfo>
               <v1:internalRecId>39077484</v1:internalRecId>
           </v1:recordInfo>
           <v1:createDate>2010-05-01T01:27:04</v1:createDate>
           <v1:updateDate>2010-05-01T01:27:04</v1:updateDate>
       </v1:policy>
    </v1:policies>Thanks

  • ABAP to XML conversion...need help for XSTL coding

    Hi,
    I am trying to convert ABAP internal table to XML format. I am using CALL TRANSFORMATION command. But i am not getting the exact conversion of my internal table data as i am lagging in perfection of XSLT coding that i have to maintain(in call transformation command).
    I am passing the data with internal table which has deep structuring( 2 other internal tables(table types) inside it).
    i am facing issue in writing the XSLT format coding(Tcode:XSLT_TOOL). I need some help on this.
    Thanks,
    Mahidhar.

    Hi,
    Can you please share the XSLT program that you have created and also your ABAP structure that is going to hold the data.
    Thanks,
    Aanand.

  • Export keeps failing - Need help

    Alright, this is the second video in a row that this has happened to me. My computer isnt the fastest so it takes 40 minutes each time I export my 4 min video.  Asides from that, whenever I export my videos, the export fails and this is what it says overall.
    File importer detected an inconsistency in the file structure of Sequence 01.mp4.  Reading and writing this file's metadata (XMP) has been disabled.
    Any ideas on what to do? I really need to export this video as soon as possible.
    Thank You.

    Uncheck the Import Into Project box in the Export Settings dialog.  You'll find it directly above the Queue button.
    That error message doesn't mean the export failed, though.

  • XML tools for Java (need help getting started)

    Hi,
    I have been using Java for some time. However, I am new to XML and the tools Java has available to utilize such data.
    What packages, classes, etc are available to read and write XML data?
    Thank you in advance. Happy holidays.
    Cheers,
    Christopher

    I've been using a third-party library called JDOM for well over two years and I highly recommend it for your XML processing needs. It recently reached its first productions release and is available for download at http://www.jdom.org.
    Shaun

  • XML Huge database files, NEED HELP !!!

    Hello to the community.
    We need to store about ONE MILLION XML FILES inside the database.
    BUT we need to use all functionality of XML Structure to look for
    information inside these files (CONTAINS).
    My question is:
    What is the best way to store them:
    like XML files inside CLOB ?
    or fragment the files inside tables ?
    Using ConText Option ?
    Using CONTAINS functions ?
    Is ConText Option supports CONTAINS function ?!?
    We have many queries with text searching...
    What is the best way to store this so we have best velocity to
    acces to the info ?
    Thanks to answer soon
    MasterPh
    null

    Let me try and answer your question. First the CONTAINS
    operator in Intermedia Text (formerly Context) will allow you to
    search for data between tags of an XML document stored as a
    CLOB. Whether you should distribute your XML documents across
    tables is largely a function of how you want the data searched
    retrieved. Currently the XML search function operates within a
    column and thus if you want the entire doc back it would be best
    to store it as a whole. Once iFS is released you will be able
    to distribute the doc across tables and return it as a whole or
    in parts.
    Chack out http://www.oracle.com/database/options/ifs.htm and
    http://www.oracle.com/database/options/intermedia.htm for more
    details.
    Oracle XML Team
    http://technet.oracle.com
    Oracle Technology Network
    Philippe Thomassigny (guest) wrote:
    : Hello to the community.
    : We need to store about ONE MILLION XML FILES inside the
    database.
    : BUT we need to use all functionality of XML Structure to look
    for
    : information inside these files (CONTAINS).
    : My question is:
    : What is the best way to store them:
    : like XML files inside CLOB ?
    : or fragment the files inside tables ?
    : Using ConText Option ?
    : Using CONTAINS functions ?
    : Is ConText Option supports CONTAINS function ?!?
    : We have many queries with text searching...
    : What is the best way to store this so we have best velocity to
    : acces to the info ?
    : Thanks to answer soon
    : MasterPh
    null

  • XML in java..need help with it

    hi, ive been programming in java for quite some time now. now im learning how to integrate it with XML. I am learning XML right now. I am trying to deveop a program, using java and XML which can store contacts of a few person(using XML) and then retrieve the contact of a certain person when asked (using java).
    I have defined the scema in a file name: contactlist-schema
    and the corrsponding XML file is named: contactlist.xml
    I have created a java program to traverse the contactlist.xml file (document = builder.parse(new File("contactlist.xml")))
    it compiles successfully, but when I try to execute it, it gives me this msg:
    Parse error: Element type "contactlist" is not declared.
    Can somebody pleeeaaase help me with this problem

    i am using DOM, the schema is:
    <?xml version = "1.0"?>
    <!DOCTYPE contactlist-schema>
    <Schema xmlns = "urn:schemas-microsoft-com:xml-data"
         xmlns:dt = "urn:schemas-microsoft-com:datatypes">
    <ElementType name = "contactlist" model = "closed">
         <element type = "contact" minOccurs = "0" maxOccurs = "*"/>
    </ElementType>
    <ElementType name = "contact" model = "closed">
         <element type = "name" minOccurs = "0" maxOccurs = "*"/>
    </ElementType>
    <ElementType name = "name" model = "closed">
         <AttributeType name = "tel" dt:type = "string"/>
         <attribute type = "tel"/>
         <AttributeType name = "email" dt:type = "string"/>
         <attribute type = "email"/>
    </ElementType>
    </Schema>
    the corresponding xml file is:
    <?xml version = "1.0"?>
    <!DOCTYPE contactlist>
    <contactlist xmlns = "x-schema:contactlist-schema.xml">
         <contact>
              <name>
                   Sarah
                   <tel> 0161-786-8611 </tel>
                   <email> [email protected] </email>
              </name>
         </contact>
         <contact>
              <name>
                   Anne
                   <tel> 0781-787-8956 </tel>
                   <email> [email protected] </email>
              </name>
         </contact>
         <contact>
              <name>
                   Zac
                   <tel> 0795-123-4567 </tel>
                   <email> [email protected] </email>
              </name>
         </contact>
         <contact>
              <name>
                   Lena
                   <tel> 0414-456-1234 </tel>
                   <email> [email protected] </email>
              </name>
         </contact>
         <contact>
              <name>
                   Lin
                   <tel> 0786-025-6974 </tel>
                   <email> [email protected] </email>
              </name>
         </contact>
         <contact>
              <name>
                   Emma
                   <tel> 0161-881-1234 </tel>
                   <email> [email protected] </email>
              </name>
         </contact>
    </contactlist>

  • C440 Hard drive failed NEED HELP ASAP PLEASE!

    SO my c440 lenovo all-in-one Desktop Has had a Hard drive failure i get the error "Error 1962: No operating system found. Press any key to repeat boot sequence." I've had the hard drive looked at and it wont power on or anything. I can buy a new HHD same model ect But how can i get my operating System of Windows 8 back on the New HHD( hard drive)??? i only have the Lenovo drivers  Disk

    Good day and welcome to the community.
    If you didn't make recovery media prior to the HDD failure, which sounds catastrophic, you'll need to contact Support (info below) to discuss obtaining the proper media. There may be an associated cost.
    Hope this helps.
    Regards.
    United Kingdom
    IDEA-branded and B, C, E, G, H, K, N, Q, V, Y Series Products
    English
    0333-777-3991
    (National Rate)
    9:00 - 18:00 Monday - Friday

Maybe you are looking for

  • Error while loadjava

    Can anyone help me? I always got a error message while calling loadjava. I want to a simple class into database. The error message is: Error while creating class myPackage/myClass ORA-09922: error Option How can I solve this problem? I've installed t

  • Why itunes recognize my iphone 4s model like a iphone 4?

    Why itunes recognize my iphone 4s model like a iphone 4?

  • Problems executing exe file outside vignette(HAL)

    Hi, when trying to execute my exe file generated with vignette I'm getting an error: C:\WINDOWS\system32\cmd.exe - cas33.bat The NTVDM CPU has encountered an illegal instruction CS:05a7IP:016b OP:63 65 64 20 77 Chose 'Close' to terminate the applicat

  • System Automatically Deleting Email Erroneously

    My iPad/iPhone are deleting email messages as soon as I open them and without my wanting them to be deleted.  Updated software and tried to adjust settings - no luck.  Any suggestions on what could be going on?

  • Price Change not updating

    I changed my prices in Adobe Forms Central, but the price changes are not reflected in the test page or on my website. What should I do to fix this?