PROBLEM
When changing the host URL from http to https using the Axis toolkit, the output screen turns blank.
This is due to an exception in the wrapper classes because the standard port for https is 443 and the standard port for http is 80.
Code:
String strHost = (String) session.getAttribute("hostName") ;
if(strHost.substring(0,5).equalsIgnoreCase("http:"))
{
strUrl = strHost+":80/services/v1/PlaceFinderSample";
} else if(strHost.substring(0,5).equalsIgnoreCase("https"))
{
strUrl = strHost+":443/services/v1/PlaceFinderSample";
}
Article ID:000006405
Get help from ArcGIS experts
Download the Esri Support App