Re: WebObjects 5.4 Webservices and arrays deserializer

2008-02-28 Thread Art Isbell
On Feb 28, 2008, at 7:57 PM, Kristof Cossement wrote: We experience a major problem porting our WebObjects application from OSX 10.4.x(WebObjects 5.3) to OSX 10.5.x(WebObjects 5.4.1) When making a webservice with an array of Strings (or other types), the automatically generated WSDL file

WebObjects 5.4 Webservices and arrays deserializer

2008-02-28 Thread Kristof Cossement
Hi all, We experience a major problem porting our WebObjects application from OSX 10.4.x(WebObjects 5.3) to OSX 10.5.x(WebObjects 5.4.1) Our application makes extensive use of the WebService generation tool in WebObjects (WOWebServiceRegistrar.registerWebService) When making a webservice with a

WOWebserviceClient.invoke() timeout

2008-02-28 Thread Kristof Cossement
Hi all, WOWebserviceClient.invoke() lets you consume a webservice. Sometimes, the webservice can take up to 2 minutes of processing time, so the invoke method goes into timeout. Is there any way to increase the timeout value of a webservice call? Kind regards, Kristof Cossement Looking for

Re: error when deploy WO WebServices application

2008-02-28 Thread Lachlan Deck
On 29/02/2008, at 10:35 AM, Cretu Catalin wrote: The development is done on MacOSX 10.3. WO is 5.3. Axis is the default one and I think is 1.1. Where is it? /Library/WebObjects/Extensions? If so, pull it out of there and store it in your project (so you don't have to worry about differing v

Delete Error Exception

2008-02-28 Thread James Cicenia
I have this error which I have never seen before and I don't quite know what it is telling me: I removed some noise in the middle. I have Client --> Pages --> Links Trying to delete a page. Thanks James Cicenia com.webobjects.foundation.NSForwardException [java.lang.IllegalArgumentExcepti

Re: error when deploy WO WebServices application

2008-02-28 Thread Cretu Catalin
The development is done on MacOSX 10.3. WO is 5.3. Axis is the default one and I think is 1.1. The deployment is done on WebSphere 6.0 and I'm not sure about the location where the axis.jar should go. May be I have to define the path ... Thanks, Catalin Cretu --- Lachlan Deck <[EMAIL PROTECTED]>

Re: error when deploy WO WebServices application

2008-02-28 Thread Lachlan Deck
What version of WO/Axis/etc are you using? On 29/02/2008, at 1:00 AM, Cretu Catalin wrote: Hi, I just start to use WO WebServices. On my local MacOSX development machine it is working (no errors), but when I tried to deploy on "prod" environment (WebSphere) I get next error: Error 500: Seed m

Re: A generics bug with NSDictionary ?

2008-02-28 Thread Simon McLean
This is with WO5.3, Wonder and Java 1.5. Looks like a bug to me, but I'm not sure if this is a WO bug or if Wonder is involved ? Neither, it's a Simon bug :) There's lots of those around :-) NSDictionary is defined like Map -- it's not Key>. Blimey, that's a sneaky one! Thanks Mike. Si

Re: A generics bug with NSDictionary ?

2008-02-28 Thread Mike Schrag
This is with WO5.3, Wonder and Java 1.5. Looks like a bug to me, but I'm not sure if this is a WO bug or if Wonder is involved ? Neither, it's a Simon bug :) NSDictionary is defined like Map -- it's not . ms ___ Do not post admin requests to the li

[SOLVED] Re: Owns destination confusion

2008-02-28 Thread Florijan Stamenkovic
Ah, yes, I've confused the two concepts... I'll manage the creation in awakeFromInsertion() then. Thanks! F On Feb 28, 2008, at 13:03, Gary Teter wrote: I think you only get the automatic destination creation behavior if you have "propagates primary key" turned on for that relationship. _

Re: Owns destination confusion

2008-02-28 Thread Johann Werner
Owning the relationship means that "Numbers" and "Address" objects can't exist without a relation to a "ContactJob" object. That means that if you remove e.g. a Number from ContacJob and saveChanges that Number object will be deleted as it doesn't belong to any ContacJob. jw Am 28.02.2008

Re: Search NSArray?

2008-02-28 Thread Ken Anderson
Or, if you do have a lot of objects that you look up often from your cache, upon loading: NSMutableDictionary personBySSN = new NSMutableDictionary(); In loop: personBySSN.setObjectForKey(person, person.ssn()); Then to lookup: person = (Person) personBySSN.objectForKey(ssn); Of cou

Re: Owns destination confusion

2008-02-28 Thread Gary Teter
I think you only get the automatic destination creation behavior if you have "propagates primary key" turned on for that relationship. On Feb 28, 2008, at 8:50 AM, Florijan Stamenkovic wrote: Hi all, I've setup my "ContactJob" entity to relate to "Numbers" and "Address" entities, and to ow

Owns destination confusion

2008-02-28 Thread Florijan Stamenkovic
Hi all, I've setup my "ContactJob" entity to relate to "Numbers" and "Address" entities, and to own the relationships. Both are to-one relationships with foreign keys in ContactJob, that do not have the inverse relationship modeled. From my understanding this should cause new "Numbers" an

Re: Application won't stay up, no crash, no log

2008-02-28 Thread Guido Neitzer
On 28.02.2008, at 06:00, Xavier Destombes wrote: -It won't turn on using Monitor -If I turn it on using the CLI with the same parameters as Monitor, it would start, no complain in the log, nothing special except it will die within minutes (or even seconds), without errors... Check the perm

Re: WO 5.4 / Axis 1.4 / Deserialization

2008-02-28 Thread Michael DeMan
Hi, Yes, running a separate web-services layer to restrict the API available via SOAP/XML and not vending the EOs out directly is the way to go. However, it is nice to have EOs that know how to serialize themselves for different kinds of purposes so those methods are available to be use

error when deploy WO WebServices application

2008-02-28 Thread Cretu Catalin
Hi, I just start to use WO WebServices. On my local MacOSX development machine it is working (no errors), but when I tried to deploy on "prod" environment (WebSphere) I get next error: Error 500: Seed must be between 20 and 64 bytes. Only 8 bytes supplied.: : Exception while trying to generate an

Re: Application won't stay up, no crash, no log [Solved]

2008-02-28 Thread Xavier Destombes
Actually it looks like the /System/javaWOExtensions should be checked in Eclipse. If you check it after the one in /Library/javaWOExtension it will complain, but it needs to be checked anyway. Xavier Hello, I've been moving my applications from a 10.4/WO53 server to a 10.5.2/ WO53 (yes

Application won't stay up, no crash, no log

2008-02-28 Thread Xavier Destombes
Hello, I've been moving my applications from a 10.4/WO53 server to a 10.5.2/ WO53 (yes not 54:)) server. Pretty much everything is going smoothly (actually our development machine were already 10.5/WO53) except centralize value of er javamail (we're still investigating) and one application w