House of Fusion
Search over 2,500 ColdFusion resources here
  
Home of the ColdFusion Community

Mailing Lists
Home /  Groups /  ColdFusion Talk (CF-Talk)

Need help with Java webservice stubs

  << Previous Post |  RSS |  Sort Oldest First |  Sort Latest First |  Subscribe to this Group Next >> 
Top  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Jen McVicker
08/16/2012 03:47 PM

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

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Russ Michaels
08/16/2012 03:56 PM

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 -----

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Jen McVicker
08/16/2012 06:42 PM

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 -----


<< Previous Thread Today's Threads Next Thread >>

Search cf-talk

May 24, 2013

<<   <   Today   >   >>
Su Mo Tu We Th Fr Sa
       1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31   

Designer, Developer and mobile workflow conference