OK. Am just heading out so can't run test. Hope you may find another resolution (or that you'll report the bug and Adobe resolves it).
/charlie From: cfaussie@googlegroups.com [mailto:cfaussie@googlegroups.com] On Behalf Of Steve Onnis Sent: Tuesday, June 19, 2012 10:56 AM To: cfaussie@googlegroups.com Subject: RE: [cfaussie] Coldfusion Web services Charlie The issue is with the cfproperty tag when being used as a web service. Passing it in using CFINCOKEARGUMENT doesn't matter because the issue happens just be calling and creating the connection to the web service, before you even need to be passing in arguments. Take this simple web service given the name say "service.cfc" <cfcomponent name="testws" output="false"> <cfproperty name="username" type="string" required="false" /> <cfproperty name="password" type="string" required="false" /> <cffunction name="ping" access="remote" returntype="String" output="false"> <cfreturn "Pinged" /> </cffunction> </cfcomponent> Just be doing this.... <cfset myWs = createObject("WEBSERVICE", "service.cfc?wsdl") /> ...will generate an error. What is interesting is that changing the case of the name value to say "Username" and "Password" stops the error from occurring. As i said, the issue isn't with the passing in of the arguments, the issue is with the instantiation of the service itself. Steve -- You received this message because you are subscribed to the Google Groups "cfaussie" group. To post to this group, send email to cfaussie@googlegroups.com. To unsubscribe from this group, send email to cfaussie+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en.