cancel
Showing results for 
Search instead for 
Did you mean: 

Xstring to proxy

Former Member
0 Kudos

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.

Accepted Solutions (1)

Accepted Solutions (1)

nitindeshpande
Active Contributor
0 Kudos

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 -

http://scn.sap.com//people/rajendra.badi/blog/2011/08/24/configuring-wsse-digital-signing-and-encryp...

Regards,

Nitin

Answers (2)

Answers (2)

Former Member
0 Kudos

Thanks a lot, it seems that the correct is to map in java, I´ll try that.

Ryan-Crosby
Active Contributor
0 Kudos

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