Preventing Authorization on Customization
Hi,
I've written some code that works well in creating a document and uploading an attachment. I can run it from the command line but whenever it reaches the point in the code where it references a PersistenceHelper I get prompted for authorization. This makes the whole thing pretty useless because my next step is to call it from a .NET application after turning it intoa web service.
Does anybody know how to prevent this authorization request from popping up?
I have tried
myServer = RemoteMethodServer.getDefault();
myServer.setUserName("login");
myServer.setPassword("password");
but this makes no difference.
For instance this line
QueryResult qr = PersistenceHelper.manager.find((StatementSpec)qs);
brings up a box asking for user and password. I can't have this when calling remotely. It defeats the purpose of having an automatic customized project.
Thanks
Ben

