ofbiz with a remote flex client

2010-01-01 Thread Christopher Snow
I have a requirement to connect flex 3 or 4 to a remote ofbiz instance. A few custom flex UI screens will then be built to expose some of the ofbiz functionality. I am still learning flex so I don't know its capability, but I am hoping that flex will be able to communicate with ofbiz via the

Re: Error in purgeOldJobs service.

2010-01-01 Thread Scott Gray
Hi Rohit, The purgeOldJobs service can only be run one at a time so the error below just indicates that the queued service execution timed out while waiting for the existing execution to complete. I can think of two possible causes for this: 1. Your JobSandbox table has for some reason

Re: ofbiz with a remote flex client

2010-01-01 Thread Andrew Zeneski
Chris, I have worked with Flex 3 and the easiest integration will be to use the XMLRPC implementation in OFBiz. It works really well. I have a modified version of the AS3 XMLRPC library which supports authentication. Please feel free to contact me directly if you decide to go this route. I'll be

Re: userLogin

2010-01-01 Thread Scott Gray
If auth is set to false in the service definition then the userLogin won't be available in the context. Regards Scott HotWax Media http://www.hotwaxmedia.com On 31/12/2009, at 4:29 AM, Jacques Le Roux wrote: It should be in the context

Re: userLogin

2010-01-01 Thread Jacques Le Roux
Yes, and as Zhiyongcui is using getRelatedParties and as auth is not defined in the service definition then it's set to false, this is the reason. Jacques From: Scott Gray scott.g...@hotwaxmedia.com If auth is set to false in the service definition then the userLogin won't be available in

Re: Access service error

2010-01-01 Thread Scott Gray
The attribute name is auth Regards Scott HotWax Media http://www.hotwaxmedia.com On 1/01/2010, at 1:12 PM, zhiyongcui wrote: There is not authentication attribute on the service definition of getRelatedParties. David E Jones-4 wrote: That's not correct. You need to look at the

Re: userLogin

2010-01-01 Thread Scott Gray
auth defaults to true Regards Scott On 2/01/2010, at 10:35 AM, Jacques Le Roux wrote: Yes, and as Zhiyongcui is using getRelatedParties and as auth is not defined in the service definition then it's set to false, this is the reason. Jacques From: Scott Gray scott.g...@hotwaxmedia.com If

Re: userLogin

2010-01-01 Thread Jacques Le Roux
Areyou sure? That's has changed then, because it's not what I read in the OFBiz Framework Quick Reference Book revision 1.6.2 (Service Definition p.3) and also the XMLcompletion default to false Jacques From: Scott Gray scott.g...@hotwaxmedia.com auth defaults to true Regards Scott On

Re: userLogin

2010-01-01 Thread Scott Gray
Yeah sorry you're right, I looked at the code instead of the xsd: // these default to true; if anything but true, make false service.auth = true.equalsIgnoreCase(serviceElement.getAttribute(auth)); service.export =

Re: userLogin

2010-01-01 Thread Jacques Le Roux
Mmm... yes, looks like something is wrong, not quite sure what yet... I'd would more logical to have auth=true by default, but also then why are there so much services definitions stating it explicitly... Jacques From: Scott Gray scott.g...@hotwaxmedia.com Yeah sorry you're right, I looked

Re: userLogin

2010-01-01 Thread Jacques Le Roux
From: Jacques Le Roux jacques.le.r...@les7arts.com Mmm... yes, looks like something is wrong, not quite sure what yet... I'd would more logical to have auth=true by default, but also then why are there so much services definitions stating it explicitly... Finally this line means, if it's not

Re: Access service error

2010-01-01 Thread zhiyongcui
By default it should be false for attribute auth of the service,then it's false for attribute auth of getRelatedParties.It's means that this service didn't need any authentication.Then why the error is occured? David E Jones-4 wrote: That's not correct. You need to look at the

Re: Access service error

2010-01-01 Thread zhiyongcui
auth should represents authorization? Scott Gray-2 wrote: The attribute name is auth Regards Scott HotWax Media http://www.hotwaxmedia.com On 1/01/2010, at 1:12 PM, zhiyongcui wrote: There is not authentication attribute on the service definition of getRelatedParties. David

Re: userLogin

2010-01-01 Thread David E Jones
Yeah, that comment looks wrong (the first part is, the second part of the comment is correct). If it is comparing to true then anything other than true will be false, including empty will be false. -David On Jan 1, 2010, at 4:53 PM, Scott Gray wrote: Yeah sorry you're right, I looked at