Loading Invoice XML IDoc with digital signature via XI into R/3

Hi,
I received an Invoice XML IDoc with digital signature via Mail (for test purposes) and want to load it via XI into an R/3 systeme.
My idea is to load the Invoice XML IDoc file via the File Sender Adapter into XI and send it to the R/3 system via the IDoc Inbound adapter.
Due to the digital signature the file looks like this:
0‚ S      *†H†÷
    ‚ D0‚ @   1 0       +      0‚ '      *†H†÷
    ‚   ‚   ‚ –0‚ ’0‚ û      etc.
When I load the file like this with the File Sender Adapter, an error message occurs in the XI Monitoring as the XML Parser cannot read the file due to the digital signatur (as expected).
Has anybody an idea how I can configure the File Sender Adapter Communication Channel to be able to load only the XML IDoc and ignore the digital Signature strings?
Thanks in advance for your support.
Alex

BTW
do use the second way you need:
Security Settings for the Sender Mail Adapter
http://help.sap.com/saphelp_nw04/helpdata/en/27/c0524257a1b56be10000000a155106/content.htm
and
Key Storage Service
http://help.sap.com/saphelp_webas630/helpdata/DE/e9/a1dd44d2c83c43afb5ec8a4292f3e0/content.htm
apart from adapter module config
Regards,
michal

Similar Messages

  • How to deal with digital signatures when converting messages?

    Hi there,
    this it not (yet) about the actual implementation. It's more of a logical problem that I'm facing.
    There are two partners A and B. A is sending an EDIFACT document which is digitally signed to B.
    B has a XI instance that is converting all incoming messages into IDocs, in this particular case INVOIC. This IDoc is received by the R/3 system.
    All invoices must be archived due to an eventual tax inspection.
    In order to fulfill the security requirements all archived data must be digitally signed.
    So far so good.
    I guess I'm not allowed to sign my invoices with my own private key due to the fact that i could alter the containing data and sign it again.
    It's obvious that I cant apply the digital signature from the EDIFACT message to my IDoc because the data has changed and therefore the signature is invalid.
    The only solution to this problem, that I can imagine, is to archive EDIFACT alongside IDoc.
    Have you experienced a similar problem or do you have any other idea in order to solve this issue?
    I hope my problem is well defined.
    Any comment is appreciated.
    Thanks in advance
    Bastian Stratmann

    Hi Bastian,
    it is not possible to separate the signature from the document signed.
    The system A generates and EDIFACT message -> A has the responsibility on this message and so A sign it.
    XI manipulate the message received from A, that means XI generates a new message. -> XI has the responsibility on it, so if you want a signature this should be generated by XI.
    As the IDoc was generated by XI it cannot be signed by A (neither technically nor logically) because A has no responsibility on it.
    XI <b>is</b> altering the message so XI is responsible for it.
    In this case you have to store both the EDIFACT message and the IDOC and maybe sign this new document (EDIFACT+IDOC) with XI signature .
    Kind Regards,
    Sergio

  • How to create Web Service Client from wsdl with digital signature?

    Please, help me to create Web Service Client from wsdl with digital signature. I know create Web Service client from wsdl file and I know how to add digital signature to XML with jwsdp, but I don't know how to do it together.
    Thanks.

    I'm handling security wit JAX-WS handler. So I insert "manually" ws-security tag and I encrypt (and sign) message parts.
    On client side, all works fine, but on server side I obtain:
    ---Server Inbound SOAP message---|#]
    Decrypting message and rebuilding Valuees... |#]
    Starting decrypt|#]
    . dectypted.!
    --found following string: <ns1:addiziona><num1>80</num1><num2>22222</num2></ns1:addiziona>|#]
    ...MESSAGE Restored.|#]
    <?xml version="1.0" ?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:ns1="http://calculator.me.org/" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd"><soapenv:Body><ns1:addiziona><num1>80</num1><num2>22222</num2></ns1:addiziona></soapenv:Body></soapenv:Envelope>|#]
    Error in decoding SOAP Message
    Error in decoding SOAP Message
            at com.sun.xml.ws.encoding.soap.server.SOAPXMLDecoder.toInternalMessage(SOAPXMLDecoder.java:89)
            at com.sun.xml.ws.protocol.soap.server.SOAPMessageDispatcher.toMessageInfo(SOAPMessageDispatcher.java:187)
            at com.sun.xml.ws.protocol.soap.server.SOAPMessageDispatcher$SoapInvoker.invoke(SOAPMessageDispatcher.java:571)
            at com.sun.xml.ws.protocol.soap.server.SOAPMessageDispatcher.receive(SOAPMessageDispatcher.java:145)
            at com.sun.xml.ws.server.Tie.handle(Tie.java:88)
            at com.sun.enterprise.webservice.Ejb3MessageDispatcher.handlePost(Ejb3MessageDispatcher.java:160)
            at com.sun.enterprise.webservice.Ejb3MessageDispatcher.invoke(Ejb3MessageDispatcher.java:89)
            at com.sun.enterprise.webservice.EjbWebServiceServlet.dispatchToEjbEndpoint(EjbWebServiceServlet.java:178)
            at com.sun.enterprise.webservice.EjbWebServiceServlet.service(EjbWebServiceServlet.java:109)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
            at com.sun.enterprise.web.AdHocContextValve.invoke(AdHocContextValve.java:100)
            at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566)
            at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:536)
            at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:71)
            at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:182)
            at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566)
            at com.sun.enterprise.web.VirtualServerPipeline.invoke(VirtualServerPipeline.java:120)
            at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:939)
            at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:137)
            at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566)
            at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:536)
            at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:939)
            at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:231)
            at com.sun.enterprise.web.connector.grizzly.ProcessorTask.invokeAdapter(ProcessorTask.java:667)
            at com.sun.enterprise.web.connector.grizzly.ProcessorTask.processNonBlocked(ProcessorTask.java:574)
            at com.sun.enterprise.web.connector.grizzly.ProcessorTask.process(ProcessorTask.java:844)
            at com.sun.enterprise.web.connector.grizzly.ReadTask.executeProcessorTask(ReadTask.java:287)
            at com.sun.enterprise.web.connector.grizzly.ReadTask.doTask(ReadTask.java:212)
            at com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:252)
            at com.sun.enterprise.web.connector.grizzly.WorkerThread.run(WorkerThread.java:75)
    Caused by: javax.xml.ws.soap.SOAPFaultException: Cannot find the dispatch method
            at com.sun.xml.ws.encoding.soap.SOAPDecoder.raiseFault(SOAPDecoder.java:674)
            at com.sun.xml.ws.encoding.soap.server.SOAPXMLDecoder.decodeDispatchMethod(SOAPXMLDecoder.java:152)
            at com.sun.xml.ws.encoding.soap.SOAPDecoder.decodeBodyContent(SOAPDecoder.java:337)
            at com.sun.xml.ws.encoding.soap.SOAPDecoder.decodeBody(SOAPDecoder.java:327)
            at com.sun.xml.ws.encoding.soap.SOAPDecoder.decodeEnvelope(SOAPDecoder.java:250)
            at com.sun.xml.ws.encoding.soap.server.SOAPXMLDecoder.toInternalMessage(SOAPXMLDecoder.java:81)
            ... 29 more
    |#]
    --->handleFault O_o<---|#]If you have any idea for solving my problem, then I can post my simple example :(
    Bye!

  • PDF File with Digital Signature

    I am opening a "PDF File with Digital Signature" using Adobe Acrobat Pro 9.
    File gets opened.
    Then i choose "Preflight: option for "Report PDF Syntax issues".
    The following message is displayed:
    "An error occured while parsing a contents stream. Unable  to analyze the PDF file."
    So whats the solution for this error?

    Hi,
    I have uploaded the file on the specified link:
    http://www.filefactory.com/file/b3g5h37/n/abc.pdf

  • Doc size with digital signature

    i've got 2 questions, please help:
    1) why do .pdfs with digital signatures have such large file size? how can i reduce the size?
    2) why do .pdfs with digital signature become text non-searchable?
    thnx
    brg

    actually the same signature size isn't such a problem when using Adobe software, but when using pdfCreator, the size increases... pls don't give me lectures on using another software, i need A5 and Adobe doesn't provide it...
    so i guess it's the problem within that other pdf maker...
    why i need to pdf print the file? one reason is i can print it ( otherwise signatures don' show, protection i guess), the other reason to protect the signatures that for that specific reason only need to be seen.
    thnx.
    brg

  • Jar files with digital signature -pl help

    Hi there
    is there anybody who will help me guiding step by step how to create a jar file (executable) with digital signature?
    thanks in advance.

    Sorry, digital signatures have nothing to do with decompilation security. The short answer is, there's nothing you can do about it. Search the forum for 'obfuscator', a lot of people have asked the same question.
    -Ron

  • Form 16 With digital signature giving adobe document corrupted output

    Dear All,
    We have configured ads and implementing form 16 with digital signature,we have done the all configuration as per SAP Guide and dezso blogs,but when generating the form 16 with digital signature its giving
    "Adobe reader could not open _xxxxx.pdf because it is either not a supported file type or corrupted,
    we have done the same configuration in dev its working fine and prd its not working,request you to please provide the solution for the same.
    as per some check list i have cheked ads_https is working fine,but when executing the report fp_pdf_test_00  with rfc ads_https its asking for user name and password,we have maintained the same user name and password for abap and java for both adsuser and ads_agent still same issue,
    pelase suggest.
    please find attached screenshot for your reference.
    Regards,
    Basis

    This can be done but you must use the Document Form var to route the signed pdf. You must configure the FormGuide submit button to 'Submit from PDF' in Guide Builder.
    Also the button on the form must be configured to submit as 'PDF' (not XDP). This change is done when you open the form in designer.
    Note that after you have submitted the signed pdf you will be dealing with a pdf subsequently.
    Attached is a sample FormGuide.

  • PDF by email in 46C with digital signature

    Hi all,
    can anyone tell me if it is possible to send a PDF with digital signature from SAP in 4.6C?
    I'm converting a spool order into PDF document, and send it by email using FM SO_NEW_DOCUMENT_ATT_SEND_API1..
    Best Regards,
    Pedro

    Thanks for the reference to the digsig user guide. I've reviewed this documentation and the majority of it I had already tried however one TIP that is in this document that I hadn't seen before points to setting up a FDF file to import AD secure to easily import the ID's
    More specifically, I have configured LDAP and the Security settings in Adobe Pro and when attempting to connect to our LDAP server is when I run into the issue. I am not able to connect. Is there any additional information that you know of that can shed some light on LDAP configuration with Adobe PDF forms for digital id's?

  • Problem with Digital Signature strategy in Document Managment System

    Hello ALL,
    I am facing problem with Digital Signature strategy in DMS. If any help its greatly appreciated.
    I have senario where Approvers in DMS will review the document and approve the document and put on their digitial signature. if i have multiple approvers maintained in the characterstics it has to check weather it has been approved by all approvers otherwise it has to reset the status to for approval.
    My problem is i am able to reset the status back from approved to for approval using the badi document_status01 but when the next approver logs in to the document and change the status to approved he is not able to get the digital signature pop up which it comes only first user approves it.
    can any one help me out on whats going wrong in it.
    Thanks
    Srikanth Aduri.

    Hi,
    maybe the reason for this is that the status of the digital signature is not changed. Then the system thinks that the digital signature is still completed and therefore the user is not getting the pop-up again. The database table for the digital signature for documents is TC77. I hope this information is usefull for you.
    Best regards,
    Christoph

  • Issue with digital signature

    I am having a issue with digital signature in Adobe 7.
    I was able to sign the document, but my name does not appear on the signature block.  I am using a certificate that is assigned to me, but my name never appears in the “signed by” field.  I did notice that the certificate is assignedto my email address not my name; Could that be what is causing this issue?
    Thanks

    Thanks for the quick response.
    I have tried that I click on the box to show "name", but it still never shows the name......

  • How to load the .xml file list from 'C:\Drag_list\Modified' into xmltype tb

    Hi all experts,
    I am in Oracle Enterprise Manager 11g 11.2.0.1.0.
    SQL*Plus: Release 11.2.0.1.0 Production on Tue Feb 22 11:40:23 2011
    is there anyone know why
    SQL> create or replace directory XMLDIR as '/xdb/faq/testdata'
    2 /
    SQL> set long 10000 pages 200 lines 150
    SQL> --
    SQL> select xmltype(bfilename('XMLDIR','2003.xml'),nls_charset_id('AL32UTF8'))
    2 from dual
    worked. but
    SQL> create or replace directory XMLDIR as 'C:\Drag_list\Modified';
    SQL> select xmltype(bfilename('XMLDIR','2011.xml'),nls_charset_id('AL32UTF8'))
    from dual
    did not work?
    IS there any way I can load the .xml file list from 'C:\Drag_list\Modified' into xmltype table?
    Thanks.

    did not work?Generally we'll need a bit more info than "it didn't work", was there an ora-X error message? What was the error?
    Assuming you're on *nix a 'C:\<folder name>\...' directory spec just plain won't work, the directory has to point to a valid storage location on the database server host.
    Try a host command (at the database server) and make sure the .xml file name and location is valid, in sqlplus a "bang" (exclamation) runs a host command, i.e.:
    SQL> !ls -l /xdb/faq/testdata
    ... usr grp ... 2003.xml
    ...But if you are on windows, its the `host` command:
    SQL> host dir c:\drag_list\modified
    mm/dd/yyyy ... 2011.xml
    ...  The create directory ... as ... must point to a valid storage location for it to work, at least that is step one.

  • How to load the .xml file list from 'C:\Drag_list\Modif into xmltype table?

    Hi all experts,
    I am in Oracle Enterprise Manager 11g 11.2.0.1.0.
    SQL*Plus: Release 11.2.0.1.0 Production on Tue Feb 22 11:40:23 2011
    is there anyone know why
    SQL> create or replace directory XMLDIR as '/xdb/faq/testdata'
    2 /
    SQL> set long 10000 pages 200 lines 150
    SQL> --
    SQL> select xmltype(bfilename('XMLDIR','2003.xml'),nls_charset_id('AL32UTF8'))
    2 from dual
    worked. but
    SQL> create or replace directory XMLDIR as 'C:\Drag_list\Modified';
    SQL> select xmltype(bfilename('XMLDIR','2011.xml'),nls_charset_id('AL32UTF8'))
    from dual
    did not work?
    IS there any way I can load the .xml file list from 'C:\Drag_list\Modified' into xmltype table?
    Thanks.
    Edited by: Cow on Apr 13, 2011 12:58 AM

    This is a question better suited for the sql and pl/sql support forum, since it is NOT an APEX based question..: PL/SQL
    Thank you,
    Tony Miller
    Webster, TX
    On the road of life...There are 'windshields', and there are 'bugs'
    (splat!)
    "Squeegees Wanted"
    If this question is answered, please mark the thread as closed and assign points where earned..

  • PDF with Digital Signatures

    I am currently using classic asp and I need to fill out an existing pdf with data from the database.  The form also contains two signatures.  I just need to fill in the form, save it so I can email it to the  the customer.  I tried using the fdf toolkit - but my form has text fields that can be 20 characters or 4000.  The multiline function in adobe forms isn't working correctly and it cuts it off when you print. 
    I could create the form in livecycle,  and generate the data in xml, but I am so new to adobe, I don't know how to programatically load the file and save it to the server. 
    I have another program I've tried where I can generate fdf code I think it's fpdf (the php version that was changed to asp)  - but I need to know how to generate a digital signature. 
    I've tried pdftk - I tried to merge the data with the signature - but ended up with permission issues.
    I have been working on this problem for several weeks and could really use some help. 

    Bill,
    I'm trying to create a dynamic document using data from the database to generate the pdf, the pdf also needs to containg two signatures for signing.  I've looked at every way possible to do this.  Currently, my greatest success has come from using the fdf toolkit, but the sizing of the fields (could be 20 chars, could be 4000 chars) leaves me with a very ugly form. 
    The form I am using already contains the two signature blocks - but I am at a loss on how to populate a pdf form that resides on the webserver with data from the database.   
    Bill, can you help?

  • Fire fox is not reading my XML file for digital signature

    I have to upload the xml file in www.incometaxindiaefiling.gov.in by digitally signing the xml file. When I click on the tab for digital sign, the message come " cannot read the xml file"

    Not the sort of thing it is easy to help with as by definition it will not be a public site but one for Indian Taxpayers, and can be expected to be secure.
    Have you tried using Internet Explorer.
    You could try attaching screen shots of the problem pages and any error messages, but please be careful and edit out any confidential or sensitive information before attaching such an image.
    Please remember you are posting on a public and websearch indexed website, this is not a private support ticket.
    *link is https://support.mozilla.org/en-US/questions/968557
    Are you seeing a shield icon in your location bar as explained in this article
    * How does content that isn't secure affect my safety?
    That is rather a longshot as it is a change in Firefox so could affect you this year, but would not have affected you last year.
    * see [[How does content that isn't secure affect my safety?]]
    I note the public portion of the site
    * https://incometaxindiaefiling.gov.in/
    * talks about 'e-Filing' and 'Option 1: Use Digital Signature Certificate (DSC)' and then gives two other alternatives
    Other possibilities
    *[[Troubleshoot the "Secure Connection Failed" error message]]

  • PDF Fill-in forms with Digital Signatures - LDAP, Roaming ID's

    Hello, my organization is trying to be more "Green" by taking regular PDF documents that use to be printed, filled in by hand, signed and then routed... To a PDF fill-in form that contains a Digital Signature Block. I can easily and successfully create PDF fill-in forms, where Im running into an issue is with the Digital Signatures.
    I can easily create a Digital Signature that is stored on my local computer and sign documents then forward them via email on to the recipient. However, what we would like and have been failing and making happen is to set up a signing server where the signer can fill out the PDF form and then sign the document by pulling their digital signature from a Directory Server, in our case LDAP or Active Directory.
    From the information that I have found on the web I know this can be done without use of expensive third party applications. However, I have not found information on how to do this other then this simple 3 line instruction which did not work for us. - http://help.adobe.com/en_US/Acrobat/8.0w/Professional/help.html?content=WS58a04a822e3e501 02bd615109794195ff-7d96.html
    Any help on this topic would be greatly appreciated.

    Thanks for the reference to the digsig user guide. I've reviewed this documentation and the majority of it I had already tried however one TIP that is in this document that I hadn't seen before points to setting up a FDF file to import AD secure to easily import the ID's
    More specifically, I have configured LDAP and the Security settings in Adobe Pro and when attempting to connect to our LDAP server is when I run into the issue. I am not able to connect. Is there any additional information that you know of that can shed some light on LDAP configuration with Adobe PDF forms for digital id's?

Maybe you are looking for