cancel
Showing results for 
Search instead for 
Did you mean: 

Configuration of http adapter to reach https-URL

Former Member
0 Kudos

I want to configure a http Receiver Communication Channel that is supposed to call a web service with the following URL: https://api.sandbox.ebay.com/ws/api.dll.

I did the following set-up in the http Adapter:

Addressing Type: URL Address

Target host: api.sandbox.ebay.com

Service Number (Port):443 (-> Standard https Port)

Path Prefix: /ws/api.dll

I startet the process and received the following error message in XI:

"ERROR: The requested URL could not be retrieved. While trying to retrieve the URL: "http://api.sandbox.ebay.com:443/ws/api.dll?"The following error was encountered: Zero Sized Reply. Squid did not receive any data for this request."

It seems it is calling the URL via http, not with https.

Can someone tell me how to change the configuration of the http Adapter that it uses https?

Thanx in advance.

Alex

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Alexander,

Please go through these links and see how to configure a http Adapter that uses https:

http://help.sap.com/saphelp_nw04/helpdata/en/14/ef2940cbf2195de10000000a1550b0/content.htm

http://publib.boulder.ibm.com/infocenter/wbihelp/v6rxmx/index.jsp?topic=/com.ibm.wbia_adapters.doc/d...

/people/wallace.su/blog/2006/05/17/how-real-is-it-to-secure-web-services-in-sap-netweaver-today

/people/siva.maranani/blog/2005/05/23/communication-between-sap-system-webservice-using-proxies

Regards,

abhy

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Abhi,

thanks, that helped for a start.

I was going through the 'SAP Library - SAP Security Guide XI' and according to the topic 'HTTP and SSL' I think the connection type (r3) fits with my case. It says there:

"(r3)

The corresponding Integration Directory channel to the external receiver must be configured as a corresponding adapter protocol using HTTPS."

The problem is: I can only choose the Adapter type 'http' and as transport protocol 'HTTP 1.0'. There is no transport protocol 'HTTPS 1.0' or an Adapter Type 'HTTPS'.

So the questions still is: how can I select/configure https?

Thanks.

Alex

sam_raju
Contributor
0 Kudos

Hi Alexander,

Create RFC Destination with Connection type ‘G’ using Tr. Code SM59 in XI System and enter all the parameters like TargetHost,(Target System), ServiceNo(external port)and path prefix. In the tab “Logon/Security” enter the login info and enable SSL. Run the transaction STRUST to setup client PSE.

For more info on this refer to help.sap.com at the following <a href="http://help.sap.com/saphelp_nw04/helpdata/en/65/6a563cef658a06e10000000a11405a/content.htm">link</a>.

In the HTTP Adapter communication channel config in XI ID, Select the “Addressing Type” as HTTP Destination and in the HTTP Destination field enter the HTTP Destination name you created in the above step.

Hope this helps.

Regards,

Sam Raju