[cfaussie] WSDL assistance.
I am doing some work with Robin Hilliard's Galaxy Service CFC application and seem to be having an issue. I get the following error when trying to run a function on a remote service. Cannot perform web service invocation send. The fault returned when invoking the web service operation is: '' java.lang.IllegalArgumentException: argument type mismatch If I call the URI directly - then I see the raw XML fine and dandy. Using : http://localhost/loginService/loginServiceSampleApp/authUser/AppLoginService.cfc?wsdl Returns : This XML file does not appear to have any style information associated with it. The document tree is shown below. - wsdl:definitions targetNamespace=http:// authUser.loginServiceSampleApp.loginService !--WSDL created by ColdFusion version 9,0,0,251028-- - wsdl:types - schema targetNamespace=http://xml.apache.org/xml-soap; import namespace=http://authUser.loginServiceSampleApp.loginService/ import namespace=http://rpc.xml.coldfusion/ import namespace=http://schemas.xmlsoap.org/soap/encoding// - complexType name=mapItem ..etc.. So I am assuming that the CFC invocation is all fine and dandy; Here's my code that I am using that causes the error; cfset remoteLoginService = createObject(component,/loginService/ loginServiceSampleApp/authUser/AppLoginService).init(http:// localhost/loginService/loginServiceSampleApp/authUser/ AppLoginService.cfc?wsdl) Does the password match?br / Is the user authenticated?br / cfoutput #remoteLoginService.fn_check_user_in_ldap(user = 'test_user', password = 'test_password')#br / /cfoutput I do see the text; Does the Password... So it would seem that I have an issue passing parameters to the function in the manner that I currently am... If anyone can see anything obivous - I would be most grateful... Gavin -- You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaus...@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.
[cfaussie] Total server ram for high load websites
Hi, Does anyone run coldfusion with high load websites? If so, how much total ram does your server have, and what version of coldfusion do you run, and is it 64bit or not? :) Thanks Barry. -- You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaus...@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.
Re: [cfaussie] Total server ram for high load websites
Win 2k3 Server 64 bit, CF 8, 8 GB of RAM (this is just for CF and IIS, no DBs) Cheers Kai Hi, Does anyone run coldfusion with high load websites? If so, how much total ram does your server have, and what version of coldfusion do you run, and is it 64bit or not? :) Thanks Barry. -- You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaus...@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. -- Kai Koenig - Ventego Creative Ltd ph: +64 4 476 6781 - mob: +64 21 928 365 / +61 450 132 117 web: http://www.ventego-creative.co.nz blog: http://www.bloginblack.de twitter: http://www.twitter.com/agentK Hands-on Regular Expression training @ webDU 2010 http://bloginblack.de/agentk/workshop-befriending-regular-expressions/ Hands-on Flash Catalyst and Flex 4 training @ Webinale 2010 http://bloginblack.de/agentk/workshop-rias-with-flash-catalyst-and-flex-4/ -- -- You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaus...@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.
Re: [cfaussie] Total server ram for high load websites
I have seen 8BG recommended a couple of times around the net, what sort of load do you experience off your server Kai, and do you find that your 8GB is mostly utilised, or could you get away with say 5 or 6GB of ram? Thanks. Barry. On Thu, Apr 15, 2010 at 10:27 AM, Kai Koenig k...@koeni.de wrote: Win 2k3 Server 64 bit, CF 8, 8 GB of RAM (this is just for CF and IIS, no DBs) Cheers Kai Hi, Does anyone run coldfusion with high load websites? If so, how much total ram does your server have, and what version of coldfusion do you run, and is it 64bit or not? :) Thanks Barry. -- You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaus...@googlegroups.com. To unsubscribe from this group, send email to cfaussie+unsubscr...@googlegroups.comcfaussie%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en. -- Kai Koenig - Ventego Creative Ltd ph: +64 4 476 6781 - mob: +64 21 928 365 / +61 450 132 117 web: http://www.ventego-creative.co.nz blog: http://www.bloginblack.de twitter: http://www.twitter.com/agentK Hands-on Regular Expression training @ webDU 2010 http://bloginblack.de/agentk/workshop-befriending-regular-expressions/ Hands-on Flash Catalyst and Flex 4 training @ Webinale 2010 http://bloginblack.de/agentk/workshop-rias-with-flash-catalyst-and-flex-4/ -- -- You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaus...@googlegroups.com. To unsubscribe from this group, send email to cfaussie+unsubscr...@googlegroups.comcfaussie%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en. -- You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaus...@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.
Re: [cfaussie] CFUG Melbourne, Thursday 15 April 2010. ColdFusion Builder
Hi Peter I'll be there tonight. Phil -Original Message- From: Peter Robertson pe...@p-robertson.com To: cfaussie cfaussie@googlegroups.com Date: Mon, 12 Apr 2010 20:49:45 -0700 (PDT) Subject: [cfaussie] CFUG Melbourne, Thursday 15 April 2010. ColdFusion Builder This month Paul Kukiel is going to take us through the ColdFusion Builder De-bugger. We'll also be having a general discussion about the members' experience with CF Builder and a look at Adobe's launch pack. Date: 15 April 2010 Time: 6:30 PM Location: CogState Limited Level 7 / 21 Victoria St Melbourne, Victoria 3000 [NOTE: Victoria Street, not Parade!] (Many thanks again to Dale Fraser and CogState for their hospitality) Parking is fairly easy, with a commercial park next door and free spots fairly easy to find nearby, (try Rathdowne Street). When you arrive, a notice on the door will list a number to ring, and someone will come down and let you in. RSVP: Please reply to this post if you are planning to attend so we know how many pizzas to order. We look forward to seeing you all there. Peter Robertson -- You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaus...@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 [http://groups.google.com/group/cfaussie?hl=en]. -- You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaus...@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.
[cfaussie] Re: WSDL assistance.
Well I decided that I should have a play with Robin's Demo application and make sure that I could get that working... And it would seem there might be some other issue other than code going on here, because I get the exact same error when trying to run the sample application. I turned on debug output and when the error is thrown I get the following message; Cannot perform web service invocation send. The fault returned when invoking the web service operation is: '' java.lang.IllegalArgumentException: argument type mismatch In the separate debug output window I get a different message though. /Library/WebServer/Documents/rocketboots/galaxy/trunk/com/rocketboots/ galaxy/Service.cfc(416) @ 09:10:05.780 typeApplication message Cannot perform web service invocation send. I don't know if the messags mean the same and they're ust represented differently or what the story is... Can I bother someone to download the download Galaxy and try out the sample app? I'm on CF9 - so I'd be interested to see if it is a CF version specific issue or not. You can obtain the required code (via SVN) from; http://svn.rocketboots.com/os/galaxy/ Thanks. -- You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaus...@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.
Re: [cfaussie] Re: WSDL assistance.
Gavin If i recall correctly, i'm pretty sure i had to make some changes to Robin's code to make the remote services part work under CF9 when i was playing with it. There was a difference between CF8 CF9 around how parameters passed through CFINVOKE are handled. I'll dig up my code in a bit and get back to you. Phil -Original Message- From: Gavin Baumanis beauecli...@gmail.com To: cfaussie cfaussie@googlegroups.com Date: Wed, 14 Apr 2010 16:18:37 -0700 (PDT) Subject: [cfaussie] Re: WSDL assistance. Well I decided that I should have a play with Robin's Demo application and make sure that I could get that working... And it would seem there might be some other issue other than code going on here, because I get the exact same error when trying to run the sample application. I turned on debug output and when the error is thrown I get the following message; Cannot perform web service invocation send. The fault returned when invoking the web service operation is: '' java.lang.IllegalArgumentException: argument type mismatch In the separate debug output window I get a different message though. /Library/WebServer/Documents/rocketboots/galaxy/trunk/com/rocketboots/ galaxy/Service.cfc(416) @ 09:10:05.780 type Application message Cannot perform web service invocation send. I don't know if the messags mean the same and they're ust represented differently or what the story is... Can I bother someone to download the download Galaxy and try out the sample app? I'm on CF9 - so I'd be interested to see if it is a CF version specific issue or not. You can obtain the required code (via SVN) from; http://svn.rocketboots.com/os/galaxy/ [http://svn.rocketboots.com/os/galaxy/] Thanks. -- You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaus...@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 [http://groups.google.com/group/cfaussie?hl=en]. -- You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaus...@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.
[cfaussie] Re: WSDL assistance.
HI Phil, That is great news... thanks.. Great news in the sense that its not me - and that maybe my code is going to work afterall! I had a quick look in the Galaxy code - but I have never ever done any remote service work so it was all a little foreign to me. Thanks again. Gavin. On Apr 15, 9:28 am, Phil Haeusler p...@gtnet.com.au wrote: Gavin If i recall correctly, i'm pretty sure i had to make some changes to Robin's code to make the remote services part work under CF9 when i was playing with it. There was a difference between CF8 CF9 around how parameters passed through CFINVOKE are handled. I'll dig up my code in a bit and get back to you. Phil -Original Message- From: Gavin Baumanis beauecli...@gmail.com To: cfaussie cfaussie@googlegroups.com Date: Wed, 14 Apr 2010 16:18:37 -0700 (PDT) Subject: [cfaussie] Re: WSDL assistance. Well I decided that I should have a play with Robin's Demo application and make sure that I could get that working... And it would seem there might be some other issue other than code going on here, because I get the exact same error when trying to run the sample application. I turned on debug output and when the error is thrown I get the following message; Cannot perform web service invocation send. The fault returned when invoking the web service operation is: '' java.lang.IllegalArgumentException: argument type mismatch In the separate debug output window I get a different message though. /Library/WebServer/Documents/rocketboots/galaxy/trunk/com/rocketboots/ galaxy/Service.cfc(416) @ 09:10:05.780 type Application message Cannot perform web service invocation send. I don't know if the messags mean the same and they're ust represented differently or what the story is... Can I bother someone to download the download Galaxy and try out the sample app? I'm on CF9 - so I'd be interested to see if it is a CF version specific issue or not. You can obtain the required code (via SVN) from; http://svn.rocketboots.com/os/galaxy/ [http://svn.rocketboots.com/os/galaxy/] Thanks. -- You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaus...@googlegroups.com. To unsubscribe from this group, send email to cfaussie+unsubscr...@googlegroups.com. For more options, visit this group athttp://groups.google.com/group/cfaussie?hl=en [http://groups.google.com/group/cfaussie?hl=en]. -- You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaus...@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.
Re: [cfaussie] CFUG Melbourne, Thursday 15 April 2010. ColdFusion Builder
Hi Peter, I will be there tonight. Cheers, Steve On 13 April 2010 13:49, Peter Robertson pe...@p-robertson.com wrote: This month Paul Kukiel is going to take us through the ColdFusion Builder De-bugger. We'll also be having a general discussion about the members' experience with CF Builder and a look at Adobe's launch pack. Date: 15 April 2010 Time: 6:30 PM Location: CogState Limited Level 7 / 21 Victoria St Melbourne, Victoria 3000 [NOTE: Victoria Street, not Parade!] (Many thanks again to Dale Fraser and CogState for their hospitality) Parking is fairly easy, with a commercial park next door and free spots fairly easy to find nearby, (try Rathdowne Street). When you arrive, a notice on the door will list a number to ring, and someone will come down and let you in. RSVP: Please reply to this post if you are planning to attend so we know how many pizzas to order. We look forward to seeing you all there. Peter Robertson -- You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaus...@googlegroups.com. To unsubscribe from this group, send email to cfaussie+unsubscr...@googlegroups.comcfaussie%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en. -- You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaus...@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.
Re: [cfaussie] CFUG Melbourne, Thursday 15 April 2010. ColdFusion Builder
Sounds like you guys are going to have a good crowd. I wish I could make it, but unfortunately I can't :( Have fun anyway! Mark On Thu, Apr 15, 2010 at 10:32 AM, Steve Armstrong armst...@gmail.comwrote: Hi Peter, I will be there tonight. Cheers, Steve On 13 April 2010 13:49, Peter Robertson pe...@p-robertson.com wrote: This month Paul Kukiel is going to take us through the ColdFusion Builder De-bugger. We'll also be having a general discussion about the members' experience with CF Builder and a look at Adobe's launch pack. Date: 15 April 2010 Time: 6:30 PM Location: CogState Limited Level 7 / 21 Victoria St Melbourne, Victoria 3000 [NOTE: Victoria Street, not Parade!] (Many thanks again to Dale Fraser and CogState for their hospitality) Parking is fairly easy, with a commercial park next door and free spots fairly easy to find nearby, (try Rathdowne Street). When you arrive, a notice on the door will list a number to ring, and someone will come down and let you in. RSVP: Please reply to this post if you are planning to attend so we know how many pizzas to order. We look forward to seeing you all there. Peter Robertson -- You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaus...@googlegroups.com. To unsubscribe from this group, send email to cfaussie+unsubscr...@googlegroups.comcfaussie%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en. -- You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaus...@googlegroups.com. To unsubscribe from this group, send email to cfaussie+unsubscr...@googlegroups.comcfaussie%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en. -- E: mark.man...@gmail.com T: http://www.twitter.com/neurotic W: www.compoundtheory.com Hands-on ColdFusion ORM Training @ cf.Objective() 2010 www.ColdFusionOrmTraining.com/ -- You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaus...@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.
[cfaussie] GalaxySOA on CF9 (was WSDL assistance.)
HI Gavin I made the following adjustment to Service.cfc to get it working on CF9 for remote calls for methods with no parameters. You'll need to adjust the cfreturn in the onMissingMethod function of Service.cfc - Line 416 in latest trunk from cfreturn webService.send(missingMethodName, missingMethodArguments) to cfif not StructCount(missingMethodArguments) cfreturn webService.send(missingMethodName, JavaCast(null, 0)) cfelse cfreturn webService.send(missingMethodName, missingMethodArguments) /cfif I haven't tested to see if this change breaks earlier versions of CF, but it was done in a made rush to get my laptop up and running for the last Melb CFUG. If you can try this and it gets it working for you, and we can ensure that it doesn't break earlier CFs we'll put it to Robin to get it committed into SVN Phil On 15/04/10 9:57 AM, Gavin Baumanis wrote: HI Phil, That is great news... thanks.. Great news in the sense that its not me - and that maybe my code is going to work afterall! I had a quick look in the Galaxy code - but I have never ever done any remote service work so it was all a little foreign to me. Thanks again. Gavin. On Apr 15, 9:28 am, Phil Haeuslerp...@gtnet.com.au wrote: Gavin If i recall correctly, i'm pretty sure i had to make some changes to Robin's code to make the remote services part work under CF9 when i was playing with it. There was a difference between CF8 CF9 around how parameters passed through CFINVOKE are handled. I'll dig up my code in a bit and get back to you. Phil -Original Message- From: Gavin Baumanisbeauecli...@gmail.com To: cfaussiecfaussie@googlegroups.com Date: Wed, 14 Apr 2010 16:18:37 -0700 (PDT) Subject: [cfaussie] Re: WSDL assistance. Well I decided that I should have a play with Robin's Demo application and make sure that I could get that working... And it would seem there might be some other issue other than code going on here, because I get the exact same error when trying to run the sample application. I turned on debug output and when the error is thrown I get the following message; Cannot perform web service invocation send. The fault returned when invoking the web service operation is: '' java.lang.IllegalArgumentException: argument type mismatch In the separate debug output window I get a different message though. /Library/WebServer/Documents/rocketboots/galaxy/trunk/com/rocketboots/ galaxy/Service.cfc(416) @ 09:10:05.780 type Application message Cannot perform web service invocation send. I don't know if the messags mean the same and they're ust represented differently or what the story is... Can I bother someone to download the download Galaxy and try out the sample app? I'm on CF9 - so I'd be interested to see if it is a CF version specific issue or not. You can obtain the required code (via SVN) from; http://svn.rocketboots.com/os/galaxy/ [http://svn.rocketboots.com/os/galaxy/] Thanks. -- You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaus...@googlegroups.com. To unsubscribe from this group, send email to cfaussie+unsubscr...@googlegroups.com. For more options, visit this group athttp://groups.google.com/group/cfaussie?hl=en [http://groups.google.com/group/cfaussie?hl=en]. -- You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaus...@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.
[cfaussie] cfObjective roll call!
So far I only know of Mark Mandel, Justin McLean myself making the trip across the Pacific for cfObjective which starts next week are there going to be any other Aussies making the trip? It looks like the Hyatt has a pretty decent sports bar, a good place for a catchup? :) A.J. --- AJ Dyka e: aj.d...@warpax.com w: http://aj.warpax.com tw: @ajdyka -- You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaus...@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.
[cfaussie] Re: GalaxySOA on CF9 (was WSDL assistance.)
In the interest of quite possibly making an idiot of myself... Hi Phil, I have made the changes you provided and I get the same error in the same place. Only of course this time it is in the cfelse part of the code you sent me. It of course works correctly with the Sample app provided by Robin... so now I am back a step I suppose with the issue of obviously doing something wrong with my code - bummer. Interestingly, I created a method in that CFC that takes no arguments and returns a simple string. That works as I would have expected. Here is the line used to invoke the method on the remote service; #remoteLoginService.fn_check_user_in_ldap(user = 'test_user', password = 'test_password')# Here is the cffunction declaration; cffunction name=fn_authenticate_user hint=Function to Authenticate User Against specified LDAP Server : I return a user object if successful access=public returntype=Any So it would seem that I have an issue with sending arguments to my method if I use it is a remote service. Hopefully it is somehting glaringly obvious.. and everyone cvan take turns slapping my forehead at the CFUG! Gavin. On Apr 15, 10:55 am, Phil Haeusler p...@gtnet.com.au wrote: HI Gavin I made the following adjustment to Service.cfc to get it working on CF9 for remote calls for methods with no parameters. You'll need to adjust the cfreturn in the onMissingMethod function of Service.cfc - Line 416 in latest trunk from cfreturn webService.send(missingMethodName, missingMethodArguments) to cfif not StructCount(missingMethodArguments) cfreturn webService.send(missingMethodName, JavaCast(null, 0)) cfelse cfreturn webService.send(missingMethodName, missingMethodArguments) /cfif I haven't tested to see if this change breaks earlier versions of CF, but it was done in a made rush to get my laptop up and running for the last Melb CFUG. If you can try this and it gets it working for you, and we can ensure that it doesn't break earlier CFs we'll put it to Robin to get it committed into SVN Phil On 15/04/10 9:57 AM, Gavin Baumanis wrote: HI Phil, That is great news... thanks.. Great news in the sense that its not me - and that maybe my code is going to work afterall! I had a quick look in the Galaxy code - but I have never ever done any remote service work so it was all a little foreign to me. Thanks again. Gavin. On Apr 15, 9:28 am, Phil Haeuslerp...@gtnet.com.au wrote: Gavin If i recall correctly, i'm pretty sure i had to make some changes to Robin's code to make the remote services part work under CF9 when i was playing with it. There was a difference between CF8 CF9 around how parameters passed through CFINVOKE are handled. I'll dig up my code in a bit and get back to you. Phil -Original Message- From: Gavin Baumanisbeauecli...@gmail.com To: cfaussiecfaussie@googlegroups.com Date: Wed, 14 Apr 2010 16:18:37 -0700 (PDT) Subject: [cfaussie] Re: WSDL assistance. Well I decided that I should have a play with Robin's Demo application and make sure that I could get that working... And it would seem there might be some other issue other than code going on here, because I get the exact same error when trying to run the sample application. I turned on debug output and when the error is thrown I get the following message; Cannot perform web service invocation send. The fault returned when invoking the web service operation is: '' java.lang.IllegalArgumentException: argument type mismatch In the separate debug output window I get a different message though. /Library/WebServer/Documents/rocketboots/galaxy/trunk/com/rocketboots/ galaxy/Service.cfc(416) @ 09:10:05.780 type Application message Cannot perform web service invocation send. I don't know if the messags mean the same and they're ust represented differently or what the story is... Can I bother someone to download the download Galaxy and try out the sample app? I'm on CF9 - so I'd be interested to see if it is a CF version specific issue or not. You can obtain the required code (via SVN) from; http://svn.rocketboots.com/os/galaxy/ [http://svn.rocketboots.com/os/galaxy/] Thanks. -- You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaus...@googlegroups.com. To unsubscribe from this group, send email to cfaussie+unsubscr...@googlegroups.com. For more options, visit this group athttp://groups.google.com/group/cfaussie?hl=en [http://groups.google.com/group/cfaussie?hl=en]. -- You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaus...@googlegroups.com. To unsubscribe from this group, send email to cfaussie+unsubscr...@googlegroups.com. For more options, visit
Re: [cfaussie] Re: GalaxySOA on CF9 (was WSDL assistance.)
Very quick question - when you update the remote code are you refreshing the wsdl in the administrator? On 4/15/10, Gavin Baumanis beauecli...@gmail.com wrote: In the interest of quite possibly making an idiot of myself... Hi Phil, I have made the changes you provided and I get the same error in the same place. Only of course this time it is in the cfelse part of the code you sent me. It of course works correctly with the Sample app provided by Robin... so now I am back a step I suppose with the issue of obviously doing something wrong with my code - bummer. Interestingly, I created a method in that CFC that takes no arguments and returns a simple string. That works as I would have expected. Here is the line used to invoke the method on the remote service; #remoteLoginService.fn_check_user_in_ldap(user = 'test_user', password = 'test_password')# Here is the cffunction declaration; cffunction name=fn_authenticate_user hint=Function to Authenticate User Against specified LDAP Server : I return a user object if successful access=public returntype=Any So it would seem that I have an issue with sending arguments to my method if I use it is a remote service. Hopefully it is somehting glaringly obvious.. and everyone cvan take turns slapping my forehead at the CFUG! Gavin. On Apr 15, 10:55 am, Phil Haeusler p...@gtnet.com.au wrote: HI Gavin I made the following adjustment to Service.cfc to get it working on CF9 for remote calls for methods with no parameters. You'll need to adjust the cfreturn in the onMissingMethod function of Service.cfc - Line 416 in latest trunk from cfreturn webService.send(missingMethodName, missingMethodArguments) to cfif not StructCount(missingMethodArguments) cfreturn webService.send(missingMethodName, JavaCast(null, 0)) cfelse cfreturn webService.send(missingMethodName, missingMethodArguments) /cfif I haven't tested to see if this change breaks earlier versions of CF, but it was done in a made rush to get my laptop up and running for the last Melb CFUG. If you can try this and it gets it working for you, and we can ensure that it doesn't break earlier CFs we'll put it to Robin to get it committed into SVN Phil On 15/04/10 9:57 AM, Gavin Baumanis wrote: HI Phil, That is great news... thanks.. Great news in the sense that its not me - and that maybe my code is going to work afterall! I had a quick look in the Galaxy code - but I have never ever done any remote service work so it was all a little foreign to me. Thanks again. Gavin. On Apr 15, 9:28 am, Phil Haeuslerp...@gtnet.com.au wrote: Gavin If i recall correctly, i'm pretty sure i had to make some changes to Robin's code to make the remote services part work under CF9 when i was playing with it. There was a difference between CF8 CF9 around how parameters passed through CFINVOKE are handled. I'll dig up my code in a bit and get back to you. Phil -Original Message- From: Gavin Baumanisbeauecli...@gmail.com To: cfaussiecfaussie@googlegroups.com Date: Wed, 14 Apr 2010 16:18:37 -0700 (PDT) Subject: [cfaussie] Re: WSDL assistance. Well I decided that I should have a play with Robin's Demo application and make sure that I could get that working... And it would seem there might be some other issue other than code going on here, because I get the exact same error when trying to run the sample application. I turned on debug output and when the error is thrown I get the following message; Cannot perform web service invocation send. The fault returned when invoking the web service operation is: '' java.lang.IllegalArgumentException: argument type mismatch In the separate debug output window I get a different message though. /Library/WebServer/Documents/rocketboots/galaxy/trunk/com/rocketboots/ galaxy/Service.cfc(416) @ 09:10:05.780 type Application message Cannot perform web service invocation send. I don't know if the messags mean the same and they're ust represented differently or what the story is... Can I bother someone to download the download Galaxy and try out the sample app? I'm on CF9 - so I'd be interested to see if it is a CF version specific issue or not. You can obtain the required code (via SVN) from; http://svn.rocketboots.com/os/galaxy/ [http://svn.rocketboots.com/os/galaxy/] Thanks. -- You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaus...@googlegroups.com. To unsubscribe from this group, send email to cfaussie+unsubscr...@googlegroups.com. For more options, visit this group athttp://groups.google.com/group/cfaussie?hl=en [http://groups.google.com/group/cfaussie?hl=en]. -- You received this message because you are subscribed to the Google Groups
Re: [cfaussie] cfObjective roll call!
I think you had told me you were going AJ, but I had totally forgotten! Awesome little aussie contingent we have there :D Its the same hotel as last year, so expect to spend a fair bit of time in the bar ;o) I've definitely noticed that American CF'ers tend to drink more than Australian CF'ers. I'm not sure why that is. Mark On Thu, Apr 15, 2010 at 11:29 AM, AJ Dyka aj.d...@warpax.com wrote: So far I only know of Mark Mandel, Justin McLean myself making the trip across the Pacific for cfObjective which starts next week are there going to be any other Aussies making the trip? It looks like the Hyatt has a pretty decent sports bar, a good place for a catchup? :) A.J. --- AJ Dyka e: aj.d...@warpax.com w: http://aj.warpax.com tw: @ajdyka -- You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaus...@googlegroups.com. To unsubscribe from this group, send email to cfaussie+unsubscr...@googlegroups.comcfaussie%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en. -- E: mark.man...@gmail.com T: http://www.twitter.com/neurotic W: www.compoundtheory.com Hands-on ColdFusion ORM Training @ cf.Objective() 2010 www.ColdFusionOrmTraining.com/ -- You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaus...@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.
Re: [cfaussie] Total server ram for high load websites
On 15/04/2010 08:29, Barry Chesterman wrote: I have seen 8BG recommended a couple of times around the net, what sort of load do you experience off your server Kai, and do you find that your 8GB is mostly utilised, or could you get away with say 5 or 6GB of ram? We at mbcomms have just moved a client to a virtual environment with a bunch of CF9 servers running on 4GB RAM each. JVM set to take 3GB and 1GB left for the OS, etc. Seems to be OK but a tad more memory for both might be a good thing, we are still fine tuning. We might wind a couple up to 6 GB and give CF 4GB and compare those with the 3GB ones. Got to love a virtual environment, just wind the hardware up and down as needed :-) -- Yours, Kym Kovan mbcomms.net.au -- You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaus...@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.
[cfaussie] Adobe UG Managers ANZ
As some of you know I've taken on CFUG Melbourne co-manager position for this year. I had a lot of trouble finding out who to talk to and what was available, ie, I didn't know what questions to ask and who I should have been asking. AJ Mercer on this list recently put me in touch with John Koch in the US who is community group manager for ANZ. John has been very helpful and soon, (pending NDA formalities), I will actually have access to the UG Managers' facilities, which will include notice of UG give-aways available from Adobe, etc, oh, and special events like the CF Builder launch and accompanying slide pack. So, if I'm not the only one who didn't have a clue what was going on or how to find out, please contact me off list and I'll happily give you John's email at Adobe. John himself felt that there were people in our region who weren't clear on his role and would like to get to know all the UG Managers here. Cheers Peter Robertson -- You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaus...@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.
Re: [cfaussie] Re: GalaxySOA on CF9 (was WSDL assistance.)
There's also a method in ServiceFactory iirc that you could use to clear it programmatically. Cheers Kai Very quick question - when you update the remote code are you refreshing the wsdl in the administrator? On 4/15/10, Gavin Baumanis beauecli...@gmail.com wrote: In the interest of quite possibly making an idiot of myself... Hi Phil, I have made the changes you provided and I get the same error in the same place. Only of course this time it is in the cfelse part of the code you sent me. It of course works correctly with the Sample app provided by Robin... so now I am back a step I suppose with the issue of obviously doing something wrong with my code - bummer. Interestingly, I created a method in that CFC that takes no arguments and returns a simple string. That works as I would have expected. Here is the line used to invoke the method on the remote service; #remoteLoginService.fn_check_user_in_ldap(user = 'test_user', password = 'test_password')# Here is the cffunction declaration; cffunction name=fn_authenticate_user hint=Function to Authenticate User Against specified LDAP Server : I return a user object if successful access=public returntype=Any So it would seem that I have an issue with sending arguments to my method if I use it is a remote service. Hopefully it is somehting glaringly obvious.. and everyone cvan take turns slapping my forehead at the CFUG! Gavin. On Apr 15, 10:55 am, Phil Haeusler p...@gtnet.com.au wrote: HI Gavin I made the following adjustment to Service.cfc to get it working on CF9 for remote calls for methods with no parameters. You'll need to adjust the cfreturn in the onMissingMethod function of Service.cfc - Line 416 in latest trunk from cfreturn webService.send(missingMethodName, missingMethodArguments) to cfif not StructCount(missingMethodArguments) cfreturn webService.send(missingMethodName, JavaCast(null, 0)) cfelse cfreturn webService.send(missingMethodName, missingMethodArguments) /cfif I haven't tested to see if this change breaks earlier versions of CF, but it was done in a made rush to get my laptop up and running for the last Melb CFUG. If you can try this and it gets it working for you, and we can ensure that it doesn't break earlier CFs we'll put it to Robin to get it committed into SVN Phil On 15/04/10 9:57 AM, Gavin Baumanis wrote: HI Phil, That is great news... thanks.. Great news in the sense that its not me - and that maybe my code is going to work afterall! I had a quick look in the Galaxy code - but I have never ever done any remote service work so it was all a little foreign to me. Thanks again. Gavin. On Apr 15, 9:28 am, Phil Haeuslerp...@gtnet.com.au wrote: Gavin If i recall correctly, i'm pretty sure i had to make some changes to Robin's code to make the remote services part work under CF9 when i was playing with it. There was a difference between CF8 CF9 around how parameters passed through CFINVOKE are handled. I'll dig up my code in a bit and get back to you. Phil -Original Message- From: Gavin Baumanisbeauecli...@gmail.com To: cfaussiecfaussie@googlegroups.com Date: Wed, 14 Apr 2010 16:18:37 -0700 (PDT) Subject: [cfaussie] Re: WSDL assistance. Well I decided that I should have a play with Robin's Demo application and make sure that I could get that working... And it would seem there might be some other issue other than code going on here, because I get the exact same error when trying to run the sample application. I turned on debug output and when the error is thrown I get the following message; Cannot perform web service invocation send. The fault returned when invoking the web service operation is: '' java.lang.IllegalArgumentException: argument type mismatch In the separate debug output window I get a different message though. /Library/WebServer/Documents/rocketboots/galaxy/trunk/com/rocketboots/ galaxy/Service.cfc(416) @ 09:10:05.780 type Application message Cannot perform web service invocation send. I don't know if the messags mean the same and they're ust represented differently or what the story is... Can I bother someone to download the download Galaxy and try out the sample app? I'm on CF9 - so I'd be interested to see if it is a CF version specific issue or not. You can obtain the required code (via SVN) from; http://svn.rocketboots.com/os/galaxy/ [http://svn.rocketboots.com/os/galaxy/] Thanks. -- You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaus...@googlegroups.com. To unsubscribe from this group, send email to cfaussie+unsubscr...@googlegroups.com. For more options, visit this group athttp://groups.google.com/group/cfaussie?hl=en
Re: [cfaussie] Re: GalaxySOA on CF9 (was WSDL assistance.)
This is always a good idea when dealing with Web Services and it has caught me out more than once. Wouldn't hurt to refresh it - however with Galaxy, all remote calls are proxied through the send() remote method rather than to the method directly so there WSDL signature of your service shouldn't change with you are using a standard GalaxySOA implementation. Phil -Original Message- From: Mark Mandel mark.man...@gmail.com To: cfaussie@googlegroups.com Date: Thu, 15 Apr 2010 11:42:38 +1000 Subject: Re: [cfaussie] Re: GalaxySOA on CF9 (was WSDL assistance.) Very quick question - when you update the remote code are you refreshing the wsdl in the administrator? On 4/15/10, Gavin Baumanis beauecli...@gmail.com wrote: In the interest of quite possibly making an idiot of myself... Hi Phil, I have made the changes you provided and I get the same error in the same place. Only of course this time it is in the cfelse part of the code you sent me. It of course works correctly with the Sample app provided by Robin... so now I am back a step I suppose with the issue of obviously doing something wrong with my code - bummer. Interestingly, I created a method in that CFC that takes no arguments and returns a simple string. That works as I would have expected. Here is the line used to invoke the method on the remote service; #remoteLoginService.fn_check_user_in_ldap(user = 'test_user', password = 'test_password')# Here is the cffunction declaration; cffunction name=fn_authenticate_user hint=Function to Authenticate User Against specified LDAP Server : I return a user object if successful access=public returntype=Any So it would seem that I have an issue with sending arguments to my method if I use it is a remote service. Hopefully it is somehting glaringly obvious.. and everyone cvan take turns slapping my forehead at the CFUG! Gavin. On Apr 15, 10:55 am, Phil Haeusler p...@gtnet.com.au wrote: HI Gavin I made the following adjustment to Service.cfc to get it working on CF9 for remote calls for methods with no parameters. You'll need to adjust the cfreturn in the onMissingMethod function of Service.cfc - Line 416 in latest trunk from cfreturn webService.send(missingMethodName, missingMethodArguments) to cfif not StructCount(missingMethodArguments) cfreturn webService.send(missingMethodName, JavaCast(null, 0)) cfelse cfreturn webService.send(missingMethodName, missingMethodArguments) /cfif I haven't tested to see if this change breaks earlier versions of CF, but it was done in a made rush to get my laptop up and running for the last Melb CFUG. If you can try this and it gets it working for you, and we can ensure that it doesn't break earlier CFs we'll put it to Robin to get it committed into SVN Phil On 15/04/10 9:57 AM, Gavin Baumanis wrote: HI Phil, That is great news... thanks.. Great news in the sense that its not me - and that maybe my code is going to work afterall! I had a quick look in the Galaxy code - but I have never ever done any remote service work so it was all a little foreign to me. Thanks again. Gavin. On Apr 15, 9:28 am, Phil Haeuslerp...@gtnet.com.au wrote: Gavin If i recall correctly, i'm pretty sure i had to make some changes to Robin's code to make the remote services part work under CF9 when i was playing with it. There was a difference between CF8 CF9 around how parameters passed through CFINVOKE are handled. I'll dig up my code in a bit and get back to you. Phil -Original Message- From: Gavin Baumanisbeauecli...@gmail.com To: cfaussiecfaussie@googlegroups.com Date: Wed, 14 Apr 2010 16:18:37 -0700 (PDT) Subject: [cfaussie] Re: WSDL assistance. Well I decided that I should have a play with Robin's Demo application and make sure that I could get that working... And it would seem there might be some other issue other than code going on here, because I get the exact same error when trying to run the sample application. I turned on debug output and when the error is thrown I get the following message; Cannot perform web service invocation send. The fault returned when invoking the web service operation is: '' java.lang.IllegalArgumentException: argument type mismatch In the separate debug output window I get a different message though. /Library/WebServer/Documents/rocketboots/galaxy/trunk/com/rocketboots/ galaxy/Service.cfc(416) @ 09:10:05.780 type Application message Cannot perform web service invocation send. I don't know if the messags mean the same and they're ust represented differently or what the story is... Can I bother someone to download the download Galaxy and try out the sample app? I'm on CF9 - so
Re: [cfaussie] Adobe UG Managers ANZ
Just a note at the side - you can always contact Geoff Bowers - he's the Regional Adobe UG coordinator for the Pacific region. Cheers Kai As some of you know I've taken on CFUG Melbourne co-manager position for this year. I had a lot of trouble finding out who to talk to and what was available, ie, I didn't know what questions to ask and who I should have been asking. AJ Mercer on this list recently put me in touch with John Koch in the US who is community group manager for ANZ. John has been very helpful and soon, (pending NDA formalities), I will actually have access to the UG Managers' facilities, which will include notice of UG give-aways available from Adobe, etc, oh, and special events like the CF Builder launch and accompanying slide pack. So, if I'm not the only one who didn't have a clue what was going on or how to find out, please contact me off list and I'll happily give you John's email at Adobe. John himself felt that there were people in our region who weren't clear on his role and would like to get to know all the UG Managers here. Cheers -- Kai Koenig - Ventego Creative Ltd ph: +64 4 476 6781 - mob: +64 21 928 365 / +61 450 132 117 web: http://www.ventego-creative.co.nz blog: http://www.bloginblack.de twitter: http://www.twitter.com/agentK Hands-on Regular Expression training @ webDU 2010 http://bloginblack.de/agentk/workshop-befriending-regular-expressions/ Hands-on Flash Catalyst and Flex 4 training @ Webinale 2010 http://bloginblack.de/agentk/workshop-rias-with-flash-catalyst-and-flex-4/ -- -- You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaus...@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.
Re: [cfaussie] Total server ram for high load websites
Forgot to mention this is all on 2008 R2 x64 with CF9 Enterprise 64bit On 15/04/2010 11:54, Kym Kovan wrote: On 15/04/2010 08:29, Barry Chesterman wrote: I have seen 8BG recommended a couple of times around the net, what sort of load do you experience off your server Kai, and do you find that your 8GB is mostly utilised, or could you get away with say 5 or 6GB of ram? We at mbcomms have just moved a client to a virtual environment with a bunch of CF9 servers running on 4GB RAM each. JVM set to take 3GB and 1GB left for the OS, etc. Seems to be OK but a tad more memory for both might be a good thing, we are still fine tuning. We might wind a couple up to 6 GB and give CF 4GB and compare those with the 3GB ones. Got to love a virtual environment, just wind the hardware up and down as needed :-) -- Yours, Kym Kovan mbcomms.net.au -- You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaus...@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.
Re: [cfaussie] cfObjective roll call!
That's one good reason to be staying onsite ;) From what I hear beer in the US is pretty weak by Australian standards so we should be able to make a good representation! A.J. On 15 April 2010 11:47, Mark Mandel mark.man...@gmail.com wrote: I think you had told me you were going AJ, but I had totally forgotten! Awesome little aussie contingent we have there :D Its the same hotel as last year, so expect to spend a fair bit of time in the bar ;o) I've definitely noticed that American CF'ers tend to drink more than Australian CF'ers. I'm not sure why that is. Mark On Thu, Apr 15, 2010 at 11:29 AM, AJ Dyka aj.d...@warpax.com wrote: So far I only know of Mark Mandel, Justin McLean myself making the trip across the Pacific for cfObjective which starts next week are there going to be any other Aussies making the trip? It looks like the Hyatt has a pretty decent sports bar, a good place for a catchup? :) A.J. --- AJ Dyka e: aj.d...@warpax.com w: http://aj.warpax.com tw: @ajdyka -- You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaus...@googlegroups.com. To unsubscribe from this group, send email to cfaussie+unsubscr...@googlegroups.comcfaussie%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en. -- E: mark.man...@gmail.com T: http://www.twitter.com/neurotic W: www.compoundtheory.com Hands-on ColdFusion ORM Training @ cf.Objective() 2010 www.ColdFusionOrmTraining.com/ -- You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaus...@googlegroups.com. To unsubscribe from this group, send email to cfaussie+unsubscr...@googlegroups.comcfaussie%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en. -- You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaus...@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.
Re: [cfaussie] Re: GalaxySOA on CF9 (was WSDL assistance.)
Hi Gavin It could well be that this is a completely different issue to the one i came across. My memory is stretched a little bit now, but perhaps try playing around with the returntype of your function. Maybe start off with a string or struct and get that working and then keep extending it until it breaks. Happy to investigate more at the CFUG tonight Phil -Original Message- From: Gavin Baumanis beauecli...@gmail.com To: cfaussie cfaussie@googlegroups.com Date: Wed, 14 Apr 2010 18:37:31 -0700 (PDT) Subject: [cfaussie] Re: GalaxySOA on CF9 (was WSDL assistance.) In the interest of quite possibly making an idiot of myself... Hi Phil, I have made the changes you provided and I get the same error in the same place. Only of course this time it is in the cfelse part of the code you sent me. It of course works correctly with the Sample app provided by Robin... so now I am back a step I suppose with the issue of obviously doing something wrong with my code - bummer. Interestingly, I created a method in that CFC that takes no arguments and returns a simple string. That works as I would have expected. Here is the line used to invoke the method on the remote service; #remoteLoginService.fn_check_user_in_ldap(user = 'test_user', password = 'test_password')# Here is the cffunction declaration; cffunction name=fn_authenticate_user hint=Function to Authenticate User Against specified LDAP Server : I return a user object if successful access=public returntype=Any So it would seem that I have an issue with sending arguments to my method if I use it is a remote service. Hopefully it is somehting glaringly obvious.. and everyone cvan take turns slapping my forehead at the CFUG! Gavin. On Apr 15, 10:55 am, Phil Haeusler p...@gtnet.com.au wrote: HI Gavin I made the following adjustment to Service.cfc to get it working on CF9 for remote calls for methods with no parameters. You'll need to adjust the cfreturn in the onMissingMethod function of Service.cfc - Line 416 in latest trunk from cfreturn webService.send(missingMethodName, missingMethodArguments) to cfif not StructCount(missingMethodArguments) cfreturn webService.send(missingMethodName, JavaCast(null, 0)) cfelse cfreturn webService.send(missingMethodName, missingMethodArguments) /cfif I haven't tested to see if this change breaks earlier versions of CF, but it was done in a made rush to get my laptop up and running for the last Melb CFUG. If you can try this and it gets it working for you, and we can ensure that it doesn't break earlier CFs we'll put it to Robin to get it committed into SVN Phil On 15/04/10 9:57 AM, Gavin Baumanis wrote: HI Phil, That is great news... thanks.. Great news in the sense that its not me - and that maybe my code is going to work afterall! I had a quick look in the Galaxy code - but I have never ever done any remote service work so it was all a little foreign to me. Thanks again. Gavin. On Apr 15, 9:28 am, Phil Haeuslerp...@gtnet.com.au wrote: Gavin If i recall correctly, i'm pretty sure i had to make some changes to Robin's code to make the remote services part work under CF9 when i was playing with it. There was a difference between CF8 CF9 around how parameters passed through CFINVOKE are handled. I'll dig up my code in a bit and get back to you. Phil -Original Message- From: Gavin Baumanisbeauecli...@gmail.com To: cfaussiecfaussie@googlegroups.com Date: Wed, 14 Apr 2010 16:18:37 -0700 (PDT) Subject: [cfaussie] Re: WSDL assistance. Well I decided that I should have a play with Robin's Demo application and make sure that I could get that working... And it would seem there might be some other issue other than code going on here, because I get the exact same error when trying to run the sample application. I turned on debug output and when the error is thrown I get the following message; Cannot perform web service invocation send. The fault returned when invoking the web service operation is: '' java.lang.IllegalArgumentException: argument type mismatch In the separate debug output window I get a different message though. /Library/WebServer/Documents/rocketboots/galaxy/trunk/com/rocketboots/ galaxy/Service.cfc(416) @ 09:10:05.780 type Application message Cannot perform web service invocation send. I don't know if the messags mean the same and they're ust represented differently or what the story is... Can I bother someone to download the download Galaxy and try out the sample app? I'm on CF9 - so I'd be interested to see if it is a CF version specific issue or not. You can obtain the required code (via SVN) from; http://svn.rocketboots.com/os/galaxy/
[cfaussie] Re: GalaxySOA on CF9 (was WSDL assistance.)
Hi Mark, I am going to go with No. Especially since I have no idea what you're talking about! Gavin. On Apr 15, 11:42 am, Mark Mandel mark.man...@gmail.com wrote: Very quick question - when you update the remote code are you refreshing the wsdl in the administrator? On 4/15/10, Gavin Baumanis beauecli...@gmail.com wrote: In the interest of quite possibly making an idiot of myself... Hi Phil, I have made the changes you provided and I get the same error in the same place. Only of course this time it is in the cfelse part of the code you sent me. It of course works correctly with the Sample app provided by Robin... so now I am back a step I suppose with the issue of obviously doing something wrong with my code - bummer. Interestingly, I created a method in that CFC that takes no arguments and returns a simple string. That works as I would have expected. Here is the line used to invoke the method on the remote service; #remoteLoginService.fn_check_user_in_ldap(user = 'test_user', password = 'test_password')# Here is the cffunction declaration; cffunction name=fn_authenticate_user hint=Function to Authenticate User Against specified LDAP Server : I return a user object if successful access=public returntype=Any So it would seem that I have an issue with sending arguments to my method if I use it is a remote service. Hopefully it is somehting glaringly obvious.. and everyone cvan take turns slapping my forehead at the CFUG! Gavin. On Apr 15, 10:55 am, Phil Haeusler p...@gtnet.com.au wrote: HI Gavin I made the following adjustment to Service.cfc to get it working on CF9 for remote calls for methods with no parameters. You'll need to adjust the cfreturn in the onMissingMethod function of Service.cfc - Line 416 in latest trunk from cfreturn webService.send(missingMethodName, missingMethodArguments) to cfif not StructCount(missingMethodArguments) cfreturn webService.send(missingMethodName, JavaCast(null, 0)) cfelse cfreturn webService.send(missingMethodName, missingMethodArguments) /cfif I haven't tested to see if this change breaks earlier versions of CF, but it was done in a made rush to get my laptop up and running for the last Melb CFUG. If you can try this and it gets it working for you, and we can ensure that it doesn't break earlier CFs we'll put it to Robin to get it committed into SVN Phil On 15/04/10 9:57 AM, Gavin Baumanis wrote: HI Phil, That is great news... thanks.. Great news in the sense that its not me - and that maybe my code is going to work afterall! I had a quick look in the Galaxy code - but I have never ever done any remote service work so it was all a little foreign to me. Thanks again. Gavin. On Apr 15, 9:28 am, Phil Haeuslerp...@gtnet.com.au wrote: Gavin If i recall correctly, i'm pretty sure i had to make some changes to Robin's code to make the remote services part work under CF9 when i was playing with it. There was a difference between CF8 CF9 around how parameters passed through CFINVOKE are handled. I'll dig up my code in a bit and get back to you. Phil -Original Message- From: Gavin Baumanisbeauecli...@gmail.com To: cfaussiecfaussie@googlegroups.com Date: Wed, 14 Apr 2010 16:18:37 -0700 (PDT) Subject: [cfaussie] Re: WSDL assistance. Well I decided that I should have a play with Robin's Demo application and make sure that I could get that working... And it would seem there might be some other issue other than code going on here, because I get the exact same error when trying to run the sample application. I turned on debug output and when the error is thrown I get the following message; Cannot perform web service invocation send. The fault returned when invoking the web service operation is: '' java.lang.IllegalArgumentException: argument type mismatch In the separate debug output window I get a different message though. /Library/WebServer/Documents/rocketboots/galaxy/trunk/com/rocketboots/ galaxy/Service.cfc(416) @ 09:10:05.780 type Application message Cannot perform web service invocation send. I don't know if the messags mean the same and they're ust represented differently or what the story is... Can I bother someone to download the download Galaxy and try out the sample app? I'm on CF9 - so I'd be interested to see if it is a CF version specific issue or not. You can obtain the required code (via SVN) from; http://svn.rocketboots.com/os/galaxy/ [http://svn.rocketboots.com/os/galaxy/] Thanks. -- You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaus...@googlegroups.com. To unsubscribe from this group, send email to
[cfaussie] Re: GalaxySOA on CF9 (was WSDL assistance.)
Hi Phil, Your code change was required none the less to get the sample application running correctly on CF9. So that wasn't a waste, at all. I did a dump; cfdump var=#missingMethodName#br / cfdump var=#missingMethodArguments#br / And can confirm that the methiod name matches the methodf in my CFC and the missing method arguments also contains a structure of the arguments that I had passed into the function call. I created a new function; cffunction name=myFunction access=public returntype=Numeric cfargument name=myNumber default=0 type=numeric cfset fred = arguments.myNumnber +10 cfreturn fred /cffunction and call it like such; cfset remoteLoginService = createObject(component,/loginService/ loginServiceSampleApp/authUser/AppLoginService).init(http:// localhost/loginService/loginServiceSampleApp/authUser/ AppLoginService.cfc?wsdl) cfoutput #remoteLoginService.myFunction(1)#br / cfoutput I wouldn't have thought it got any more simple than that - to be honest - but it returns the same error message as before. It would seem to me - that there is some issue with dealing with ANY kind of attribute that gets sent to the remote method. Anyhow - unless there is an obvious answer - I will certainly see you tonight at the CFUG - thanks for the offer to help! Gavin. On Apr 15, 12:50 pm, Phil Haeusler p...@gtnet.com.au wrote: Hi Gavin It could well be that this is a completely different issue to the one i came across. My memory is stretched a little bit now, but perhaps try playing around with the returntype of your function. Maybe start off with a string or struct and get that working and then keep extending it until it breaks. Happy to investigate more at the CFUG tonight Phil -Original Message- From: Gavin Baumanis beauecli...@gmail.com To: cfaussie cfaussie@googlegroups.com Date: Wed, 14 Apr 2010 18:37:31 -0700 (PDT) Subject: [cfaussie] Re: GalaxySOA on CF9 (was WSDL assistance.) In the interest of quite possibly making an idiot of myself... Hi Phil, I have made the changes you provided and I get the same error in the same place. Only of course this time it is in the cfelse part of the code you sent me. It of course works correctly with the Sample app provided by Robin... so now I am back a step I suppose with the issue of obviously doing something wrong with my code - bummer. Interestingly, I created a method in that CFC that takes no arguments and returns a simple string. That works as I would have expected. Here is the line used to invoke the method on the remote service; #remoteLoginService.fn_check_user_in_ldap(user = 'test_user', password = 'test_password')# Here is the cffunction declaration; cffunction name=fn_authenticate_user hint=Function to Authenticate User Against specified LDAP Server : I return a user object if successful access=public returntype=Any So it would seem that I have an issue with sending arguments to my method if I use it is a remote service. Hopefully it is somehting glaringly obvious.. and everyone cvan take turns slapping my forehead at the CFUG! Gavin. On Apr 15, 10:55 am, Phil Haeusler p...@gtnet.com.au wrote: HI Gavin I made the following adjustment to Service.cfc to get it working on CF9 for remote calls for methods with no parameters. You'll need to adjust the cfreturn in the onMissingMethod function of Service.cfc - Line 416 in latest trunk from cfreturn webService.send(missingMethodName, missingMethodArguments) to cfif not StructCount(missingMethodArguments) cfreturn webService.send(missingMethodName, JavaCast(null, 0)) cfelse cfreturn webService.send(missingMethodName, missingMethodArguments) /cfif I haven't tested to see if this change breaks earlier versions of CF, but it was done in a made rush to get my laptop up and running for the last Melb CFUG. If you can try this and it gets it working for you, and we can ensure that it doesn't break earlier CFs we'll put it to Robin to get it committed into SVN Phil On 15/04/10 9:57 AM, Gavin Baumanis wrote: HI Phil, That is great news... thanks.. Great news in the sense that its not me - and that maybe my code is going to work afterall! I had a quick look in the Galaxy code - but I have never ever done any remote service work so it was all a little foreign to me. Thanks again. Gavin. On Apr 15, 9:28 am, Phil Haeuslerp...@gtnet.com.au wrote: Gavin If i recall correctly, i'm pretty sure i had to make some changes to Robin's code to make the remote services part work under CF9 when i was playing with it. There was a difference between CF8 CF9 around how parameters passed through CFINVOKE are handled. I'll dig up my code in a bit and get back to you. Phil -Original Message- From: Gavin Baumanisbeauecli...@gmail.com To: cfaussiecfaussie@googlegroups.com Date:
[cfaussie] [ANN-SYD] Parsley Revisited
For those of you attended the meeting on Parsley, Michael Plank (the presenter on that night), will be in Sydney for WebDU. If anybody has any more questions, wants to see some more features or just have a drink with Michael, Michael is prepared to a meet-up in person. I was thinking of Friday night after the WebDU or Tuesday night (if he's not too jetlagged). Let me know if you're interested and I'll keep posted. Chris -- Chris Velevitch Manager - Adobe Platform Users Group, Sydney m: 0415 469 095 www.apugs.org.au Adobe Platform Users Group, Sydney April 2010: Builder Launch and Using jQuery When Flash is Overkill Date: 20th April 6pm for 6:30 start Details and RSVP on http://apugs2010flashbuilderlaunch.eventbrite.com/ -- You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaus...@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.