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] <bean id="personManager" class="org.foo.mx.service.impl.PersonManagerImpl"> <constructor-arg ref="personDao"/> </bean> [/code] http://localhost:8080/services/PersonService?wsdl doesn't work while of course the UserService does. I didn't "expand" my appfuse project, is that required? My core is still in jarred up form or whatever it's in initially. If I want to browse that stuff, can you tell me where to look? I didn't see much in the MyProj-core.1.0-SNAPSHOT.jar. There's another applicationContext.xml file at web/src/main/webapp/WEB-INF, does it need to be in there too? (I'm still figuring out the details of the modular archetype). Another thing I might have done wrong was to take one of the generated xfire-servlet.xml files from the target directories and put it in web/src/main/webapp/WEB-INF also. From looking at that XFire Tutorial it looks like the right constructs are in the file but may be the file is in the wrong place? Tia mraible wrote: > > 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]> wrote: >> >> >> 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 wrote: >> > >> >> I have also done the default-lazy-unit="true" modification, but it >> >> doesn't >> >> look like anything is happening with the annotations I placed in my >> >> service >> >> layer. How can I tell if the wsdl is actually getting generated? I'm >> >> only >> >> seeing the "canned" UserService now. >> > >> > You can see if the WSDL is generated by going to >> > /services/ServiceName?wsdl >> > >> > Matt >> > >> >> You mean with a browser, right? I now get a wsdl for the UserService if >> I >> type the correct URL into the browser >> (http://localhost:8080/services/UserService?wsdl, the link still has that >> same problem), but doing so doesn't work for any of my services. Is the >> wsdl generated at request time or is it written to a file somewhere or >> what? >> What process generates the wsdls? I'm pretty sure mine aren't getting >> generated somehow. >> >> On the other exception, no, I'm not running under a security manager, I >> don't think, I'm just using the embedded Jetty server and running mvn >> jetty:run-war to access the app. I don't even have tomcat installed on >> this >> box as I wasn't clear about whether the Jetty thing is intended as a >> complete replacement for tomcat or if folks were generally using them >> both, >> perhaps for different things, what are you doing? Do you have tomcat >> installed as well and if so is there another mvn command to deply to >> tomcat? >> >> Thanks Matt, >> >> Jack >> -- >> >> View this message in context: >> http://www.nabble.com/Web-services-in-Appfuse-2.0-tf4481079s2369.html#a13657560 >> 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#a13805975 Sent from the AppFuse - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]