cancel
Showing results for 
Search instead for 
Did you mean: 

posting to a dynamic url using https

Former Member
0 Kudos

The problem is as follows:

We want to post 2 fields to an external https url. The problem is that the url is dynamic (defined as an input field).

We have concluded that the following subsections are possible:

- Posting to a https url using an HTTP destination in the communication channel (using a SAP RFC destination) is possible

- Posting to a dynamic http url using an URL ADDRESS in the communication channel is also possible

The problem is combinding the two. A HTTP destination using an RFC destination cannot process dynamic url’s, and we have been unable to post to a https url using the URL ADDRESS option in the communication channel, with the following error in SAP SMICM:

[Thr 4692] *** ERROR => PlugInHandleNetData: client: premature EOS - header not complete in response [http_plg.c 2540]

Is it even possible in XI to use an https url in the URL ADDRESS of the communication channel?

Accepted Solutions (1)

Accepted Solutions (1)

bhavesh_kantilal
Active Contributor
0 Kudos

> We want to post 2 fields to an external https url.

> The problem is that the url is dynamic (defined as an

> input field).

This is possible depending on the adapter you are calling. Both HTTP and SOAP adapters support this.

In your mapping write a UDF to set the URL using Adapter Sepcific Identifers and select the same in the HTTP / SOAP adapter and the values are taken dynamically from your Mapping values.

> Is it even possible in XI to use an https url in the

> URL ADDRESS of the communication channel?

It sure is. You need to configure your ABAP and JAVA stack for the Https settings ( install Cryptographic Library etc ) and you can invoke a SSL call from XI.

Regards

Bhavesh

Former Member
0 Kudos

Bhavesh thank you for your answer. It was helpfull but did not yet solve the problem

I'll try to further clarify the problem.

The ABAP and JAVA stack are configured for HTTPS with the cryptografic library and certificates.

In a receiver communication channel i can only select HTTP 1.0 for the transport protocol, not HTTPS. I know i can do HTTPS using a RFC destination but then a dynamic url cannot be used. How do i select (or enable) the HTTPS transport protocol in the receiver communication channel? Is this option diabled by default?

I hope you can shed some light on this problem.

Regards

Peter

bhavesh_kantilal
Active Contributor
0 Kudos

Peter,

In the SOAP adapter, select option <b>Configure Certificiate Authentication</b> and then provide the keyStore Entry here.

The URL can be the https Url.

Regards

Bhavesh

Former Member
0 Kudos

That fixed the our problem, thank you very much.

Answers (0)