cancel
Showing results for 
Search instead for 
Did you mean: 

Calling webservice via https from WAS

Former Member
0 Kudos

Hello guy's,

I'm trying to call a webservice from the WAS (6.40) via https (SSL). <b>I'm not using XI</b>.

I'm doing this way :

Function Module call -> XSLT (ABAP to XML) -> send -> receive -> XSLT (XML to ABAP).

The web service I'm calling runs under https://.. URL in two way SSL.

So I have two questions :

1 - How can I identify myself to the webservice's provider (how can I declare my certificate in SAP)

2 - How can I declare the provider's CA in STRUST

Any help is apriciated

Thank's

Micael.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hello,

1 : You declare your certificate with transaction STRUST in the "SSL Client (Standard)" entry

2: The provider certificate has to be declared in the same place, added in the certificate list of the "SSL Client (Standard)" entry.

Regards,

Olivier

Former Member
0 Kudos

Thank you Olivier,

Sorry but I don't find these entries (I'm working on CRM 5.0 / ERP 2005)... I only have : "Personal certificate", "Certificate list" and "Certificate"

Other question, how can I specify the certificate to use for calling the WS ? The code I use to call the webservice is describe in this Blog :

/people/durairaj.athavanraja/blog/2004/09/20/consuming-web-service-from-abap

Should I add something like : CALL method XXXXXXX (which specify the certificate to sue) ?

Regards,

Micael

Former Member
0 Kudos

Micael,

Did you install the SAP cryptolib library ?

The SSL entries are only present in STRUST when the cryptolib is installed.

My info is from R/3 4.7 or netweaver 7.0.

I think the certificate has only to be imported in STRUST but I did not try it.

Regards,

Olivier

Answers (1)

Answers (1)

Former Member
0 Kudos

Thank's.

The library is not installed. I do this and come back to you.

Micael.