cancel
Showing results for 
Search instead for 
Did you mean: 

HTTP adapter setup

jakob_steen-petersen
Active Participant
0 Kudos

Hi,

I need some information on the setup of the http adapter as a sender. i need to call this url (fictive i.p.):

http://123.123.123.123/odupservices/upload

But what is supposed to be in the Target host field and what should be in the Path field?

I have tried to fill in the hole string in the target host field, but it gives me an Error 400 ICM_HTTP_CONNECTION_FAILED

Have anyone tried to use the HTTP adapter?

/Jakob

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Jakob,

if you want to analyze the error message deeper you can go into SMICM and look in the trace log.

In general the following applies:

Example: http://www.google.com/gmail

"http://www.google.com" is the domain part(Target host)

/gmail is the path(path field)

80 is the port(443 in case of https)

If you type a host name you have to be sure that the DNSlookup can be made correctly. Alternatively you can type the IP-address instead in the target host.

Hope it helps!

Cheers

jakob_steen-petersen
Active Participant
0 Kudos

Hi,

As you can se here in the trace it seems that the hostname is blank? How is that?:

[Thr 5560] *** WARNING => Connection request from (13/1533/0) to host: http, service: 80 failed (NIEHOST_UNKNOWN)

EX-T13, U1533, 100 XISUPER, 62.199.130.132, 09:58:01, M0, W0, , 1/0 [icxxconn.c 2114]

/Jakob

Former Member
0 Kudos

Have you tried putting in the IP-address?

NIEHOST_UNKNOWN can mean that the DNSlookup doen't work.

cheers

jakob_steen-petersen
Active Participant
0 Kudos

Yes same problem!

jakob_steen-petersen
Active Participant
0 Kudos

I have solved the connection problem:

Host: 123.123.123.123 (without http://)

Service number: 80

Path: /odupservices/upload

Now i get the response but the problem is how to handle the response: it´s kind of flat file format. No xml so the mapping dumps!

Any ideas?

/Jakob