Quantcast
Channel: Adobe Community: Message List - ColdFusion
Viewing all articles
Browse latest Browse all 21760

Re: Web service access error: javax.servlet.ServletException: https is forbidden

$
0
0

The issue is because by default Axis is set to only permit HTTP calls and not HTTPS.  You have to update the ColdFusion10\cfusion\wwwroot\WEB-INF\Axis2.xml file to enable the HTTPS mode.  I found Apache documentation on it here;

 

http://axis.apache.org/axis2/java/core/docs/servlet-transport.html

 

Using their documentation I changed it from this;

 

<transportReceiver name="http" class="coldfusion.xml.rpc.CFAxisServletListener"/>

 

to this

 

<transportReceiver name="http" class="coldfusion.xml.rpc.CFAxisServletListener">
    <parameter name="port">8080</parameter>
</transportReceiver>

 

<transportReceiver name="https" class="coldfusion.xml.rpc.CFAxisServletListener">
    <parameter name="port">8443</parameter>
</transportReceiver>

 

I'm still testing though to see if this works correctly


Viewing all articles
Browse latest Browse all 21760

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>