Re: [appfuse-user] Web services in Appfuse 2.0

2008-01-26 Thread Matt Raible
https://appfuse.dev.java.net/svn/appfuse/trunk/service/pom.xml Username: guest Password: As far as xfire-servlet.xml vs. cxf.xml - I imagine that's covered in the upgrade guide, but I'm not sure. Matt On 1/12/08, jackalista <[EMAIL PROTECTED]> wrote: > > OK, I was wondering which pom.xml neede

Re: [appfuse-user] Web services in Appfuse 2.0

2008-01-12 Thread jackalista
OK, I was wondering which pom.xml needed to change. I just add in anything that's not already there and check the versions of anything that is there, correct? The equivalent of xfire-servlet.xml is called (I think) cxf.xml but I'll try to validate that further. Will that upgrade page detail Spr

Re: [appfuse-user] Web services in Appfuse 2.0

2008-01-12 Thread Matt Raible
I think it's a matter of using the XFire Upgrade Guide on the CXF site and changing the dependencies in trunk/services/pom.xml. From there, it's a matter of figuring out the equivalent of xfire-servlet.xml and changing the web.xml's appropriately. Matt On 1/12/08, jackalista <[EMAIL PROTECTED]> w

Re: [appfuse-user] Web services in Appfuse 2.0

2008-01-12 Thread jackalista
OK, I posted to the thread that looked like the one you mentioned (of user jchartrand) and offered to help but in the mean time what are the main things that have to be done to integrate this? I'll take a look at CXF's site too which I've been doing anyway and start digging into it but if you can

Re: [appfuse-user] Web services in Appfuse 2.0

2008-01-11 Thread Matt Raible
I would suggest searching the archives (via nabble or markmail) for "CXF" to see how was interested in doing this migration. In reality, it should be pretty simple. I'd do it myself, but there's skiing to do this weekend. ;-) http://appfuse.org/display/APF/Mailing+Lists Matt On Jan 11, 20

Re: [appfuse-user] Web services in Appfuse 2.0

2008-01-11 Thread jackalista
Somehow extra elements got generated, I'm not sure how it happened but stuff like this "" was added to the context in addition to the tags that were already in there and which looked like your description. I don't think I put this in there but once it was removed everything worked. I now have ma

Re: [appfuse-user] Web services in Appfuse 2.0

2008-01-02 Thread Matt Raible
On 1/2/08, jackalista <[EMAIL PROTECTED]> wrote: > > I've been pushing this along in background but am having another problem with > this tutorial. I got the problem below fixed but then hit a problem > because of this tag in applicationContext.xml: > > > > Person service got a NoClassDefFoundErr

Re: [appfuse-user] Web services in Appfuse 2.0

2008-01-02 Thread jackalista
I've been pushing this along in background but am having another problem with this tutorial. I got the problem below fixed but then hit a problem because of this tag in applicationContext.xml: Person service got a NoClassDefFoundError. As there is no such PersonService class I tried setting

Re: [appfuse-user] Web services in Appfuse 2.0

2007-12-04 Thread jackalista
Ah, the light comes on, finally... ok, I get the idea, thanks Matt!! mraible wrote: > > > On Dec 4, 2007, at 9:13 PM, jackalista wrote: > >> >> >> >> mraible wrote: >>> >>> On Dec 4, 2007, at 8:57 PM, jackalista wrote: >>> So I need to run "mvn install"? From which directory? Pleas

Re: [appfuse-user] Web services in Appfuse 2.0

2007-12-04 Thread Matt Raible
On Dec 4, 2007, at 9:13 PM, jackalista wrote: mraible wrote: On Dec 4, 2007, at 8:57 PM, jackalista wrote: So I need to run "mvn install"? From which directory? Please note I'm using the modular struts2 archteype. --- You need to run it from "co

Re: [appfuse-user] Web services in Appfuse 2.0

2007-12-04 Thread jackalista
mraible wrote: > > On Dec 4, 2007, at 8:57 PM, jackalista wrote: > >> So I need to run "mvn install"? From which directory? Please note >> I'm using the modular struts2 archteype. > --- > You need to run it from "core" in order to install the core mo

Re: [appfuse-user] Web services in Appfuse 2.0

2007-12-04 Thread Matt Raible
On Dec 4, 2007, at 8:57 PM, jackalista wrote: Hi Mike, thanks. No, I have done *only* what the tutorial says and then the stuff in this thread as I haven't messed with this AppFuse "feature" previously and so I was carefully following the instructions. So I need to run "mvn install"? Fro

Re: [appfuse-user] Web services in Appfuse 2.0

2007-12-04 Thread jackalista
Hi Mike, thanks. No, I have done *only* what the tutorial says and then the stuff in this thread as I haven't messed with this AppFuse "feature" previously and so I was carefully following the instructions. So I need to run "mvn install"? From which directory? Please note I'm using the modular

Re: [appfuse-user] Web services in Appfuse 2.0

2007-12-03 Thread Michael Horwitz
After you make the changes in the core module, have you run mvn install either at the top level or in the core project? Mike On 12/3/07, jackalista <[EMAIL PROTECTED]> wrote: > > > OK, I must be doing something basically wrong with the modular archetype > or > something like that. I put all the

Re: [appfuse-user] Web services in Appfuse 2.0

2007-12-02 Thread jackalista
OK, I must be doing something basically wrong with the modular archetype or something like that. I put all the DAO and manager definitions that I developed using the tutorial as a guide in the applicationContext.xml file in core/src/main/resources. All the DAO and manager tests work fine with th

Re: [appfuse-user] Web services in Appfuse 2.0

2007-11-24 Thread sparqle
I found the problem. My web.xml was not configured correctly. I started a new appfuse 2.0 project from scratch, and I compared the web.xml to my web.xml, and was able to find the missing xfire servlet and filter definitions. It works now. Alejandro Castro wrote: > > Hey there, > > Base on the

Re: [appfuse-user] Web services in Appfuse 2.0

2007-11-20 Thread Alejandro Castro
could you post some code here just to see what you are doing ? On Nov 20, 2007 6:29 PM, sparqle <[EMAIL PROTECTED]> wrote: > > Hi, > > Thank you for your response, I have already created several managers, with > the @WebService annotation. I have also registered each one of them in the > applicat

Re: [appfuse-user] Web services in Appfuse 2.0

2007-11-20 Thread sparqle
Hi, Thank you for your response, I have already created several managers, with the @WebService annotation. I have also registered each one of them in the applicationContext.xml file. However, when I visit the http://localhost:8080/services page, I get the default appfuse "Page not found" page wit

Re: [appfuse-user] Web services in Appfuse 2.0

2007-11-20 Thread Alejandro Castro
Hey there, Base on the layout you provide, it seems you are using a basic prototype instead of the modular one. So what you need to do in order to use webservices is to follow the tutorial here http://appfuse.org/display/APF/Web+Services which is basically create a manager, use the annotations and

Re: [appfuse-user] Web services in Appfuse 2.0

2007-11-20 Thread sparqle
I have been using the spring version (initially created with candy4appfuse - I don't know whether it is modular or basic). So to use the webservices, I tried to follow your instructions here to install "core". I am not sure how to do it, as there is no folder called "core" within my application. T

Re: [appfuse-user] Web services in Appfuse 2.0

2007-11-18 Thread Alejandro Castro
Hey Tia, I got mine working, but I'm using a basic archetype, not the modular. Anyway I didn't need to override xfire-servlet.xml, I just configured my beans in the application-context.xml located on WEB-INF folder. So go ahead and copy this definition into that file and check if that works. [cod

Re: [appfuse-user] Web services in Appfuse 2.0

2007-11-16 Thread jackalista
I have them registered in the applicationContext.xml file in core/src/main/resources ('m using the struts 2 modular archtectype) like the PersonService here, but I'm still not getting it to work: [code] [/code] http://localhost:8080/services/PersonService?wsdl doesn't work while

Re: [appfuse-user] Web services in Appfuse 2.0

2007-11-12 Thread Alejandro Castro
You are right Matt. That did the trick. I was registering my Manager as a GenericManager in the Spring context. That was why it wasn't exposed buy xfire. Thaks for your help! Alejandro On Nov 9, 2007 11:22 PM, Matt Raible <[EMAIL PROTECTED]> wrote: > The key step is at the bottom of the followin

Re: [appfuse-user] Web services in Appfuse 2.0

2007-11-09 Thread Matt Raible
The key step is at the bottom of the following tutorial: http://xfire.codehaus.org/Spring+QuickStart+Guide You need to register your bean in your applicationContext.xml file. This works for UserService because it's already registered. Matt On Nov 8, 2007 3:39 PM, jackalista <[EMAIL PROTECTED]>

Re: [appfuse-user] Web services in Appfuse 2.0

2007-11-09 Thread Alejandro Castro
Sure I would. I still have no positive results on this but Iĺl keep trying to figure it out and let you know if I can get something working ... alejandro On Nov 8, 2007 5:16 PM, jackalista <[EMAIL PROTECTED]> wrote: > > The fact that you're getting that same page for all of the URLs below > seem

Re: [appfuse-user] Web services in Appfuse 2.0

2007-11-08 Thread jackalista
The fact that you're getting that same page for all of the URLs below seems to indicate that the pages requested aren't there (I could be wrong on this) as that's the impression I'm getting here. I can only get the UserService?wsdl and the listing page at http://localhost:8080/services/ and it do

Re: [appfuse-user] Web services in Appfuse 2.0

2007-11-08 Thread jackalista
mraible wrote: > > > This is generated by XFire's servlet - so there's no way to fix it > that I know of. I entered an issue for this a while back in XFire's > JIRA. > > http://jira.codehaus.org/browse/XFIRE-1089 > Ah, that's why I couldn't find it, I won't keep looking then... mraible wro

Re: [appfuse-user] Web services in Appfuse 2.0

2007-11-08 Thread Alejandro Castro
That's ok. I know you might be very busy :) I will keep trying to make it work here .. On Nov 8, 2007 3:38 PM, Matt Raible <[EMAIL PROTECTED]> wrote: > I'm sorry I don't have more time to look into this tonight. I'll try to > reproduce your issue later this evening. > Matt > > On Nov 8, 2007, at

Re: [appfuse-user] Web services in Appfuse 2.0

2007-11-08 Thread Matt Raible
I'm sorry I don't have more time to look into this tonight. I'll try to reproduce your issue later this evening. Matt On Nov 8, 2007, at 1:37 PM, Alejandro Castro wrote: Matt, I downloaded the tutorial-service, created the eclipse project and browse the code. I kinda think it's getting wo

Re: [appfuse-user] Web services in Appfuse 2.0

2007-11-08 Thread Alejandro Castro
Matt, I downloaded the tutorial-service, created the eclipse project and browse the code. I kinda think it's getting worse now. I notice there´s no xfire-servlet.xml file overwritten there (in the tutorial). Now I commented the gzip filter on web.xml and then execute mvn clean jetty:run-war and ht

Re: [appfuse-user] Web services in Appfuse 2.0

2007-11-08 Thread Matt Raible
On Nov 8, 2007 12:24 PM, jackalista <[EMAIL PROTECTED]> wrote: > > I got an error from a class not found while running mvn install, but I'm; not > sure this is related: > > [Mx] DEBUG [main] DefaultNamespaceHandlerResolver.initHandlerMappings(128) | > Ignoring namespace handler [org.acegisecuri > t

Re: [appfuse-user] Web services in Appfuse 2.0

2007-11-08 Thread jackalista
I got an error from a class not found while running mvn install, but I'm; not sure this is related: [Mx] DEBUG [main] DefaultNamespaceHandlerResolver.initHandlerMappings(128) | Ignoring namespace handler [org.acegisecuri ty.config.SecurityNamespaceHandler]: handler class not found java.lang.Class

Re: [appfuse-user] Web services in Appfuse 2.0

2007-11-08 Thread Matt Raible
You might want to checkout the example from Subversion and see how it differs from yours. svn checkout http://appfuse-demos.googlecode.com/svn/trunk/tutorial-service Matt On Nov 8, 2007 8:52 AM, Alejandro Castro <[EMAIL PROTECTED]> wrote: > Matt, > > I already copied xfire-servlet.xml file into

Re: [appfuse-user] Web services in Appfuse 2.0

2007-11-08 Thread Alejandro Castro
Matt, I already copied xfire-servlet.xml file into my WEB-INF directory and removed the *default-lazy-unit="true"* from the beans tag at the top. No is that all I have to do in order to override the file? then I ran *mvn clean jetty:run-war* but still get the same result.. only UserService is dis

Re: [appfuse-user] Web services in Appfuse 2.0

2007-11-08 Thread Matt Raible
You need to override the xfire-servlet.xml in your project and remove default-lazy-unit="true" from the top of the file. Matt On 11/8/07, Alejandro Castro <[EMAIL PROTECTED]> wrote: > I have exactly the same problem on a basic-spring-mvc project. > I am able to see on http://localhost:8080/servi

Re: [appfuse-user] Web services in Appfuse 2.0

2007-11-08 Thread Alejandro Castro
I have exactly the same problem on a basic-spring-mvc project. I am able to see on http://localhost:8080/services the UserService after commenting out the gzip filter in web.xml (I see the double slash problem too) but none of my exported web services are listed in that page. Any sugestions on how

Re: [appfuse-user] Web services in Appfuse 2.0

2007-11-07 Thread Matt Raible
cd core;mvn install On Nov 7, 2007, at 10:33 PM, jackalista wrote: It's the Struts 2 modular type, perhaps that's the problem. What do you do to install the core module? Thanks! mraible wrote: Are you using a basic or modular archetype? If its modular, you might want to make sure you

Re: [appfuse-user] Web services in Appfuse 2.0

2007-11-07 Thread jackalista
It's the Struts 2 modular type, perhaps that's the problem. What do you do to install the core module? Thanks! mraible wrote: > > Are you using a basic or modular archetype? If its modular, you might > want to make sure you've "installed" the core module. > > Matt > > On Nov 7, 2007 6:01 P

Re: [appfuse-user] Web services in Appfuse 2.0

2007-11-07 Thread Matt Raible
Are you using a basic or modular archetype? If its modular, you might want to make sure you've "installed" the core module. Matt On Nov 7, 2007 6:01 PM, jackalista <[EMAIL PROTECTED]> wrote: > > Hi, > > I am seeing these problems as well and also started with the M5 version of > AF 2.0. When I c

Re: [appfuse-user] Web services in Appfuse 2.0

2007-11-07 Thread jackalista
Hi, I am seeing these problems as well and also started with the M5 version of AF 2.0. When I commented out the gzip filter I get the page at http://localhost:8080/services/ but it only lists the UserService and has the problem with the double slash in the URL. Where is the file in which the UR

Re: [appfuse-user] Web services in Appfuse 2.0

2007-09-19 Thread Aakhunaten
The bad URLs with the double slashes issue exists in my project based on Appfuse 2.0M5 also, but clicking the WSDL links do not throw a 'page not found' error. But this error is not a show stopper, since removing the slash from the URL give you the WSDL file. Thanks -- Aakhunaten mraible wrote

Re: [appfuse-user] Web services in Appfuse 2.0

2007-09-19 Thread Matt Raible
This is a known issue - the XFire index page creates bad URLs with two slashes in them. Matt On 9/19/07, Aakhunaten <[EMAIL PROTECTED]> wrote: > > Ok my excitement was short lived :-(. Now the web services are listed, but > when I click on the link to the wsdl, i get a 'Page not found'. > > Than

Re: [appfuse-user] Web services in Appfuse 2.0

2007-09-19 Thread Aakhunaten
Ok my excitement was short lived :-(. Now the web services are listed, but when I click on the link to the wsdl, i get a 'Page not found'. Thanks, --Aakhunaten Aakhunaten wrote: > > Woohooo! That works! I am so relieved. > > Thanks a lot, Matt. > > I will enter this in JIRA. > > -- Aa

Re: [appfuse-user] Web services in Appfuse 2.0

2007-09-19 Thread Aakhunaten
Woohooo! That works! I am so relieved. Thanks a lot, Matt. I will enter this in JIRA. -- Aakhunaten mraible wrote: > > Removing the following from xfire-servlet.xml fixes the problem: > >default-lazy-init="true" > > Can you enter this as an issue in JIRA? > > http://issues.

Re: [appfuse-user] Web services in Appfuse 2.0

2007-09-19 Thread Matt Raible
Removing the following from xfire-servlet.xml fixes the problem: default-lazy-init="true" Can you enter this as an issue in JIRA? http://issues.appfuse.org/browse/APF Thanks, Matt On 9/19/07, Matt Raible <[EMAIL PROTECTED]> wrote: > I'll see if I can reproduce this problem. > > On 9/19

Re: [appfuse-user] Web services in Appfuse 2.0

2007-09-19 Thread Aakhunaten
Hmm All the classes that I wanted exposed as webservices have the @WebService annotation. But none of them show up. What I did was I just created a new project like so mvn archetype:create -DarchetypeGroupId=org.appfuse.archetypes -DarchetypeArtifactId=appfuse-basic-struts -DremoteRepositor

Re: [appfuse-user] Web services in Appfuse 2.0

2007-09-19 Thread Matt Raible
I'll see if I can reproduce this problem. On 9/19/07, Aakhunaten <[EMAIL PROTECTED]> wrote: > > Hmm > > All the classes that I wanted exposed as webservices have the @WebService > annotation. But none of them show up. > > What I did was I just created a new project like so > mvn archetype:crea

Re: [appfuse-user] Web services in Appfuse 2.0

2007-09-19 Thread Matt Raible
AppFuse doesn't have a applicationContext-webservice.xml so I'm confused as to what you're talking about. AppFuse's Web Services are exposed by xfire-servlet.xml. Matt On 9/19/07, Aakhunaten <[EMAIL PROTECTED]> wrote: > > I commented out the GZipFilter in web.xml like you said, and now I do see t

Re: [appfuse-user] Web services in Appfuse 2.0

2007-09-19 Thread Matt Raible
On 9/19/07, Aakhunaten <[EMAIL PROTECTED]> wrote: > > The projects I created and maintain were created with appfuse-2.0M5. And all > these projects have a applicationContext-webservices.xml in the WEB-INF > directory. You must have created this file then - we've never shipped a file with this name

Re: [appfuse-user] Web services in Appfuse 2.0

2007-09-19 Thread Aakhunaten
The projects I created and maintain were created with appfuse-2.0M5. And all these projects have a applicationContext-webservices.xml in the WEB-INF directory. In any case, if i dont have this file, I get the page generated by XFire but it does not have the webservices that Appfuse provides by d

Re: [appfuse-user] Web services in Appfuse 2.0

2007-09-19 Thread Aakhunaten
I commented out the GZipFilter in web.xml like you said, and now I do see the page. BUT, I do not see any webservices UNLESS i have a WEB-INF/applicationContext-webservice.xml. I did not have to add an entry in this file with M5, just using annotations exposed the manager as webservices. Is this

Re: [appfuse-user] Web services in Appfuse 2.0

2007-09-19 Thread Aakhunaten
OH! duh! ... I will try that ... Thanks a bunch. btw, i know you have heard this before, YOU THE MAN! Great work! -- Aakhunaten mraible wrote: > > It still works out-of-the-box, you just can't see the index page. If > you're keen on seeing this page, comment out the GZipFilter mapping in > y

Re: [appfuse-user] Web services in Appfuse 2.0

2007-09-19 Thread Matt Raible
It still works out-of-the-box, you just can't see the index page. If you're keen on seeing this page, comment out the GZipFilter mapping in your web.xml. http://issues.appfuse.org/browse/APF-863 Your WSDL should still be available. Matt On 9/19/07, Aakhunaten <[EMAIL PROTECTED]> wrote: > > Hi,

[appfuse-user] Web services in Appfuse 2.0

2007-09-19 Thread Aakhunaten
Hi, I have been using Appfuse since M5. I have developed my entire project with M5. Now that 2.0 is out, I thought I would go ahead and upgrade the project. To begin with, I tried to create a basic struts based appfuse project. I tried to access http://localhost:8080/services and all i get is a w