|
Mailing Lists
|
Home /
Groups /
ColdFusion Talk (CF-Talk)
Need help with Java webservice stubs
We have a dev server and a live server, both running ColdFusion 9. TheJen McVicker 08/16/12 03:47 P usually that error is because the stubs could not be created.Russ Michaels 08/16/12 03:56 P Russ, thank you so much for pointing me in the right direction. There wasJen McVicker 08/16/12 06:42 P We have a dev server and a live server, both running ColdFusion 9. The ColdFusion versions are the same, the Java versions are the same, the JVM versions are the same. I am trying to connect to an external web service with coldfusion and on dev it works fine. On live, I'm getting the error: "Web service operation XXX with parameters {blah blah} cannot be found." I checked the stubs on both servers, and the live server is generating several MORE stubs than the dev server, and they are all called ArrayOf[XYZ] (where [XYZ] is some object). On dev, I am able to pass the complex component (with nested components and arrays of components) to the external web service and get a response. On live, I get the error, and I believe it's because on live, it's expecting the arrays to actually be objects. What would cause this to happen, and how can I resolve this? I can't find any differences in the settings between the two servers, other than that dev has debugging turned on and live does not. Jen Perkins McVicker Adobe Certified ColdFusion Developer <mailto:jen.mcvicker@gmail.com> jen.mcvicker@gmail.com <http://www.linkedin.com/in/jmcvicker> http://www.linkedin.com/in/jmcvicker usually that error is because the stubs could not be created. ]re both servers updated to same level with patches etc ? are they both running the same version of Apache axis. This may have been updated by a cf hot fix or update or perhaps someone manually updated axis on your dev server. On Thu, Aug 16, 2012 at 8:47 PM, Jen McVicker <snarkmeister@gmail.com>wrote: ----- Excess quoted text cut - see Original Post for more ----- Russ, thank you so much for pointing me in the right direction. There was an older version of Axis running on our live server; once we upgraded to the same version we had on dev, the web service worked like a charm. Jen Perkins McVicker Adobe Certified ColdFusion Developer jen.mcvicker@gmail.com http://www.linkedin.com/in/jmcvicker usually that error is because the stubs could not be created. ]re both servers updated to same level with patches etc ? are they both running the same version of Apache axis. This may have been updated by a cf hot fix or update or perhaps someone manually updated axis on your dev server. On Thu, Aug 16, 2012 at 8:47 PM, Jen McVicker <snarkmeister@gmail.com>wrote: > > We have a dev server and a live server, both running ColdFusion 9. The > ColdFusion versions are the same, the Java versions are the same, the > JVM versions are the same. I am trying to connect to an external web > service with coldfusion and on dev it works fine. On live, I'm getting the error: ----- Excess quoted text cut - see Original Post for more -----
|
May 24, 2013
|
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||