Newbie web services with WO question
Newbie web services with WO question
- Subject: Newbie web services with WO question
- From: "Luigi Giannini" <email@hidden>
- Date: Wed, 24 May 2006 23:41:28 +0200
Hello everyones,
these are my first steps in WO then please patient ...
I try to write a simple web service connected to MS SQL srv with
WebServicesAssistant
Create the EOmodel named ObjectMed using JDBC and jtds 1.2
Create Xcode WO project with WebServicesDirect assistant
Create a WebService (named anagrafica) in WebServicesAssistant
Create an operation (named cerca) that search in the DB table named
PazientiAnagrafica
Testing the operation cerca is OK
Create an operation (named nuovoPaziente) that insert a new record (
... ops object) but I have only this frustrating message:
Exception:
com.webobjects.foundation.NSForwardException
[org.apache.axis.AxisFault] java.lang.IllegalArgumentException:
java.lang.IllegalStateException: Adaptor
com.webobjects.jdbcadaptor.JDBCAdaptor@f98f80 failed to provide new
primary keys for entity 'PazientiAnagrafica': Exception trying to
invoke operation: nuovoPaziente
What is wrong?
Please help me!
Thanks in advance
Luigi Giannini
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden