on 08-22-2011 2:52 PM
Hi All,
I have a requiremnet, in which the invoice document is coming along with a signature.
I have to verify the signature and extract the xml data from the inbound payload.
Please let me know how can i achieve this.
I am refering to the below link , but i am not able to achieve what is required.
http://help.sap.com/saphelp_47x200/helpdata/EN/a4/d0201854fb6a4cb9545892b49d4851/frameset.htm
Regards,
Bhanu.
Hi,
Using Java mapping would be complex in this case. PI supports verification of signature through SOAP adapter. Please following scenario to full fill your goal.
Parneter(sending data in signed form)>http call> PI Soap Sender channel(which is cabpable of validating the signature) --> PI File adapter/or any other adapter( which will give you only payload after verifying).
So dont go for complex java mapping or other java code. Use above scenario which will help you in your case. Please let me know if you want to know how to set up config for SOAP sender channel to verify the signature.
Thanks,
RK
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Banu,
Below is my understanding of your scenario, if i am wrong please correct me:
HTTP call(HTTP receiver adapter(?)) >o/b synch call>Third party, to this call Third party returns the payload with signature ie,
PI (HTTP adapter)<synch response with payload in signed form <Third party:
If my understanding is correct then surely you can avoid java mapping and using SOAP receiver adaptor instead of HTTP receiver, you can achieve your goal. Please let me know if you need still clarification.
Thanks,
RK
what is the transfer mechanism?
most of the adapters support secure communication along with the use of certificates that can translate the signatures.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
do you mean that you make a normal HTTP call but the response payload comes back as a secure payload?
In this case you might have to write a java mapping for the response parsing.
Yes i am surely looking for a Java Mapping.
The link mentioned wont help because the inbound payload is somewhat like below
Content-Type: multipart/signed; micalg=SHA-1; protocol="application/x-pkcs7-signature";
boundary="----=_Part_1_5155489.1312903547841"
------=_Part_1_5155489.1312903547841
Content-Type: application/octet-stream
Content-Transfer-Encoding: 7bit
<?xml version="1.0" encoding="UTF-8"?>
XML Content of the data
------=_Part_1_5155489.1312903547841
Content-Type: application/x-pkcs7-signature; name=smime.p7s
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename=smime.p7s
Here we have the base 64 format of the certificate data.
------=_Part_1_5155489.1312903547841--
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.