Missing NSBundle Class in wojavaclient.jar, Howto consume a web service from a java client application
Missing NSBundle Class in wojavaclient.jar, Howto consume a web service from a java client application
- Subject: Missing NSBundle Class in wojavaclient.jar, Howto consume a web service from a java client application
- From: Sergio Sánchez Maffet <email@hidden>
- Date: Mon, 7 Aug 2006 23:35:26 +0200
Hi,
I have encountered a problem and does not know a simple way to solve
the issue, although the solution is very clear.
I need to access a web service from a WO Java Client application,
from the client, not from the server. Therefore you will need to add
in addition to the wojavaclient.jar the
JavaWebServiceSupport.framework and the
JavaWebServiceClient.framework to the class path of the client
application. Unfortunately, there is no NSBundle class in the
wojavaclient.jars com.webobjects.foundation package. The NSBundle
class is needed by the JavaWebServiceSupport.framework.
One solution would be not to use the wojavaclient.jar and make class
path references to all needed packages, but then you will also need
the com.webobjects.eoapplication.client package which is only
available in the wojavaclient.jar! I dont know where to find it else?
Another solution would be to repack all the jars in a new jar
including com.webobjects.eoapplication.client and the
com.webobjects.foundation from the real framework (the one that
includes NSBundle, remember wojavaclient.jars
com.webobjects.foundation does not include NSBundle) and to slice out
the com.webobjects.eoapplication.client classes from the
wojavaclient.jar. That seems to be the last possibility. But it is
quit ugly solution, I guess that I will need to sign everything...
Does any one have a better solution? Have I missed something?
I would really appreciate any help,
--
Sergio
_______________________________________________
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