• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Newbie web services with WO question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Newbie web services with WO question
      • From: Chuck Hill <email@hidden>
  • Prev by Date: Another take on a NY WebObjects Users Group
  • Next by Date: Alternative to Cookie during a Session Timeout
  • Previous by thread: Re: Another take on a NY WebObjects Users Group
  • Next by thread: Re: Newbie web services with WO question
  • Index(es):
    • Date
    • Thread