Is This Content Helpful?
We're glad to know this article was helpful.
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.
The following piece of JSP code solves the problem:
String strHost = (String) session.getAttribute("hostName") ;
strUrl = strHost+":80/services/v1/PlaceFinderSample";
} else if(strHost.substring(0,5).equalsIgnoreCase("https"))
strUrl = strHost+":443/services/v1/PlaceFinderSample";