Highlighted
Absent Member.. Absent Member..
Absent Member..
137 views

(SM) Support Tip : "Host of origin may not be blank" error in CIT for SM web service connector

Connect-It(CIT)/Service Manager(SM) : CIT scenario contains a SM web service connector as the destination connector. When the scenario is run, each document produced in the document log has an error "Host of origin may not be blank".

Example scenario :

 

1.PNG

 

Following errors appear for each of the documents produced :

2.PNG

 

Conitgui.log present in the <CIT_InstallDir>\bin directory is filled with similar entries :
-------------------------------------------
2013/11/15 18:42:42.882 1 1 [(DeleteEventoutDst) DeleteEventout] (0) Cause by java.lang.IllegalArgumentException: Host of origin may not be blank
2013/11/15 18:42:55.476 0 1 [(DeleteEventoutDst) DeleteEventout] (0) Unable to initialize request.
2013/11/15 18:42:55.476 0 1 [(DeleteEventoutDst) DeleteEventout] (0) Error processing query.
-------------------------------------------

The issue is at SM's end where the wsdl does not have hostname in the urls.

Example : If IncidentManagement wsdl is opened via the url : http://hostname:13080/SM/7/IncidentManagement.wsdl, notice that the urls inside the wsdls are mentioned as : http://:13080/SM/7/Eventout.xsd
The url ideally should be : http://hostname:13080/SM/7/Eventout.xsd

In sm.ini present under <SM_InstallDir>\Server\RUN directory, the preferredFQHN is not specified correctly or an IP is provided instead of the hostname. The value should contain the proper Fully Qualified Host Name (FQHN) of the machine. One can also try by commenting the parameter and restarting the SM service as the parameter is not always mandatory.

 

Labels (1)
0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.