cancel
Showing results for 
Search instead for 
Did you mean: 

Cannot create HTTP client Exception in Http --> XI --> RFC scenario

Former Member
0 Kudos

Hi,

We are testing Http --> XI --> RFC scenario

While testing this scenario from RWB we are getting following error message in the SXMB_MONI logs:

<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>

- <!-- Call Adapter

-->

- <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1">

<SAP:Category>XIServer</SAP:Category>

<SAP:Code area="INTERNAL">CLIENT_CREATE_FAILED</SAP:Code>

<SAP:P1>1</SAP:P1>

<SAP:P2 />

<SAP:P3 />

<SAP:P4 />

<SAP:AdditionalText />

<SAP:ApplicationFaultMessage namespace="" />

<SAP:Stack>Cannot create HTTP client (exception 1)</SAP:Stack>

<SAP:Retry>N</SAP:Retry>

</SAP:Error>

Following is the info from the Trace:

<Trace level="1" type="System_Error">cl_http_client exc = argument_not_found</Trace>

We have tried following things:

1. In SICF we made sure the /default_host/sap/xi/adapter_plain is active

2. Applied SAP Note: 716739

Any response will be greatly appreciated.

Thanks,

Paresh

Accepted Solutions (1)

Accepted Solutions (1)

udo_martens
Active Contributor
0 Kudos

Hi Joshi,

if you see that msg at SXMB_MONI it has passed http adapter. Plz have a look to the navigation frame on left side: Where did you find error status. And check at ALV Grid surface, how the receiver determination worked. Did the msg has been routed as expected? My suspect is the receiver channel. Plz control it, if everythink is configured in a right way. This kind of error usually comes only if you use a native receiver adapter (http, proxy, idoc).

Regards,

Udo

Former Member
0 Kudos

Hi UDO,

Thanks for your reply. The error was gone when I tested again this morning. I am guessing it must be the SAP Note 716739 that we applied and might not have refreshed the cache.

I am still intereseted in confirming what exacly fixed this issue.

As per your suggestion, I looked at the left Nav bar and the error was at the "Call Adapter" step. Even in the log message it says the same. The reciever/interface determination and mapping were successfull. I could successfully test the scenario in the integration directory.

Here is what the 716739 Note said:

Symptom

If you call the Integration Server from a sending Integration Engine (proxy), the following error message occurs:

Category = XIServer

Area = INTERNAL

Id = CLIENT_CREATE_FAILED.

In transaction SXMB_ADM, you used the Configure Integration Engine function to enter a URL of the type http://<host>:<port>/sap/xi/engine?type=entry instead of a URL of the type dest://<name>.

Other terms

SICF, SXMB_MONI, SXMB_ADM, XI

Reason and Prerequisites

You have configured the communication route from the sending proxy (Integration Engine) to the Integration Server using the URL of the type

http://<host>:<port>/sap/xi/engine?type=entry and have saved the logon data on the Integration Server in the Service

/sap/xi/engine (transaction SICF).

A program error has occurred: the communication log is not correctly set when the HTTP client is set up.

Solution

The problem is eliminated with SAP_BASIS Support Package 2. To eliminate the problem, you can use an URL of the type dest://<name>, where <name> refers to the name of a HTTP destination that you have maintained with transaction SM59.

Now, I was not using the proxies but Http post to XI. Do you guys also think this might have fixed my issue?

Thanks,

Paresh

Former Member
0 Kudos

Hi Paresh,

You said that on the Receiver side..it is RFC..right ?

Please check your receiver agreement and see if the RFC Receiver channel is attached correctly...

Thanks.

udo_martens
Active Contributor
0 Kudos

Hi Paresh,

>>>Now, I was not using the proxies but Http post to XI. Do you guys also think this might have fixed my issue?

No, as i told you, i dont think it has to do with sender adapter. "Call Adapter" means of coz the receiver adapter.

Regards,

Udo

Former Member
0 Kudos

Hi Deepu,

Yeah, the reciever side is RFC and that channel is attached correctly. The error I was getting is "Cannot create HTTP client". This is why I was thinking that it must be the XI's Http Adapter issue.

Former Member
0 Kudos

Hi Udo,

Any idea than on what could have fixed this issue?

Thanks,

Paresh

udo_martens
Active Contributor
0 Kudos

there are things between bits and bytes...

Former Member
0 Kudos

Hi Udo,

That explains :-)....I am closing this thread...and will post on the board again if and when I find anything concrete.

Thanks for your help!!

Answers (0)