I got this working with WO 5.4.3. I never had older versions of WO on my system (~new Mac Book Pro). Other coworkers had issues with older versions of WO and CLASSPATH.

Here is the registration code from Application class

       // Register Web Service
        // WSDL: 
http://localhost:4000/WebObjects/MOHAWK.woa/ws/CreateMohawk?wsdl
        Class _class = NewMohawkRequest.class;
QName _qName = new QName("http:// type.ws.mohawk.webapp.mpv.com", "NewMohawkRequest"); BeanSerializerFactory serializer = new BeanSerializerFactory(_class, _qName); BeanDeserializerFactory deserializer = new BeanDeserializerFactory(_class, _qName); WOWebServiceRegistrar.registerFactoriesForClassWithQName(serializer, deserializer, _class, _qName); WOWebServiceRegistrar.registerWebService("CreateMohawk", CreateMohawkWS.class, true);

Check your class path, make sure you are pointing to the correct framework versions and axis jars.

JR
On Nov 14, 2008, at 1:51 PM, Pascal Robert wrote:

I'm stumped on this one. I have a call to objectsWithFetchSpecification() who is telling me :

[2008-11-14 14:46:09 EST] <WorkerThread13> java.lang.IllegalArgumentException: An object store for the entity "com.acaiq.fondation.acaiqForm.Examen" could not be found. Verify that the entity is defined in an EOModel, and that the model is installed properly. To see what models are loaded, you can try printing the return value of EOModelGroup.defaultGroup() in your application. at com .webobjects .eocontrol .EOObjectStoreCoordinator .objectsWithFetchSpecification(EOObjectStoreCoordinator.java:536)

But if I call this :

        NSLog.out.appendln(EOModelGroup.defaultGroup());

The model is listed :-/

<EOModelGroup (("ACAIQForm", "file:/Developer/WebObjects53/Library/ Frameworks/ACAIQFoundation.framework/Resources/ACAIQForm.eomodeld"), ("ExamenTelecopie", "file:/Users/probert/Clients/OS/Code/ACAIQ/Examen/Developer/Examen/ build/Examen.woa/Contents/Resources/ExamenTelecopie.eomodeld")) >

So I have no idea on why it doesn't find the entity :-/

-------------------------------------------------------
Pascal Robert

http://www.macti.ca
http://www.linkedin.com/in/macti

Skype: MacTICanada
AIM/iChat : MacTICanada

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/jr%40mpv.com

This email sent to [EMAIL PROTECTED]

JR Ruggentaler
Senior Software Developer
Medical Present Value, Inc
[EMAIL PROTECTED]
Office   512.439.0206
Mobile  512.431.6849

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to