- This topic has 6 replies, 3 voices, and was last updated 17 years, 10 months ago by
gcstang.
-
AuthorPosts
-
August 1, 2007 at 3:23 pm #273415
gcstangMemberI’ve created a set of XFire services and they work with a simple Client I created, however if I put them into an Eclipse RCP Plugin then I get this error:
Caused by: org.codehaus.xfire.XFireRuntimeException: Could not invoke service.. Nested exception is org.codehaus.xfire.fault.XFireFault: Could not unmarshall type : “com.eonegroup.services.vo” doesnt contain ObjectFactory.class or jaxb.index
I generated the client and it does include the ObjectFactory.class files, is there something else that needs to be done or can XFire not be used in a Plugin for Eclipse?
August 2, 2007 at 10:49 am #273444
Loyal WaterMemberAre you using Eclipse or MyEclipse?
August 2, 2007 at 4:23 pm #273461
gcstangMember@support-nipun wrote:
Are you using Eclipse or MyEclipse?
I used Eclipse/MyEclipse to create the Services in a Services Project, now I want to use the generated client in an Eclipse RCP application.
August 6, 2007 at 11:26 am #273558
Riyad KallaMembergcstang,
Have you made sure to adjust your plugins build path to include all the XFire libs? Including the JAXB2 ones?August 6, 2007 at 12:10 pm #273565
gcstangMember@support-rkalla wrote:
gcstang,
Have you made sure to adjust your plugins build path to include all the XFire libs? Including the JAXB2 ones?Yes I created a new Plugin just for XFire and added all the libs I used in a test application to connect to the service from, it worked in the standalone java application just not from the plugin that is part of the RCP application. I added all jars in the CLASSPATH section and selected all packages for sharing in the plugin Exported Packages, all in the Runtime page of the MANIFEST.MF editors.
August 6, 2007 at 1:03 pm #273581
Riyad KallaMemberHmm I’m not really sure what is wrong. Our XFire tooling hasn’t been tested or intended for plugin development, but tweaking the classpath enough of your RCP app I don’t know why you shouldn’t be able to get it to work…
August 6, 2007 at 2:01 pm #273587
gcstangMember@support-rkalla wrote:
Hmm I’m not really sure what is wrong. Our XFire tooling hasn’t been tested or intended for plugin development, but tweaking the classpath enough of your RCP app I don’t know why you shouldn’t be able to get it to work…
I got Axis 1.x to work but no luck on XFire
-
AuthorPosts