Re: [appfuse-user] AMP gen target help for classes with relationships

2007-11-08 Thread Matt Raible
On Nov 8, 2007 10:25 PM, nvin <[EMAIL PROTECTED]> wrote: > > Hi All, > Does Appfuse generate CRUDL classes for Java objects containing > relationships automatically? No, it does not. Matt > > I am trying to use the AMP targets (appfuse:gen-model and appfuse:gen) to > generate the CRUD pages of

[appfuse-user] AMP gen target help for classes with relationships

2007-11-08 Thread nvin
Hi All, Does Appfuse generate CRUDL classes for Java objects containing relationships automatically? I am trying to use the AMP targets (appfuse:gen-model and appfuse:gen) to generate the CRUD pages of a simple application currently with two tables with a many-one relationship. 1. Table Alertrul

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] Attachments in XFire

2007-11-08 Thread George.Francis
Thanks for the info. Yes I'm using 2.0 - i _think_ I should add this property to the bean whose class is org.codehaus.xfire.spring.remoting.XFireExporter in xfire-servlet.xml - can anyone else confirm this? DNewfield wrote: > > George.Francis wrote: >> >> true >> >> >> Can someone tell

Re: [appfuse-user] Attachments in XFire

2007-11-08 Thread Dale Newfield
George.Francis wrote: true Can someone tell me where to set this? If you're using appfuse 2.0 I don't know the answer. In 1.9.x it's in applicationContext-webservice.xml Also, is there an example of the code for sending an attachment? Don't forget to set your client to use it, to

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

[appfuse-user] Attachments in XFire

2007-11-08 Thread George.Francis
Hi, Im trying to enable attachments in my webservice, I gather I need to enable mtom by setting the property true Can someone tell me where to set this? Also, is there an example of the code for sending an attachment? -- View this message in context: http://www.nabble.com/Attachments-in-

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

[appfuse-user] AppFuse2 + Struts2 -

2007-11-08 Thread Rob Hills
Hi All, Sorry, this one's really a struts problem, but hopefully someone here can answer it quickly. I have an tag that works outside a tag, but not inside. I'm trying to iterate over a collection that is one of the attributes of the list my

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] problem exporting web service

2007-11-08 Thread Alejandro Castro
The only file on my project containing such string is web.xml on this servlet definition xfire org.codehaus.xfire.spring.XFireSpringServlet

Re: [appfuse-user] invoking shell script from java

2007-11-08 Thread Rob Hills
Hi Jitesh, jithesh wrote: Thanks for your response. I have given the following instruction to the code. when i executes it displays the user name as 'root'. i am getting the exception 'java.io.IOEXception:/opt/gsscript/gs.sh not found' Well, the IOException is telling you that your java cod

[appfuse-user] DWR and appFuse : getBean Error

2007-11-08 Thread Bayu
Hi, I am using appFuse as a base, and I use DWR 2.0 also. When I add new serviceMgr using command StockSummaryManager ssMgr = (StockSummaryManager) getBean("stockSummaryManager"); I got errror: [xcore] WARN [http-7080-Processor23] DefaultRemoter.warn(67) | Method execution failed: java.lang.N

Re: [appfuse-user] invoking shell script from java

2007-11-08 Thread jithesh
Hi, Thanks for your response. I have given the following instruction to the code. when i executes it displays the user name as 'root'. i am getting the exception 'java.io.IOEXception:/opt/gsscript/gs.sh not found' Please provide sufficient information Thanks Jithesh Rob Hills wrote: >

Re: [appfuse-user] Type mapping in hibernate.reveng.xml

2007-11-08 Thread Matt Raible
On Nov 8, 2007, at 12:57 AM, Josef Cacek wrote: Hi Matt, On 11/7/07, Matt Raible <[EMAIL PROTECTED]> wrote: On Nov 7, 2007, at 8:20 AM, Josef Cacek wrote: It's really my own file used. When I've tried to use the default one, oracle tried to get tables from all schemes (so the schema-select

Re: [appfuse-user] Type mapping in hibernate.reveng.xml

2007-11-08 Thread Josef Cacek
Hi Matt, On 11/7/07, Matt Raible <[EMAIL PROTECTED]> wrote: > On Nov 7, 2007, at 8:20 AM, Josef Cacek wrote: > > It's really my own file used. When I've tried to use the default one, > > oracle tried to get tables from all schemes (so the schema-selection > > element is necessary) and didn't exclu