Status/Resolution/Reason: Closed/Fixed/
Reporter/Name(from Bugbase): Eric Harris / Eric Harris (Eric Harris)
Created: 09/26/2014
Components: Web Services
Versions: 11.0
Failure Type: Non Functioning
Found In Build/Fixed In Build: CF11_Final / CF11 Update5
Priority/Frequency: Critical / All users will encounter
Locale/System: English / Win 2008 Server R2 64 bit
Vote Count: 1
Problem Description: New install of Coldfusion 11.
Modified axis2.xml file to allow for SSL Web Service calls.
<transportReceiver name="http" class="coldfusion.xml.rpc.CFAxisServletListener">
<parameter name="port">80</parameter>
</transportReceiver>
<transportReceiver name="https" class="coldfusion.xml.rpc.CFAxisServletListener">
<parameter name="port">443</parameter>
</transportReceiver>
Added Internal Root certificate to cacerts file. When example .cfc file that has remote calls for auto-generation of WSDL, the generated wsdl does not look correct. In the port definition at the bottom, it does not seem to be using https for the 443 soap endpoint:
<wsdl:port name="ujaWSHttpSoap11Endpoint" binding="ns:ujaWSSoap11Binding">
<soap:address location="http://cfdevlpub.courtswv.gov:80/webservice/ujaWS.cfc"/>
</wsdl:port>
<wsdl:port name="ujaWSHttpsSoap11Endpoint" binding="ns:ujaWSSoap11Binding">
<soap:address location="http://cfdevlpub.courtswv.gov:443/webservice/ujaWS.cfc"/>
</wsdl:port>
In coldfusion 10, this binding looks like:
<wsdl:port name="ujaWSHttpSoap11Endpoint" binding="ns:ujaWSSoap11Binding">
<soap:address location="http://cfdevlpub.courtswv.gov:80/webservice/ujaWS.cfc"/>
</wsdl:port>
<wsdl:port name="ujaWSHttpsSoap11Endpoint" binding="ns:ujaWSSoap11Binding">
<soap:address location="https://cfdevlpub.courtswv.gov:443/webservice/ujaWS.cfc"/>
</wsdl:port>
Calls from external WS engines ( SOAP UI 5.0.0 and Chrome Extension ( Advanced Rest client 3.1.7 ) seem to still work. However, when I make a call from CF using cfinvoke I get "Cannot perform web service invocation" : Connection reset at org.apache.axis2.AxisFault.makeFault(AxisFault.java:430)
Steps to Reproduce:
Create cfc for remote invocation, generated wsdl will look like above
Actual Result:
soap binding does not have https to match :443 call
Expected Result:
soap binding should have https
Any Workarounds:
none
----------------------------- Additional Watson Details -----------------------------
Watson Bug ID: 3832635
External Customer Info:
External Company:
External Customer Name: eric.harris_wv
External Customer Email:
External Test Config: My Hardware and Environment details:
Windows 2008 R2
IIS 7.5
Coldfusion 11
Attachments:
Comments: