cancel
Showing results for 
Search instead for 
Did you mean: 

Test Http(s) sender adapter

former_member568822
Active Participant
0 Kudos

Hi,

I already done all the configuration for ssl and also create a http(s) sender adapter to retrieve data using rfc. May i know normally how you test the https sender?

Thanks.

Accepted Solutions (0)

Answers (4)

Answers (4)

former_member568822
Active Participant
0 Kudos

Using https receiver adapter to test.

former_member307485
Active Participant
0 Kudos

Hi,

https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/66dadc6e-0a01-0010-9ea9-bb6...

The html code in this link works perfectly to send a http request.

Just replace the userID & password in the html code with yours and try it.

Another simplpe method : just send your message via Runtime Workbench, there is a test tool to send messages directly to Integration Engine (the http adapter is doing the same).

Regards,

Divya

former_member568822
Active Participant
0 Kudos

Hi,

Thanks for reply. I am already have the code but the problem is when i change to url to https how about the client certificate? It that anyway that i can past the certificate?

Best regards,

Gan

Former Member
0 Kudos

A https connection will always ask you for a certificate if the called server requires a cert from the caller. You should have it installed on the local mashine you do the test / call from. You should have private key installed. If you have installed more than 1 cert, the browser will ask you to choose one.

You may also have the cert of PI installed on your local mashine as "trusted cert".

Regards,

Kai

Edited by: Kai Lerch-Baier on Apr 15, 2009 9:10 AM

former_member568822
Active Participant
0 Kudos

Hi,

Thanks for reply. I have already install the cert key into my browser and test it will BSP test page. It working fine but my problem is how am i testing with the sender https adapter? I am using the html code from sdn to test with http adapter and it working fine but after i change the security to https it not working.

Thanks

Former Member
0 Kudos

What error message are you facing in the browser when trying to call the sender adapter per https?

former_member568822
Active Participant
0 Kudos

Hi,

It did not show any error.

Former Member
0 Kudos

It doesn't work - but also doesn't show an error? How did you change the security? Did you change it in PI sender channel and also in the HTML code (set to https)?

former_member568822
Active Participant
0 Kudos

yes, i change the sender channel and also the html code to https and https port.

thanks

Former Member
0 Kudos

Hm... strange. So what happens if you do the https call - nothing? Can you call the URL from a blank browser window?

former_member568822
Active Participant
0 Kudos

Hi,

When i call the url using browser it will pop up ask for certificate then after i click ok it show blank page. But if call the url using html then it only show the url.

Former Member
0 Kudos

To me it seems it may have different reasons:

1) The cert is not installed propperly on your local mashine. Make sure the cert is shown in your browser under Tools => internet options => content => certificates => personal tab.

2) The cert is not usable for client authentication. Check it and open the cert from your browser. Under details you need to check whether basic contrein is "end entity" and under properties if "client authentication" is listed and marked as active.

3) The SSL config is not done propperly in XI for this channel / in Visual admin

prateek
Active Contributor
0 Kudos

Its the URL of PI that matters. Instead of http, it should start with https. Rest of the testing remains the same.

Regards,

Prateek

Shabarish_Nair
Active Contributor
0 Kudos

you can use a HTTP client in this case - Search SDN for HTTP client and you will find numerous links as this to help you.

Former Member
0 Kudos

Hi,

Check this thread

/message/266750#266750 [original link is broken]

Regards

Ramesh