What's up is that CFMX user Apache AXIS to deal with Web Services. AXIS includes a tool called WSDL2Java which is used to generate stubs from WSDL files. These stubs are then used to invoke the web service from the local Java application or you could say that WSDL and the WSDL2Java utility "auto generates" the client code necessary to invoke the web service.
When WSDL2Java encounters a complex type it (usually) generates a java bean to represent that complex type. Part of what makes a java object a bean is the fact that it has setters and getters for each property. To read tons more about this check out the Apache AXIS User Guide on the Apache AXIS site (http://ws.apache.org/axis/). The User's Guide has a section entitled "WSDL2Java: Building stubs, skeletons, and data" -- of course you only need all that if you are uber nerdy like me! Craig Fisher InterWEST Technology Group, Inc http://www.itg-ak.com/ > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Behalf Of Brad Howerter > Sent: Wednesday, August 13, 2003 12:34 PM > To: '[EMAIL PROTECTED]' > Subject: RE: [CFCDev] weather web service consumption questions > > > Sure, but why does it create get and set methods for each > property? Just to > be friendly? > > -----Original Message----- > From: Scott Keene [mailto:[EMAIL PROTECTED] > Sent: Wednesday, August 13, 2003 1:59 PM > To: [EMAIL PROTECTED] > Subject: RE: [CFCDev] weather web service consumption questions > > > Thinking some more, it makes sense that CF creates an object when you > <cfinvoke> a service - same concept as any other object. I assume the same > happens if it returns a complex type of any sort. > > Scott > ---------------------------------------------------------- > You are subscribed to cfcdev. To unsubscribe, send an email > to [EMAIL PROTECTED] with the word 'unsubscribe cfcdev' > in the message of the email. > > CFCDev is run by CFCZone (www.cfczone.org) and supported > by Mindtool, Corporation (www.mindtool.com). > > ---------------------------------------------------------- > You are subscribed to cfcdev. To unsubscribe, send an email > to [EMAIL PROTECTED] with the word 'unsubscribe cfcdev' > in the message of the email. > > CFCDev is run by CFCZone (www.cfczone.org) and supported > by Mindtool, Corporation (www.mindtool.com). ---------------------------------------------------------- You are subscribed to cfcdev. To unsubscribe, send an email to [EMAIL PROTECTED] with the word 'unsubscribe cfcdev' in the message of the email. CFCDev is run by CFCZone (www.cfczone.org) and supported by Mindtool, Corporation (www.mindtool.com).
