[OFBiz] Users - Screen Widget transaction timeout also QuickBooks SOAP API

Brett Palmer brettgpalmer at gmail.com
Fri Sep 9 11:47:03 EDT 2005


Brian,

If the service that is running the export is only reading data you might 
want to turn transaction support off for that service. We do that with a lot 
of our export services because the transaction times can very so much for 
long queries and since you're only reading data the transaction isn't really 
necessary.

Brett

On 9/8/05, Brian Johnson <lists-ofbiz-users at sherbang.com> wrote:
> 
> I put together a page that lets my users get some information out of
> QuickBooks. This was as much to get a handle on getting data from
> QuickBooks with OFBiz as it was getting the users the data they wanted.
> 
> I ended-up getting a NullPointerException rendering the screen. I
> finally was able to trace it back to the fact that the transaction was
> timing out since my data processing takes more then 60 seconds in this
> case (yeah it sucks, but it'll have to do for now). You still don't get
> the error page until after the data processing is done anyway, and it
> doesn't say anything about a timeout.
> 
> So I was able to fix it by putting a large timeout value in
> ofbiz/framework/widget/src/org/ofbiz/widget/screen/ModelScreen.java:99
> i just changed it to TransactionUtil.begin(1000). Now i want to see if
> there's a better way to handle this.
> 
> Also, anyone who's interested in accessing QuickBooks over SOAP from
> OFBiz I can share what I've learned. I did need to make some changes to
> SOAPClientEngine.java, including hard coding some values that should be
> settings. Again, I'm not sure the best way to handle this, I couldn't
> figure out how to get all the different values I needed there from the
> services.xml.
> Thanks
> --
> Brian
> 
> _______________________________________________
> Users mailing list
> Users at lists.ofbiz.org
> http://lists.ofbiz.org/mailman/listinfo/users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ofbiz.org/pipermail/users/attachments/20050909/8b040252/attachment-0001.htm


More information about the Users mailing list