Re: beginner question - on publishing web service using web object

2006-05-02 Thread Mike Schrag
We have a .net and a Java client that consumes our WO WebService with no problems (well, other than the hacks to Axis client for multiple cookie support that's documented at the wiki book). ms On May 2, 2006, at 8:50 PM, PS ps wrote: Hi! Have just begin my foray into web objects. Appreci

To Many relationship error

2006-05-02 Thread Jeff & Monica Schmitz
I'm going through the Visual Quick Start Guide tutorial and I've set up a to-many relationship in EOModeler, along with the to-one relationship in the opposite direction.  While the to-one relationship works, I get the following error when accessing the generated java function to get the destinatio

Re: Want to iterate over items in EditingContext for validation before save

2006-05-02 Thread Art Isbell
On May 2, 2006, at 4:01 PM, WebObjects wrote: If I were to remove an element of the NSArray returned by this method, would then calling .saveChanges() on the ec now exclude objects removed from the array? If so is this because of the magic of WO keeping track of things? EOEditingContext

Re: Want to iterate over items in EditingContext for validation before save

2006-05-02 Thread Ken Anderson
No, but doing ec.deleteObject(obj) will. If the object is new and has never been saved, it will effectively be nullified. On May 2, 2006, at 10:01 PM, WebObjects wrote: Art, I'm thinking of EOEditingContext.insertedObjects() as the choice in this case. I actually thought that may be the

Re: Want to iterate over items in EditingContext for validation before save

2006-05-02 Thread WebObjects
Art, I'm thinking of EOEditingContext.insertedObjects() as the choice in this case. I actually thought that may be the answer here (thanks for your time on this). If I were to remove an element of the NSArray returned by this method, would then calling .saveChanges() on the ec now exclude object

Re: Want to iterate over items in EditingContext for validation before save

2006-05-02 Thread Art Isbell
On May 2, 2006, at 2:48 PM, WebObjects wrote: I've found an error in my coding style - too late in this project though. I use EOUtilities.createAndInsertInstance in a constructor for a page, and as a result 'refresh' and 'back' have become my enemies. How can I iterated over the unsaved ob

Re: beginner question - on publishing web service using web object

2006-05-02 Thread WebObjects
Dear WOLearn, SOA/WebServices is designed to be platform-software agnostic - so anything you Publish should be able to be Consumed, no matter what the consumer is using for the client-platform. Although Axis and WebServices is an art unto itself; this generally requires getting very familiar with

beginner question - on publishing web service using web object

2006-05-02 Thread PS ps
Hi! Have just begin my foray into web objects. Appreciate if someone could respond to this: I need to publish certain methods as a web service in an existing web object application. Was planning to use the existing web objects classes (WOWebServiceRegistrar etc ) to publish it as a web service.

Want to iterate over items in EditingContext for validation before save

2006-05-02 Thread WebObjects
I've found an error in my coding style - too late in this project though. I use EOUtilities.createAndInsertInstance in a constructor for a page, and as a result 'refresh' and 'back' have become my enemies. How can I iterated over the unsaved objects in an EditingContext (ec), test their validity

Re: To WWDC, or not to WWDC...

2006-05-02 Thread Reid Bundonis
Janine, I've been going for a number of years now and my feeling is that every year is a good year, especially if it is your first. If you are developing software on the Mac, are an IT admin working with Macs, and/or you have an outgoing personality (read: not afraid to ask questions), this

Re: Bug in WOContext.directActionURLForActionNamed() when using query dictionary

2006-05-02 Thread Nathan Hadfield
(I wrote this Friday but just realized I failed to include the listserv in my reply.) Thanks so much for the quick replies, and sorry to bring up an old debate. My bad for not searching the archives well enough. In my case I was generating the URL for use in a plain-text e-mail, so click

WebSphere connection pool and deadlock - HELP!

2006-05-02 Thread David Aspinall
We have a client who insists on using WebSphere 5.0. At first everything was fine, but all our database connections were created using JDBC connection logic. The client insists we use the JNDI naming context for finding and using the websphere connection pool and we began to encounter pro

Re: simple encoding question :-)

2006-05-02 Thread Amedeo Mantica
I have found URLencoder class! ok! http://java.sun.com/j2se/1.4.2/docs/api/java/net/URLEncoder.html On 02/mag/06, at 19:57, Amedeo Mantica wrote: Hello, I need to encode a string for passing it into url... ftom this: simple string to this: simple%20string I'm sure is simple...but I don't fi

simple encoding question :-)

2006-05-02 Thread Amedeo Mantica
Hello, I need to encode a string for passing it into url... ftom this: simple string to this: simple%20string I'm sure is simple...but I don't find the function any help? Thanks Amedeo ___ Do not post admin requests to the list. They will be ignored