Re: [basedb-devel] ServicesUtil not found

2009-06-17 Thread Olivier Lefevre
>> So I am reasonably happy with 4) With 3) I meant. Typo. > I have heard the name JSON but didn't know that it had to > do with web services. Indeed it isn't closely "affiliated" with web services: it is just another string encoding for tree-like semi-structured data. My understanding is tha

Re: [basedb-devel] ServicesUtil not found

2009-06-17 Thread Nicklas Nordborg
Olivier Lefevre wrote: > Re. the earlier problem, here is what I found: > 1) custom classes in their own package and in their own jar >under WEB-INF/lib: ClassNotFoundException > 2) custom classes in their own package and in their own jar or >aar under WEB-INF/services: ClassNotFoundExcep

Re: [basedb-devel] ServicesUtil not found

2009-06-17 Thread Olivier Lefevre
Re. the earlier problem, here is what I found: 1) custom classes in their own package and in their own jar under WEB-INF/lib: ClassNotFoundException 2) custom classes in their own package and in their own jar or aar under WEB-INF/services: ClassNotFoundException; note that in this case

Re: [basedb-devel] ServicesUtil not found

2009-06-17 Thread Nicklas Nordborg
Olivier Lefevre wrote: > So it's a class loader issue. Thanks for the explanation. > I'll find some arrangement that works; worst case is I just > shove everything into net.sf.basedb.ws.server: it's my own > code, so I can repackage it. > > While we are talking about design, I have another quick

Re: [basedb-devel] ServicesUtil not found

2009-06-17 Thread Olivier Lefevre
So it's a class loader issue. Thanks for the explanation. I'll find some arrangement that works; worst case is I just shove everything into net.sf.basedb.ws.server: it's my own code, so I can repackage it. While we are talking about design, I have another quick question: from the interop point

Re: [basedb-devel] ServicesUtil not found

2009-06-17 Thread Nicklas Nordborg
The ServicesUtil and other classes in the net.sf.basedb.ws.server package are not found in the WEB-INF/lib/ directory and thus can't be referenced from classes that are there. Axis has it's own class loader implementation and expects to find classes in the WEB-INF/services/ directory in the form o

Re: [basedb-devel] ServicesUtil not found

2009-06-17 Thread Olivier Lefevre
PS: There are a couple of superfluous imports in my example files because of cut-and-paste but that does not affect the argument. -- Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licens

Re: [basedb-devel] ServicesUtil not found

2009-06-17 Thread lefevrol
Sorry, why did I write "client"? It was late, I should have slept before posting. This happens in the service class. I have my own utility class, which refers to ServicesUtil, and the service class loads that utility class. The utility class can be loaded but not ServicesUtil, which is odd since i

Re: [basedb-devel] ServicesUtil not found

2009-06-16 Thread Nicklas Nordborg
Olivier Lefevre wrote: > My web service client (i.e., a child of AbstractRPCClient) > references a custom class in a completely different package, > which is is in its own jar under webapps/base2/WEB-INF/lib > That class in turn references net.sf.basedb.ws.server.ServicesUtil > Upon trying to run t