cancel
Showing results for 
Search instead for 
Did you mean: 

Test Services returning error as "could not find host and post information"

Former Member
0 Kudos

Hi all,

We had created a web service. when we are testing it we are getting error as "could not find host and post information".

The detail shows:

Possible causes are:

The Internet Communication Manager is not active. Use transaction SMICM to check whether the Internet Comunication Manager is active.

The Customizing settings for the host and port assignment are incorrect. Use transactions SMICM and RZ11 to check whether the system settings are correct.

I checked in SMICM, my ICM is active, when i checked in services in that, the http port 8000 does not have a tick mark against active column where as rest all services have.

when i am trying toactivate that service using service - > activate.

its failing and giving an error Operation failed(rc = 1). I checked the parameters in SMICM

following are the values maintained there.

Services

icm/server_port_0 = PROT=HTTP,PORT=8000

icm/server_port_1 = PROT=SMTP,PORT=0

icm/server_port_2 = PROT=SMTP,PORT=25100,TIMEOUT=180

Misc

icm/host_name_full = Hostname

icm/cancel_strategy = cancel requests without session (stateless)

rdisp/plugin_auto_logout = 1800

is/HTTP/virt_host_0 = :;

is/SMTP/virt_host_0 = *:25100;

i checked in RZ11 in instance profle.

i could see the value of icm/server_port_0; icm/server_port_1; icm/server_port_2 . But i could nt see the value of icm/host_name_full , not even on OS level.

Kindly help.

Regards,

Priya

Accepted Solutions (0)

Answers (2)

Answers (2)

thomas_jung
Developer Advocate
Developer Advocate
0 Kudos

I fail to see how this question is Web Dynpro ABAP related. You are creating a web service, not a web dynpro abap application. This seems to be a general question about system configuration since you can't get your ICM HTTP service activated. I think you would find better responses in a system admin forum.

Former Member
0 Kudos

Hi Priya,

I am not sure about the error, But may be it's coming because you are not using the Fully qualified domain name (FQDN). Check the SAP HElp for [Fully Qualified Domain Names (FQDN)|http://help.sap.com/saphelp_nw70/helpdata/en/67/be9442572e1231e10000000a1550b0/content.htm].

Also check the similar isssue in the thread [SOLMAN_SETUP not working |; and ensure the points which Phillip had suggested.

Hope it helps.

Former Member
0 Kudos

Hi Sanket,

I understand that we require FQHN, but i dont understand why doesn't it work with just hostname? what is the issue with providing only hostname and not FQHN?

How is FQHN different fromJust hostname?

Regards,

Priya

Former Member
0 Kudos

Hi priya,

The ICM sets the FQHN using the following hierarchy.

1. The parameter SAPLOCALHOSTFULL in the SAP profile (recommended for high availability configurations) has the highest priority. If it is set in a profile file, the ICM uses this value as the FQHN. Note: the system default value of SAPLOCALHOSTFULL contains the host name without domain, so the system default is ignored by the ICM.

2. If the parameter is not set, icm/host_name_full is analyzed.

3. If this parameter is not set either, the ICM uses the FQHN of the operating system. For this reason, check the settings of the hosts file at the operating system level.

The parameter SAPLOCALHOST is not fully qualified and is not used by ICM for the services.

SAP recommend that you set either SAPLOCALHOSTFULL (for HA configurations) or icm/host_name_full.

Check the SAP note 773830 & [Sap help|http://help.sap.com/saphelp_snc70/helpdata/EN/48/3c5d3df7e771b9e10000000a421937/content.htm] for more details. Hope it helps.

Former Member
0 Kudos

Hi,

We had created this Web service to connect to our POS system.

We are developing a functionality in POS where in POS can look up for

an inventory in other stores.

For this they require connection between SAP and POS to look up for the

respective data.

Now it seems this web service works only with Java stack and currently

we dont have Java Stack.

We ar considering whether RFC is a possibility?

We have ECC ABAP stack with Oracle database and POS system with My SQL

database which have Jco for communication.

Can yu guide us in it? whether it is possible for us to do this kind of

setting via RFC. or with web servie without adding JAVA stak?

Regards,

Priya