Coldfusion SOAP API, name of parameters on wsdl changes to generic one

59 Views Asked by At

I have a legacy SOAP API built in Coldfusion. This API is well established and works most times, until it doesn't but just for some third parties integrating with it. The issue I am facing is quite odd, I have checked the logs but not able to pinpoint why it occurs or when.

This is what the API Method in question looks like when I access the wsdl directly from browser:

enter image description here

As you can see the parameters names are defined and listed as expected; however quite regularly, after the API gets used for sometime (once again, I am not able to find out when it occurs unfortunately nor why it does), the parameter names change to the following:

enter image description here

At this stage, some of the third party software's integrating with this API get the following error message back from Coldfusion:

coldfusion.xml.rpc.CFCInvocationException: [coldfusion.runtime.MissingArgumentException : The TOKEN parameter to the SubmitJobApplication function is required but was not passed in.]

I originally believed that the issue could be caused by the parameters not being passed in the exact same order as what Coldfusion expects them to be, however the code snippets I have been provided by the developers from one of these third party softwares show the parameters being passed in the correct order.

The simplest solution I have found to fix the issue (until it occurs again) is to save the CFC template again by adding/removing an empty space anywhere within the template; it is kind of refreshing the wsdl.

Another thing to note is that we are using Coldfusion 2023 and we have recently upgraded from 2018 (and before then 2016) however we were already experiencing it, so it doesn't seem to relate to this upgrade process.

Has anyone experienced the same issue with Coldfusion with the name of the parameters changing?

0

There are 0 best solutions below