• 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
Add web services support in existing application
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Add web services support in existing application


  • Subject: Add web services support in existing application
  • From: Guillaume BOUÉ <email@hidden>
  • Date: Wed, 25 Aug 2004 16:36:55 +0200 (CEST)

Hi,

I've got an existing eclipse RCP application.
Basically it's a database client. I would like to
integrate the Enterprise Objects, in order to manage
the database transactions with the server, through web
services. Is that possible to reuse this EO framework
outside the WebObject platform ?

As a short sample, I 've tried to a run a program
based on the CaculatorClient sample. The steps were
straightforward:
1 - create CalculatorClient
2 - invoke the "add" operation with 1 and 2 as
parameter
3 - and get the result
Note : the server is the calculator sample from the
developer documentation.

When I build it under WebObjects, it works fine but
under eclipse I've got the following errors :

com.webobjects.foundation.NSForwardException for
java.lang.NullPointerException
	at
com.webobjects.webservices.client.WOWebService.getEmptyClientConfig(WOWebService.java:305)
	at
com.webobjects.webservices.client.WOWebService.getDeploymentDocument(WOWebService.java:345)
	at
com.webobjects.webservices.client.WOWebService.engineConfiguration(WOWebService.java:284)
	at
com.webobjects.webservices.client.WOWebService.axisService(WOWebService.java:195)
	at
com.webobjects.webservices.client.WOWebService.createCallForOperation(WOWebService.java:237)
	at
com.webobjects.webservices.client.WOWebServiceClient.invoke(WOWebServiceClient.java:484)
	at CalculatorClient.invoke(CalculatorClient.java:50)
	at CalculatorClient.main(CalculatorClient.java:113)
Exception in thread "main"

I did add the many jars file that make up the WO
framework in the project. Am I missing something ? Any
ideas ?

Thanks
Regards
Guillaume









Vous manquez despace pour stocker vos mails ?
Yahoo! Mail vous offre GRATUITEMENT 100 Mo !
Criez votre Yahoo! Mail sur http://fr.benefits.yahoo.com/

Le nouveau Yahoo! Messenger est arrivi ! Dicouvrez toutes les nouveautis pour dialoguer instantaniment avec vos amis. A tilicharger gratuitement sur http://fr.messenger.yahoo.com
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.


  • Prev by Date: Postgresql, booleans and EOM
  • Next by Date: webobjects and tiger
  • Previous by thread: Re: Postgresql, booleans and EOM
  • Next by thread: webobjects and tiger
  • Index(es):
    • Date
    • Thread