on 02-01-2016 1:02 PM
I have to create an outbound proxy to a web service, this web service requires that the xml files has to be signed.
I´m able to sign the xml file in abap in a xstring, but I do not know how to send a xstring to an outbound proxy.
Does anybody know how to send the xtring directly to a proxy?
Thanks.
Hello Vinicius,
I would suggest you to sign and encode the file in SAP PI using a Java mapping. You can refer to my blog below to do this-
If you do not want to go for Java mapping, then you can do it using WSSE. Please find below the blog for the same -
Regards,
Nitin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks a lot, it seems that the correct is to map in java, I´ll try that.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Vinicius,
You can use the class 'CL_HTTP_UTILITY' to encode the XSTRING in base64 or you could also do what I have done before and simply pass it as a string of hex characters and convert it back to binary downstream with a java mapping.
Regards,
Ryan Crosby
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
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.