Re: [appfuse-user] CXF and AppFuse 2.0.1

2009-09-29 Thread jackalista
Matt, I've got the basics working, there are tweaks and adjustments needed before it's ready for prime time, IMHO, but I need to get some traction getting mule set up here so I'm going to move on to that but will continue to adjust and otherwise improve/optimize the CXF installation. I'd be happ

Re: [appfuse-user] CXF and AppFuse 2.0.1

2009-09-28 Thread jackalista
I just found Nils later post on the restful services stuff here: http://blog.srvme.de/2009/01/22/rest-soap-for-cxfapache-appfuse/ I followed the config adding the dependencies to the top level pom.xml and was able to remove the endpoint registration from web/applicationContext.xml and locate it

Re: [appfuse-user] CXF and AppFuse 2.0.1

2009-09-28 Thread jackalista
OK, newsflash -- you don't need the cxf-servlet.xml at all, apparently. You can remove the entry from web.xml and remove the cxf-servlet.xml file from web/src/main/webapp/WEB-INF and all appears the same. I'm going to dig through the CXF docs a bit more... I want a better explanation of these co

Re: [appfuse-user] CXF and AppFuse 2.0.1

2009-09-28 Thread jackalista
OK, I got this working but it's not working exactly as I had expected. I took a cue from the java_first_spring_support sample from CXF and took the decl and moved it from cxf-servlet.xml, where it was causing the container to register it twice for some reason, to applicationContext.xml. First I

Re: [appfuse-user] CXF and AppFuse 2.0.1

2009-09-28 Thread jackalista
The web app loads now with no errors but is also publishing no services... instead of trying to pub the service twice like last time... garr!! There's got to be a more complete discussion of these @#$%&*#$ config files somewhere... last time with the endpoint declared in the cxf-servlet.xml it co

Re: [appfuse-user] CXF and AppFuse 2.0.1

2009-09-28 Thread jackalista
OK, I got rid of my pilfered cxf.xml, and moved the imports from cxf-servlet.xml to applicationContext.xml otherwise leaving cxf-servlet.xml as is. I also added a dependency to the top level pom for cxf-core (for an appfuse modular archetype) and that appears to have done away with the "download

Re: [appfuse-user] CXF and AppFuse 2.0.1

2009-09-28 Thread jackalista
OK, clue forming... my cxf-servlet.xml looks *just like* the beans.xml from this link: http://cwiki.apache.org/CXF20DOC/writing-a-service-with-spring.html I looked through all the instances of cxf-servlet.xml in the samples from the cxf 2.2.3 dist and none of them have these in them: I'm be

Re: [appfuse-user] CXF and AppFuse 2.0.1

2009-09-27 Thread jackalista
One further detail is that I found cxf-rt-bindings-soap-2.2.3.jar, the jar that contains cxf-extension-soap.xml (see 9th line of output below) in the output piped to a file via mvn dependencies:tree, so why doesn't it get found at runtime? That jar is also in the war it looks like as well. Here'

Re: [appfuse-user] CXF and AppFuse 2.0.1

2009-09-27 Thread jackalista
here's the error: Offending resource: ServletContext resource [/WEB-INF/cxf-servlet.xml]; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: IOException parsing XML document from class path resource [cxf/cxf-extension-soap.xml]; nested exception is java.io.FileNot

Re: [appfuse-user] CXF and AppFuse 2.0.1

2009-09-27 Thread jackalista
I mus be doing something dumb, it all looks just like the docs. The import statements you reference are in cxf-servlet.xml (which itself is in web/src/main/webapp/WEB-INF), like this: and my conxtConfigLocation from web.xml looks like: contextConfigLocat

Re: [appfuse-user] CXF and AppFuse 2.0.1

2009-09-27 Thread jackalista
OK, the web container is complaing there's no "caf/cxf-extension-soap.xml", I tracked this file "cxf-extension-soap.xml" to a jar called cxf-rt-bindings-soap-2.2.3.jar which I guess isn't getting loaded and needs to? I'm kind of surprised that the jaxws rt dependency here didn't include it:

Re: [appfuse-user] CXF and AppFuse 2.0.1

2009-09-27 Thread Matt Raible
You should be able to import CXF files from the classpath: >From http://cwiki.apache.org/CXF20DOC/writing-a-service-with-spring.html. Matt On Sun, Sep 27, 2009 at 1:21 PM, jackalista wrote: > > Got this a little further, you apparently must have the cxf.xml file.  I

Re: [appfuse-user] CXF and AppFuse 2.0.1

2009-09-27 Thread jackalista
Got this a little further, you apparently must have the cxf.xml file. I tried putting it in top-level-project-home/web/src/main/webapp/WEB-INF/cxf and in web.xml but it couldn't find it so moved it to web/src/main/resources/cxf and used this web.xml config and it seems to work: contextC

Re: [appfuse-user] CXF and AppFuse 2.0.1

2009-09-26 Thread jackalista
I got this a bit farther. I looked the cxf.xml files available in the latest archive for CXF (2.2.3), and found a wsdl first xmlbeans example that seemed at least plausibly usable and set it up for one of the services I'm exposing. Where do I want to put this so it gets picked up properly? Does

Re: [appfuse-user] CXF and AppFuse 2.0.1

2009-09-26 Thread jackalista
OK, I was able to build and successfully run all my dao and mgr tests and did an mvn install into web as well and that went smoothly but when I went into the web directory to do the run war target and pop up jetty and run the app it hit what looks like the other comments I saw about the cxf.xml mi

Re: [appfuse-user] CXF and AppFuse 2.0.1

2009-09-26 Thread jackalista
ok got the build problem with asm and cglib resloved with this mod done to the core/pom.xml (again, this is a struts2 modular project)., I added the exclusions to the appfuse-${dao.framework} dependency just after where you have to make the pom.xml mod from the tutorials for using appfuse core mod

Re: [appfuse-user] CXF and AppFuse 2.0.1

2009-09-26 Thread Matt Raible
On Sat, Sep 26, 2009 at 3:27 PM, jackalista wrote: > > I piped "mvn dependency:tree" to a file and found this refer under hibernate > that appears to be 1.x: > > [INFO] +- org.appfuse:appfuse-hibernate:jar:2.0.2:compile > [INFO] |  +- org.hibernate:hibernate:jar:3.2.6.ga:compile > [INFO] |  |  +-

Re: [appfuse-user] CXF and AppFuse 2.0.1

2009-09-26 Thread jackalista
I piped "mvn dependency:tree" to a file and found this refer under hibernate that appears to be 1.x: [INFO] +- org.appfuse:appfuse-hibernate:jar:2.0.2:compile [INFO] | +- org.hibernate:hibernate:jar:3.2.6.ga:compile [INFO] | | +- javax.transaction:jta:jar:1.0.1B:compile [INFO] | | +- asm:asm

Re: [appfuse-user] CXF and AppFuse 2.0.1

2009-09-26 Thread jackalista
I added the spring-web dependency back into the modular top level pom.xml in the main dependencies list at the very end but I am still getting these compile errors for asm and cglib so I think I hosed the exclusions and / or depedencies for those. Here's the errors I'm getting when compiling (abb

Re: [appfuse-user] CXF and AppFuse 2.0.1

2009-09-26 Thread Matt Raible
You should be able to simply upgrade ASM, not really remove it. Here's what the CXF migration guide[1] says: The JAX-WS frontend now "requires" asm 2.x or 3.x to be able to process some of the JAXB annotations on the SEI interface. If you don't use those annotations on the SEI, or if you have gene

Re: [appfuse-user] CXF and AppFuse 2.0.1

2009-09-26 Thread -=j=-
Ah, thanks, I'll put that back in. Also, I'm getting compile errors relating to asm and cglib, so I suspect that the exclusions or dependencies are in the wrong place. Are they in the right place? -=j=- On Sat, 2009-09-26 at 14:50 -0600, Matt Raible wrote: > You still need spring-web upgrade

Re: [appfuse-user] CXF and AppFuse 2.0.1

2009-09-26 Thread Matt Raible
You still need spring-web upgraded if you're using Struts 2. You should be able to use "mvn dependency:tree" to see if your dependencies look right. On Sat, Sep 26, 2009 at 2:46 PM, jackalista wrote: > > Hi Nils, > > I'm tryingto follow along these directions and am having trouble > understanding

Re: [appfuse-user] CXF and AppFuse 2.0.1

2009-09-26 Thread jackalista
Hi Nils, I'm tryingto follow along these directions and am having trouble understanding part of your guide. I'm using appfuse 2.0.2 with the modular struts2 archetype, in case it matters. I'm getting errors from both asm and cglib so I'm better I didn't put the & stuff in the right place.

Re: [appfuse-user] CXF and AppFuse 2.0.1

2009-09-25 Thread jackalista
Well, I just realized I haven't seen that guide by Nils, so I'll check that out and read about those issues. I'll take a crack at it after that and if I'm lucky maybe get it done. Or maybe I'll get some of it and can show it to you later. I can take a look at this over the weekend, it's 4PM Fri

Re: [appfuse-user] CXF and AppFuse 2.0.1

2009-09-25 Thread Matt Raible
Yes, we should upgrade AppFuse to CXF on trunk. Unfortunately, I'm traveling the next couple weeks and doubt I'll be able to knock it out. On Fri, Sep 25, 2009 at 4:09 PM, jackalista wrote: > > If this is necessary (or advisable) then I may be able to knock it out, but I > will probably need some

Re: [appfuse-user] CXF and AppFuse 2.0.1

2009-09-25 Thread jackalista
If this is necessary (or advisable) then I may be able to knock it out, but I will probably need some of said assistance to get me pointed in the right direction. My goal is to integrate mule to create an appfuse-with-mule starter app, essentially but I don't have a huge amount of time to do it s

Re: [appfuse-user] CXF and AppFuse 2.0.1

2009-01-25 Thread agathon
there is still an error while listing the services: http://issues.apache.org/jira/browse/CXF-1695 http://snackycracky.wordpress.com/2009/01/22/rest-soap-for-cxfapache-appfuse/ -- View this message in context: http://www.nabble.com/CXF-and-AppFuse-2.0.1-tp14282383s2369p21650523.html Sent from

Re: [appfuse-user] CXF and AppFuse 2.0.1

2009-01-07 Thread agathon
hey matt, its not finished jet, i will work on it later again, i tried to implement REST like this: pom.xml: org.apache.cxf cxf-rt-frontend-jaxrs 2.1.2NOTICE THE PREVIOUS VERSION org.apache.cxf c

Re: [appfuse-user] CXF and AppFuse 2.0.1

2009-01-06 Thread Matt Raible
I've entered an issue for this in JIRA: http://issues.appfuse.org/browse/APF-1125 Matt On Tue, Jan 6, 2009 at 8:14 AM, Matt Raible wrote: > Thanks Nils - this is great stuff! > > One question: with XFire, we didn't need a for each > bean we wanted to expose. Is that required with CXF? Also, di

Re: [appfuse-user] CXF and AppFuse 2.0.1

2009-01-06 Thread Matt Raible
Thanks Nils - this is great stuff! One question: with XFire, we didn't need a for each bean we wanted to expose. Is that required with CXF? Also, did you attempt to support REST in addition to SOAP? Thanks, Matt On Tue, Jan 6, 2009 at 7:32 AM, agathon wrote: > > i mad a litte guide for migrat

Re: [appfuse-user] CXF and AppFuse 2.0.1

2009-01-06 Thread agathon
i mad a litte guide for migrating appfuse from xfire to cxf : http://snackycracky.wordpress.com/2009/01/06/migrate-appfuse-from-xfire-to-cxf/ -- View this message in context: http://www.nabble.com/CXF-and-AppFuse-2.0.1-tp14282383s2369p21311470.html Sent from the AppFuse - User mailing list arch

Re: [appfuse-user] CXF and AppFuse 2.0.1

2008-02-21 Thread jackalista
Hi Marcello, Have you tried the solution spec'ed at the end of that page? What is the result if so? Sorry to respond so late, I'm unfortunately not able to spend a lot of time on this and have been spending what time I have looking at CXF. jack Marcello Teodori wrote: > > I was also interes

Re: [appfuse-user] CXF and AppFuse 2.0.1

2008-01-30 Thread Marcello Teodori
I was also interested in this but I guess we'll have to wait until an official release includes the endpoint autodiscovery feature from JSR181 annotations ported from XFire: https://issues.apache.org/jira/browse/CXF-1355 Marcello jackalista wrote: > > I'd be willing to help with this effort,

Re: [appfuse-user] CXF and AppFuse 2.0.1

2008-01-12 Thread jackalista
I'd be willing to help with this effort, not sure if this thread is still alive but if so, ping me and I'd be glad to assist! -=j=- mraible wrote: > > If you'd like to try upgrading AppFuse from XFire to CXF, I'd be happy > to provide assistance. > > Matt > > On 12/12/07, jchartrand <[EMAIL

Re: [appfuse-user] CXF and AppFuse 2.0.1

2007-12-12 Thread Matt Raible
If you'd like to try upgrading AppFuse from XFire to CXF, I'd be happy to provide assistance. Matt On 12/12/07, jchartrand <[EMAIL PROTECTED]> wrote: > > Sorry, I should have provided more information: > > I'd like to integrate CXF so that I can provide RESTful services, as > described here: > >

Re: [appfuse-user] CXF and AppFuse 2.0.1

2007-12-12 Thread jchartrand
Sorry, I should have provided more information: I'd like to integrate CXF so that I can provide RESTful services, as described here: http://cwiki.apache.org/CXF20DOC/restful-services.html If AppFuse 2.0.1 already provides RESTful support as-is, all the better, but I don't think it does? I re

Re: [appfuse-user] CXF and AppFuse 2.0.1

2007-12-11 Thread Matt Raible
XFire is already integrated: http://appfuse.org/display/APF/Web+Services More information about CXF is on the above page. Matt On Dec 11, 2007, at 12:36 PM, James Chartrand wrote: I'd like to use CXF with AppFuse 2.0.1. Could anyone suggest a starting point for integrating CXF, or warn me

[appfuse-user] CXF and AppFuse 2.0.1

2007-12-11 Thread James Chartrand
I'd like to use CXF with AppFuse 2.0.1. Could anyone suggest a starting point for integrating CXF, or warn me of any potential pitfalls? Thank you, james - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands