Thanks Guys, its just to secure access to URL eg. http://mywebsite.com to https://mywebsite.com.

Websites in IIS normally are running in %SystemDrive%\inetpub\wwwroot, is this the same for Ensemble websites when published in IIS and CSPGateway is just the mediator or Intersystems Ensemble website are actually running in CSPGateway, because in our case we are only applying the certificate for only one URL?

Thanks    
 

Thanks Robert but :

  1. I check Samples & User namespaces in Ensemble 2014 to 2018 and couldn't find zipcode.cls or similar class 
  2. I've check the online docs and find some code but all of them using the old CSP pages and it's working fine in my CSP pages as well but not working in the new Zen pages where its using the Method & ClassMethod call as in my code above not the old eg.
<script language="cache" method="AlertUser">
&js<alert("Hello User");> 
</script>

in CSP pages and my understanding it should be the same for some reason its not working? 
I've some tracing code and actually it's failing at 
#server(..retGetWO(wo))#; line, its not recognizing the syntax which makes me thinks that's only work in CSP pages!? 

Thanks