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'. > > Thanks, > --Aakhunaten > > > Aakhunaten wrote: > > > > Woohooo! That works! I am sooooo 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.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/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:create -DarchetypeGroupId=org.appfuse.archetypes > >>> > -DarchetypeArtifactId=appfuse-basic-struts > >>> > -DremoteRepositories=http://static.appfuse.org/releases > >>> > -DarchetypeVersion=2.0 -DgroupId=com.mycompany.app > >>> -DartifactId=myproject > >>> > > >>> > I commented out GZipFilter in web.xml and then I ran mvn > >>> jetty:run-war. I > >>> > get the XFire page but no web services are listed. I thought the base > >>> app > >>> > came with UserService... I dont even see that! Initially i thought my > >>> .m2 > >>> > repo was corrupt and recreated the app many times.... its still the > >>> same. At > >>> > this point I am pretty much at a loss as to what to do! > >>> > > >>> > Thanks, > >>> > --Aakhunaten > >>> > > >>> > > >>> > > >>> > > >>> > > >>> > > >>> > mraible wrote: > >>> > > > >>> > > 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 in 2.x. > >>> > > > >>> > >> > >>> > >> 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 default > >>> (User > >>> > >> and > >>> > >> Echo services). Again, none of my services are being exposed too. > >>> Does it > >>> > >> mean I have to add entries to xfire-servlet.xml? > >>> > > > >>> > > xfire-servlet.xml should expose all files annotated with > >>> @WebService. > >>> > > You might want to make sure your web.xml and xfire-servlet.xml match > >>> > > the latest in 2.0. > >>> > > > >>> > > Matt > >>> > > > >>> > >> > >>> > >> > >>> > >> mraible wrote: > >>> > >> > > >>> > >> > 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 > >>> > >> >> 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 the way it should be? Do we now require the > >>> > >> >> applicationContext-webservice.xml? > >>> > >> >> > >>> > >> >> Thanks. > >>> > >> >> > >>> > >> >> > >>> > >> >> > >>> > >> >> > >>> > >> >> Aakhunaten wrote: > >>> > >> >> > > >>> > >> >> > 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 > >>> > >> >> >> 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, > >>> > >> >> >>> > >>> > >> >> >>> 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 > >>> > >> >> white > >>> > >> >> >>> page. When I checked the WEB-INF directory even with > >>> war:in-place, > >>> > >> i > >>> > >> >> do > >>> > >> >> >>> not > >>> > >> >> >>> find applicationContext-webservices.xml! Is there something > >>> I am > >>> > >> >> missing > >>> > >> >> >>> here? It used to work out of the box and i could see the > >>> services > >>> > >> >> page > >>> > >> >> >>> with > >>> > >> >> >>> UserWebService listed. > >>> > >> >> >>> > >>> > >> >> >>> Can someone please help me with this? > >>> > >> >> >>> > >>> > >> >> >>> Thanks, > >>> > >> >> >>> --Aakhunaten > >>> > >> >> >>> -- > >>> > >> >> >>> View this message in context: > >>> > >> >> >>> > >>> > >> >> > >>> > >> > >>> > http://www.nabble.com/Web-services-in-Appfuse-2.0-tf4481079s2369.html#a12777689 > >>> > >> >> >>> Sent from the AppFuse - User mailing list archive at > >>> Nabble.com. > >>> > >> >> >>> > >>> > >> >> >>> > >>> > >> > >>> --------------------------------------------------------------------- > >>> > >> >> >>> To unsubscribe, e-mail: > >>> [EMAIL PROTECTED] > >>> > >> >> >>> For additional commands, e-mail: > >>> [EMAIL PROTECTED] > >>> > >> >> >>> > >>> > >> >> >>> > >>> > >> >> >> > >>> > >> >> >> > >>> > >> >> >> -- > >>> > >> >> >> http://raibledesigns.com > >>> > >> >> >> > >>> > >> >> >> > >>> > >> > >>> --------------------------------------------------------------------- > >>> > >> >> >> To unsubscribe, e-mail: > >>> [EMAIL PROTECTED] > >>> > >> >> >> For additional commands, e-mail: > >>> [EMAIL PROTECTED] > >>> > >> >> >> > >>> > >> >> >> > >>> > >> >> >> > >>> > >> >> > > >>> > >> >> > > >>> > >> >> > >>> > >> >> -- > >>> > >> >> View this message in context: > >>> > >> >> > >>> > >> > >>> > http://www.nabble.com/Web-services-in-Appfuse-2.0-tf4481079s2369.html#a12785779 > >>> > >> >> Sent from the AppFuse - User mailing list archive at Nabble.com. > >>> > >> >> > >>> > >> >> > >>> --------------------------------------------------------------------- > >>> > >> >> To unsubscribe, e-mail: [EMAIL PROTECTED] > >>> > >> >> For additional commands, e-mail: [EMAIL PROTECTED] > >>> > >> >> > >>> > >> >> > >>> > >> > > >>> > >> > > >>> > >> > -- > >>> > >> > http://raibledesigns.com > >>> > >> > > >>> > >> > > >>> --------------------------------------------------------------------- > >>> > >> > To unsubscribe, e-mail: [EMAIL PROTECTED] > >>> > >> > For additional commands, e-mail: [EMAIL PROTECTED] > >>> > >> > > >>> > >> > > >>> > >> > > >>> > >> > >>> > >> -- > >>> > >> View this message in context: > >>> > >> > >>> > http://www.nabble.com/Web-services-in-Appfuse-2.0-tf4481079s2369.html#a12786162 > >>> > >> Sent from the AppFuse - User mailing list archive at Nabble.com. > >>> > >> > >>> > >> > >>> --------------------------------------------------------------------- > >>> > >> To unsubscribe, e-mail: [EMAIL PROTECTED] > >>> > >> For additional commands, e-mail: [EMAIL PROTECTED] > >>> > >> > >>> > >> > >>> > > > >>> > > > >>> > > -- > >>> > > http://raibledesigns.com > >>> > > > >>> > > > >>> --------------------------------------------------------------------- > >>> > > To unsubscribe, e-mail: [EMAIL PROTECTED] > >>> > > For additional commands, e-mail: [EMAIL PROTECTED] > >>> > > > >>> > > > >>> > > > >>> > > >>> > -- > >>> > View this message in context: > >>> > http://www.nabble.com/Web-services-in-Appfuse-2.0-tf4481079s2369.html#a12786664 > >>> > Sent from the AppFuse - User mailing list archive at Nabble.com. > >>> > > >>> > --------------------------------------------------------------------- > >>> > To unsubscribe, e-mail: [EMAIL PROTECTED] > >>> > For additional commands, e-mail: [EMAIL PROTECTED] > >>> > > >>> > > >>> > >>> > >>> -- > >>> http://raibledesigns.com > >>> > >> > >> > >> -- > >> http://raibledesigns.com > >> > >> --------------------------------------------------------------------- > >> To unsubscribe, e-mail: [EMAIL PROTECTED] > >> For additional commands, e-mail: [EMAIL PROTECTED] > >> > >> > >> > > > > > > -- > View this message in context: > http://www.nabble.com/Web-services-in-Appfuse-2.0-tf4481079s2369.html#a12787436 > Sent from the AppFuse - User mailing list archive at Nabble.com. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- http://raibledesigns.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]