Copy link to clipboard
Copied
Hi all, I am performing a new install on new server (Windows Server 2016). Everything is fine and testing our apps are going well with on exception when trying to call a SOAP WS on the same server. My version of Coldfusion is: 2018.0.09.318650, I have not updated to fixpack 10 yet as I want to resolve this issue first if possible. My testers last week said everything was fine but when I performed a 2nd round of testing this week I came across this error I show below. When calling my filename.cfc?wsdl , which currently works fine on CF9 on the current prod server (this new server is the replacement) .
I know the 404 error is not saying that the WSDL does not exist because I can see the file and when I go directly to the file in the browser on the server it gives me the xml; however, the xml is not giving me what I expected. I also added the path to the webservice in the CFADMIN but still same issue. Not sure what issue is or if it has anything to do with "axis2.xml" file location. I am not really an expert on SOAP or this process so looking for a little help and sugestions in case anyone else here ran into this issue before.
Cannot perform web service invocation ExecuteQuery.
The fault returned when invoking the web service operation is:
org.apache.axis2.AxisFault: Transport error: 404 Error: Not Found
at org.apache.axis2.transport.http.HTTPSender.handleResponse(HTTPSender.java:310)
at org.apache.axis2.transport.http.HTTPSender.sendViaPost(HTTPSender.java:194)
at org.apache.axis2.transport.http.HTTPSender.send(HTTPSender.java:75)
at org.apache.axis2.transport.http.CommonsHTTPTransportSender.writeMessageWithCommons(CommonsHTTPTransportSender.java:402)
at org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke(CommonsHTTPTransportSender.java:231)
at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:443)
at org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:406)
at org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:229)
at org.apache.axis2.client.OperationClient.execute(OperationClient.java:165)
at cfappldata.webservices.IspQueryStub.executeQuery(IspQueryStub.java:225)
at sun.reflect.GeneratedMethodAccessor317.invoke(Unknown Source)
at sun.reflect.... ''
Thanks.
After messing around I found the simple solution, which I tried last night but I missed the 1st step.
1. In the CFADMIN page deleted the WS URL.
2. Set WS Version to "1" and click update.
3. Add the WS URL back in.
This worked for me and resolved my issue. I hope this helps anyone else that may have come accorss this issue in the future.
Copy link to clipboard
Copied
After messing around I found the simple solution, which I tried last night but I missed the 1st step.
1. In the CFADMIN page deleted the WS URL.
2. Set WS Version to "1" and click update.
3. Add the WS URL back in.
This worked for me and resolved my issue. I hope this helps anyone else that may have come accorss this issue in the future.