Copy Signed XML without altering it

Hi everyone,
I have a windows 2003 svr with JRE 1.6.0_18, and xmlsec v1.2.97 jar imported.
I'm building a new module of an existing application, which creates xml for invoices, signs them, and sends them to another company. This signed XMLs are stored on the filesystem.
I need to copy one of such xml files, lets call it A.xml (with valid signature, I checked using DOM's security validation tools) into another xml, lets say B.xml, without altering the contents of A.xml ( therefore voiding the signature ).
Then I have to sign B.xml
I have tried the following so far:
1. using Filereader to copy byte by byte to B.xml.
2. using inputstreamreaders (with apropriate encoding parameter) and copy line by line.
3. using DOM to add new node, and Transformer API to generate B.xml (proper enconding parameters are being set)
when I run a signature validation on B.xml, the signature has become invalid.
One intresting thing though, is that if I use method 1 to copy A.xml to another xml having only A's tree, this new XML has a valid signature.
Has anyone gone through something similar?
I'm I missing something?
or is it that whenever I insert an XML into another, it's signature will become void?
Thank you in advance for your help and time!
Regards,
Reynod

Well, #1 should work. Although I didn't understand what you said about "A's tree". Either you copy the file byte for byte (in which case you don't break the signature) or you produce something different (in which case you break the signature).
Anything which changes the contents of the XML should generate a document whose signature is invalid. That's the main point of signing a document.

Similar Messages

  • NullPointerException while sending signed XML via SOAP to Axis webservice

    Hello,
    I was wondering if it was possible to change the behavior of Apache XML Security libraries and delete "ds:" namespaces while digitally signing XML files.
    We are trying to send signed XML to a local chilean IRS, as a part of an automatic autentication process. The steps to authenticate are quite straightforward and involve:
    1. Obtain from webservice 1 a "seed", which is a random number representing temporal session opened
    2. Sign this seed (in XML format) using our certificate
    3. Send signed XML to another webservice 2, which should validate it and open a permanent session, returning a "token", which is an alphanumeric string
    What happens is that steps 1 and 2 are completed without problems, while we cannot pass step 3. The webservice (as far I know mounted on Apache Axis) fails with ugly error "NullPointerException".
    The IRS says that our signed XML, although valid, seems strange to them, as it contains those "ds:" added by Apache Xml Security libraries while signing the file.
    So here comes the question: is it possible to obtain valid signed XML without those "ds:"? What other reasons may result in that NullPointerException error?
    We use simple Java class and VeriSign certificate stored in Java keystore to sign XML files, and Apache Xml Security 1.2.0 jars.
    For any clues that could help us thank you in advance.
    Jack

    Hi,
    Few months ago we had also problems with "locked user" in XI, in our case XIAPPLUSER was sometimes (b)locked.
    Perhaps note:
    721548 Changing the passwords of the XI 3.0 service users
    will help you.
    We removed and entered the service users again, with the password in CAPITALS and language blank.
    After that our problem was solved, I hope yours too.
    Regards
    Jack

  • Problem signing XML when applying XPATH2 filer

    I have a problem when applying XPATH2 filter to a XML Signature, because it inserts the namespaces from the main XML node to all descendants. I'm doing this:
    1. XMLSignatureFactory fac = XMLSignatureFactory.getInstance(AppConstants.DOM);
    2. XPathType tipoFiltro = new XPathType("//mainNode", Filter.INTERSECT);
         3. ArrayList<XPathType> lista = new ArrayList<XPathType>();
         4. lista.add(tipoFiltro);
         5. XPathFilter2ParameterSpec listaXPath = new XPathFilter2ParameterSpec(lista);
         6. Transform filtro = fac.newTransform(Transform.XPATH2, listaXPath);
         7. Transform enveloped = fac.newTransform(Transform.ENVELOPED,(TransformParameterSpec) null);
         8. ArrayList<Transform> listaTransformadas = new ArrayList<Transform>();
         9. listaTransformadas.add(filtro); //If comented, no problem
         10. listaTransformadas.add(enveloped);
         11. ref = fac.newReference("", fac.newDigestMethod(DigestMethod.SHA1, null), listaTransformadas,null,null);     
         12. SignedInfo si = fac.newSignedInfo(fac.newCanonicalizationMethod(CanonicalizationMethod.INCLUSIVE,(C14NMethodParameterSpec) null), fac.newSignatureMethod(SignatureMethod.RSA_SHA1, null), Collections.singletonList(ref));
         ... more code (KeyInfo,...)
         13. DOMSignContext dsc = new DOMSignContext(keyEntry.getPrivateKey(), doc.getDocumentElement());
         14. XMLSignature signature = fac.newXMLSignature(si, ki);
         15. signature.sign(dsc);
         If I do the same without XPATH2 filter (Line 9 commented), it doesn't insert the namespaces in any node (they're only in the main node). The objetive of applying this xpath2 filter is to exclude XSLT reference (<?xml-stylesheet type="text/xsl" href=".\xsl\myTemplate.xsl"?>) from the signature.
         How can I avoid this situation? Is there another method for signing XML documents that allows this? Is there another way to exclude XLST reference that doesn't insert namespaces in all nodes?

    I have a problem when applying XPATH2 filter to a XML Signature, because it inserts the namespaces from the main XML node to all descendants. I'm doing this:
    1. XMLSignatureFactory fac = XMLSignatureFactory.getInstance(AppConstants.DOM);
    2. XPathType tipoFiltro = new XPathType("//mainNode", Filter.INTERSECT);
         3. ArrayList<XPathType> lista = new ArrayList<XPathType>();
         4. lista.add(tipoFiltro);
         5. XPathFilter2ParameterSpec listaXPath = new XPathFilter2ParameterSpec(lista);
         6. Transform filtro = fac.newTransform(Transform.XPATH2, listaXPath);
         7. Transform enveloped = fac.newTransform(Transform.ENVELOPED,(TransformParameterSpec) null);
         8. ArrayList<Transform> listaTransformadas = new ArrayList<Transform>();
         9. listaTransformadas.add(filtro); //If comented, no problem
         10. listaTransformadas.add(enveloped);
         11. ref = fac.newReference("", fac.newDigestMethod(DigestMethod.SHA1, null), listaTransformadas,null,null);     
         12. SignedInfo si = fac.newSignedInfo(fac.newCanonicalizationMethod(CanonicalizationMethod.INCLUSIVE,(C14NMethodParameterSpec) null), fac.newSignatureMethod(SignatureMethod.RSA_SHA1, null), Collections.singletonList(ref));
         ... more code (KeyInfo,...)
         13. DOMSignContext dsc = new DOMSignContext(keyEntry.getPrivateKey(), doc.getDocumentElement());
         14. XMLSignature signature = fac.newXMLSignature(si, ki);
         15. signature.sign(dsc);
         If I do the same without XPATH2 filter (Line 9 commented), it doesn't insert the namespaces in any node (they're only in the main node). The objetive of applying this xpath2 filter is to exclude XSLT reference (<?xml-stylesheet type="text/xsl" href=".\xsl\myTemplate.xsl"?>) from the signature.
         How can I avoid this situation? Is there another method for signing XML documents that allows this? Is there another way to exclude XLST reference that doesn't insert namespaces in all nodes?

  • How to find Software version using a copy of software without installing

    How to find Software version using a copy of software without installing

    How to find Software version using a copy of software without installing
    See answer given by Ahmed
    Right click on setup file and select properties and then details tab.
    http://social.msdn.microsoft.com/forums/sqlserver/en-US/c5424ffa-ce98-4899-ac0d-97cbcac10029/how-to-get-versionbuild-from-sql-install-media
    You can also open Mediainfo.xml to see information from Installation file
    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 Articles

  • OSB: fn-bea:inlinedXML format my signed XML

    Hello.
    I'm trying to replace my output xml message with the same message, but digitally signed.
    My proxy flow looks like:
    1. Call to BS.
    2. In response, take the output from BS and digitally sign it (Service callout to a signing service).
    3. Take the output from that service (it returns the signed xml into a "CDATA" section).
    4. Extract the xml (CDATA), and call to fn-bea:inlinedXML
    5. Substitute the output message with the xml in point 4).
    But "inlinedXML" seems to format the xml string (whitespace, line breaks,...), so the sign is no longer valid.
    ¿Can OSB convert from string to xml without formatting?.
    Thanks.

    Hello.
    Does anyone knows how to tell OSB to stop formatting my XML?.
    Thanks.

  • Error copying application.xml icons: .../bin-release/assets/icons' does not exist

    Hi,
    Whenever I try to export the release build I get error from COmpiler during the process that "Error copying application.xml icons: Resource '/Project_Name/bin-release/assets/icons' does not exist."  I have specified 4 icons in the -app.xml file of sizes 16,32,48,128 which exist in the path specified and files are not corrupt. I have checked and unchecked the compiler directive "Copy non-embedded resources in the Output file" but that has not helped too.
    Can somebody please advise what do I do in this situation?
    We are using
    FB4 with Flex Hero(4.5) SDK and java heap space specified in .ini files is 1224m
    This is somewhat urgent guys...
    Thanks
    Shubhra

    Frank,
    Thank you for your answer. I had not checked (will do so tonight).
    I had considered it adequate to wipe out the entire system directory (thereby wiping out the integrated weblogic server), but perhaps it was not adequate? I did not specify that this is on the integrated server, but that is the case....
    Stuart

  • How do i get on my apple account on the desktop without signing up with a credit card or Itunes card, i already have an account it just won't let me sign in without giving the desktop version a credit card

    How do i get on my apple account on the desktop without signing up with a credit card or Itunes card, i already have an account it just won't let me sign in without giving the desktop version a credit card

    SEARCH!
    http://lmgtfy.com/?q=itunes+account+without+credit+card

  • How to create a movie file of java 3D animation without altering the code?

    Is there a way to create a movie file of a Java 3D animation without altering the source code of the Java 3D animation program???
    Because as what I observed, most of the forum recommends extracting the bufferedimages of the animation. And, then using the bufferedimages to do a movie file. In this way, I will need to add in new code in the animation program in order to extract the bufferedimages.
    So, is there an alternative way?
    My objective is write a program to create movie file of any Java 3D animation.
    Pls advise me. Thanks a million.

    I'm curious as to why FRAPS will record java3d and
    not a java2d app? is there something that Java3d
    sets that makes it recognizable by fraps? or?? could
    someone or messengers ( =D!) explain this for me?Seems that only in JDK 5.0 or later, does the 2D api automatically use a DirectX or OpenGL rendering pipeline (if available).
    Further, these automatic pipelines accelerate polygons and the like, but not low level Graphics2D bit blitting operations.
    There are JOGL apis that allow better control over acceleration, and are considered 'thread safe' (single threaded) whereas DirectX pipelines are not.
    Interesting demos of this here:
    https://jogl-demos.dev.java.net/applettest.html
    and
    http://www.hardcorepawn.com/RandomGL/
    Fraps (commercial) and Taksi (opensource) will reveal that you are actually using acceleration, since they intercept the pipeline at the openGL (and DirectX) level.

  • I have a band video that I want to edit. In iMove 09, I could clip to crop or add a transition or both without altering the audio. In iMovie 11, the audio lower or drops out when I clip for and use a transtion. Is there a setting to preven this?

    I have a band video that I want to edit. In iMove 09, I could clip to crop or add a transition or both without altering the audio. In iMovie 11, the audio lower or drops out when I clip for and use a transtion. Is there a setting to preven this?

    Thanks for that info! Even in my time answering questions on iMovie Discussion Group, I never had a good understanding of when and how Optimize Movie came into play. I always would import as Optimized and Large Size and figured that was good enough. But knowing you got much, much more flexibility doing it the way you describe gives me a much better understanding of the different routes you can take into the Event Library.

  • Use Sign.xml and Encrypt.xml for both request AND response within WSDL?

    Hi,
    ALSB: 2.6
    I was wandering if it's possible to use abstract outof the box WS-Policy file within WSDL file to specify encryption
    (Encrypt.xml) and digital signature(Sign.xml) with X509 for both request and response???
    So far, it only works for either request or response BUT not both. i.e. within WSDL file
    <!-- following WSDL works for encrypting and signing request with X509 in test console -->.....
    <wsdl:binding name="DexService2Soap" type="tns:DexService2Soap">
        <soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document" />
        <wsdl:operation name="Message">
                <soap:operation soapAction="urn:moe:dex:dexservice:2.0.0/Message" style="document" />
                              <wsdl:input>
                               <!-- WS-Policy file applied here -->
                             <wsp:Policy>
                                            <wsp:PolicyReference URI="policy:Sign.xml"/>
                                            <wsp:PolicyReference URI="policy:Encrypt.xml"/>
                                       </wsp:Policy>
                                     <soap:body use="literal" />
                               </wsdl:input>
                             <wsdl:output>
                                  <soap:body use="literal" />
                               </wsdl:output>
        </wsdl:operation>
      </wsdl:binding>
               Or
    <!-- following WSDL works for encrypting and signing response with X509 in test console -->
    <wsdl:binding name="DexService2Soap" type="tns:DexService2Soap">
        <soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document" />
        <wsdl:operation name="Message">
                <soap:operation soapAction="urn:moe:dex:dexservice:2.0.0/Message" style="document" />
                              <wsdl:input>
                                     <soap:body use="literal" />
                               </wsdl:input>
                             <wsdl:output>
                                       <!-- WS-Policy file applied here -->
                                       <wsp:Policy>
                                            <wsp:PolicyReference URI="policy:Sign.xml"/>
                                            <wsp:PolicyReference URI="policy:Encrypt.xml"/>
                                       </wsp:Policy>
                                  <soap:body use="literal" />
                               </wsdl:output>
        </wsdl:operation>
      </wsdl:binding>
    But not both
    <!-- following WSDL doesn't work for encrypting and signing both response and request with X509 in test console -->
    <wsdl:binding name="DexService2Soap" type="tns:DexService2Soap">
        <soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document" />
        <wsdl:operation name="Message">
                <soap:operation soapAction="urn:moe:dex:dexservice:2.0.0/Message" style="document" />
                              <wsdl:input>
                                        <!-- WS-Policy file applied here -->
                                       <wsp:Policy>
                                            <wsp:PolicyReference URI="policy:Sign.xml"/>
                                            <wsp:PolicyReference URI="policy:Encrypt.xml"/>
                                       </wsp:Policy>
                                     <soap:body use="literal" />
                               </wsdl:input>
                             <wsdl:output>
                                       <!-- WS-Policy file applied here -->
                                       <wsp:Policy>
                                            <wsp:PolicyReference URI="policy:Sign.xml"/>
                                            <wsp:PolicyReference URI="policy:Encrypt.xml"/>
                                       </wsp:Policy>
                                  <soap:body use="literal" />
                               </wsdl:output>
        </wsdl:operation>
      </wsdl:binding>
    ...      Instead, I got error message like
    <15/01/2008 10:15:04 AM NZDT> <Error> <ALSB Security> <BEA-387023> <An error ocurred during web service security inbound response processing [error-code: Fault
    , message-id: 3917705281899426819-4368b1eb.117762cff6e.-7fdb, proxy: DexServiceX509-Stub/Proxy Services/DexServiceX509-ProxyService, operation: Message]
    --- Error message:
    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"><soapenv:Header/><soapenv:Body><soapenv:Fault><faultcode>soapenv:Server</faultcode>
    <faultstring>Failed to get token for tokenType: http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-x509-token-profile-1.0#X509v3</faultstring></soapenv:Fa
    ult></soapenv:Body></soapenv:Envelope>
    weblogic.xml.crypto.wss.WSSecurityException: Failed to get token for tokenType: http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-x509-token-profile-1.0#
    X509v3
    at weblogic.xml.crypto.wss.SecurityBuilderImpl.addEncryption(SecurityBuilderImpl.java:308)
    at weblogic.wsee.security.wss.SecurityPolicyDriver.processConfidentiality(SecurityPolicyDriver.java:280)
    at weblogic.wsee.security.wss.SecurityPolicyDriver.processOutbound(SecurityPolicyDriver.java:75)
    at weblogic.wsee.security.wss.SecurityPolicyDriver.processOutbound(SecurityPolicyDriver.java:64)
    at weblogic.wsee.security.WssServerHandler.processOutbound(WssServerHandler.java:86)
    Truncated. see log file for complete stacktrace
    >
    <15/01/2008 10:15:24 AM NZDT> <Error> <com.bea.weblogic.kernel> <000000> <Failed to build CertPath
    java.security.cert.CertPathBuilderException: [Security:090603]The certificate chain is invalid because it could not be completed. The trusted CAs did not inclu
    de CN=x509,OU=x509,O=x509,L=Wellington,ST=Wellington,C=NZ.
    at weblogic.security.providers.pk.WebLogicCertPathProviderRuntimeImpl$JDKCertPathBuilder.engineBuild(WebLogicCertPathProviderRuntimeImpl.java:669)
    at java.security.cert.CertPathBuilder.build(CertPathBuilder.java:194)
    at com.bea.common.security.internal.legacy.service.CertPathBuilderImpl$CertPathBuilderProviderImpl.build(CertPathBuilderImpl.java:67)
    at com.bea.common.security.internal.service.CertPathBuilderServiceImpl.build(CertPathBuilderServiceImpl.java:86)
    at jrockit.reflect.VirtualNativeMethodInvoker.invoke(Ljava.lang.Object;[Ljava.lang.Object;)Ljava.lang.Object;(Unknown Source)
            Truncated. see log file for complete stacktrace
    >
    <15/01/2008 10:15:24 AM NZDT> <Error> <ALSB Security> <BEA-387022> <An error ocurred during web service security inbound request processing [error-code: Fault,
    message-id: 3917705281899426819-4368b1eb.117762cff6e.-7fd8, proxy: DexServiceX509-Stub/Proxy Services/DexServiceX509-ProxyService, operation: null]
    --- Error message:
    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"><soapenv:Header/><soapenv:Body><soapenv:Fault xmlns:wsse="http://docs.oasis-open.or
    g/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd"><faultcode>wsse:InvalidSecurityToken</faultcode><faultstring>Security token failed to validate. weblo
    gic.xml.crypto.wss.SecurityTokenValidateResult@3c5347b[status: false][msg [
      Version: V1
      Subject: CN=x509, OU=x509, O=x509, L=Wellington, ST=Wellington, C=NZ
      Signature Algorithm: MD5withRSA, OID = 1.2.840.113549.1.1.4
      Key:  Sun RSA public key, 1024 bits
      modulus: 13052787793731294943682394984664645854838424340012907077330623....
      The 'System Error Handler' from 'Invocation Trace' in ALSB test console is something like
    [pre]     
    $fault:
    <con:fault xmlns:con="http://www.bea.com/wli/sb/context">
         <con:errorCode>BEA-386201</con:errorCode>
         <con:reason>
              A web service security fault
              occurred[{http://schemas.xmlsoap.org/soap/envelope/}Server][Failed
              to get token for tokenType:
              http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-x509-token-profile-1.0#X509v3]
         </con:reason>
         <con:details>
              <err:WebServiceSecurityFault
                   xmlns:err="http://www.bea.com/wli/sb/errors">
                   <err:faultcode
                        xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
                        soapenv:Server
                   </err:faultcode>
                   <err:faultstring>
                        Failed to get token for tokenType:
                        http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-x509-token-profile-1.0#X509v3
                   </err:faultstring>
              </err:WebServiceSecurityFault>
         </con:details>
         <con:location>
              <con:path>response-pipeline</con:path>
         </con:location>
    </con:fault>
    So is this a feature not supported in ALSB 2.6 yet or am I missing something dead simple?
    Thanks in advance
    Sam

    Instead of specifying policies for input and output separately you could place the policy reference only once in the operation element. Maybe will this solve your problem...
    http://e-docs.bea.com/alsb/docs26/security/ws_policy.html#wp1061166

  • Best Adobe product for editing PDF, replacing English text with Thai without altering/recompressing images, graphics etc.?

    I have an English language PDF, a medical device brochure, the content of which has already been translated into Thai (in Word). I want to replace the original English in the PDF with the Thai translation easily without altering any other aspect of the brochure, like graphics, images, margins etc. (No doubt I'll have to tweak line height, font sizes and paragraph lengths a little.) I'm unsure of what would be the best Adobe product for this purpose, e.g. Illustrator, InDesign or Acrobat (or something else), that would allow me simply to open the PDF, replace the English with Thai in an attractive Thai font (to be embedded), make minor layout tweaks, then save without any compression so the quality and colours of the original photos, artwork, and graphical elements are preserved. I've heard Office 2013 allows direct editing of a PDF but I'm not sure if it converts, alters or compresses PDF graphics in some way when first opening the file. Could anyone with relevant experience please advise? Thanks in advance.

    Adobe's only offering here is Adobe Acrobat. However, I must say something. I have heard from many people who sought to translate a PDF in this way. NONE SUCCEEDED. PDF is not suitable for this purpose. Obtain the original, this should be part of your contract for translation. If this is impossible, expect to remake the document; Word is probably unsuitable for a brochure of this type, maybe InDesign.

  • JMS Adapter getting xml without namespace

    Hello,
    We're using BPEL 10.1.3.4 and we need to integrate a legacy system with a new one. The legacy system writes in a JMS queue a simple xml message without namespaces (following although a specific schema). When in BPEL I try to get this xml I cannot access its elements and I'm getting errors like the following:
    variable/ expression is empty
    Which seems normal as bpel tries to access the element using namespaces.
    I found this thread which seems to be the same issue Re: writing XML without namespace? but I cannot actually understand the approach.
    Any help will be really usefull!
    Thank you!

    Hi,
    Did the solution mentioned in the other thread worked for you? I am having the exact problem.
    Thanks.

  • Adding audio and/or video without altering time line...

    I currently have a completed i-movie project of which I wanted to add some "stuff" at the begining of the presentation and actually at one point in the middle. I want to "insert" this audio and a few slides without altering the rest of the project. Am I am to anchor points so that what ever I do around those points does not affect the timing of what is already there?
    Thanks in advance all.
    JCole

    Hi
    First your server does not require javascript only your browser, (standard in all modern browsers).
    You also do not necessarily require the flash program, (your browser will require a plug-in for the audio video to play).
    You will require some form of video/media encoding software to convert your files to the required format though, (do a search using your preferred search engine for video encoder), then use dreamweavers insert file option to insert your audio/video file into your html
    PZ
    www.pziecina.com

  • Signed XML in SOAP Adapter

    Hello Experts,
    I have a scenario with receiver SOAP adapter, I have used the security profile in the channel and receiver agreement i have selected sign and all rudimentary requirements..
    But im unable to see the signed payload in the CC monitoring..it should be in the format
    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <soapenv:Header>
    <wsse:Security xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">
    <wsse:BinarySecurityToken xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" EncodingType="................</wsse:BinarySecurityToken>
    <ds:Signature xmlns:ds="http://www.w3.org/2000/09/xmldsig#">
    <ds:SignedInfo>
    <ds:CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#" />
    <ds:SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1" />
    <ds:Reference URI="#id-24819136">
    <ds:Transforms>
    <ds:Transform Algorithm=...........
    Im not able to see it in the SOAP adapter...have i missed something in the config...I have generated the cert in visual admin and given the correct values too in the channel and recv agreement.
    Can ne one elucidate on this please...
    How can i view the signed xml coming from the SOAP adapter?
    Regards,
    Farooq
    Edited by: Farooq Hussain on Nov 12, 2008 7:46 PM

    Hi  Farooq
    You have generated certificates? this will encrypt complete xml while sending. for that you need to set procedure as Encrypt this is what my understanding in this.
    XML Signature
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/55814003-0b01-0010-1ca2-c683a191ebfc
    Did you have checked with this
    Using Digital Signatures in XI
    it doesn't talk about generating the certificate and encrypting complete message but it actually encrypt complete message when you generate certificate.
    How XML Encryption can be done using web services security in SAP NetWeaver XI
    This also speaks similar. I am not able to get the link .. try search for "Ensure the Confidentiality of Your SOAP Message Content" to understand more on this
    Thanks
    Gaurav

  • How can I copy property nodes without them unlinking?

    I'm in the process of designing a VI that allows the user to choose between two methods of data analysis, each with a unique display structure. So I set up the two display methods, and overlapped them, and wrote a quick sequence to make the appropriate set appear/disappear using the visible property node. I wanted to be able to copy the frame where I made all the elements of one type invisible. However, when I copied the property nodes, they all unlike from their front panel items. I found a more elegant way around the issue, but the problem remains: is there any way to copy property nodes without having to relink them manually afterwards?
    Drew

    If you copy by selecting the items and then while holding down the Ctrl key (on a PC) drag a copy instead of copying and pasting the property nodes won't unlink.
    Brian

Maybe you are looking for

  • I can't have my own personal data without a judge seeing it first!

    I have been a Verizon customer since October of 2009. For the most part, I've enjoyed your services. You have extremely helpful customer service representatives both at your stores and through your call center. I didn't even mind when you took away u

  • Mail has suddenly, without any changes by myself, started sending every edit while composing an email. Anyone experienced this?

    I started composing an email in Mail, populated the To and Cc fields, and made 40 edits to the message. This account connects to my gmail account, and when I checked gmail, after sending the email, it showed all 40 edits as separate messages within a

  • Xerces C++ Parser Library

    Hello everybody. I want to learn two simple issues. If you answer, it will be very nice of you. 1) I try to develop an application on a Sun workstation having a sparc processor. It runs SunOS 5.9. The IDE that I use is Sun ONE Studio 4 update 1 Enter

  • Performance problem in 7.5M sp4

    We upgraded from 7.0sp6p1 to 7.5M sp4 and saw a 400% decrease in performance.   We did not upgrade SQL as we were running SQL 2008 R2 since July 2010. We identified most of the cause in "posting" the records.  See the relevant portion of our Formula

  • Skype not connecting

    For some reason Skype doesn't connect on the Mac, but everyone around me that has a Microsoft PC has no trouble. I used to get access but it just stopped working - I've got an airport extreme wireless. Wasn't really a problem because a neighbour let