[JBoss-user] [JBossWS] - Re: String[] & jsr181

2006-06-23 Thread perrucci
Yes, I'm using jbossws 1.0.1 with jboss-4.0.4.GA-Patch1. Paolo View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3952905#3952905 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3952905 Using Tomcat but need to do more? Need

[JBoss-user] [JBossWS] - String[] & jsr181

2006-06-22 Thread perrucci
Hi all, I'm using jbossws and jsr181 and I'm trying to expose the method @WebMethod public String[] test() { return new String[] { "a b c", "1 2 3"}; } JBossWS maps the return type of the method using the type 'xsd:NMTOKENS' which break the strings containing spaces. How can I sol

[JBoss-user] [Remoting] - Re: Configure transporters using jboss remoting service conf

2006-06-19 Thread perrucci
Hi Tom, my question was about how to declare the configuration of a transporter in a jboss service.xml. It's possible to define something that programmatically is configured using a piece of code like this? server = TransporterServer.createTransporterServer(locatorURI, new CustomerProcessorImp

[JBoss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Using hibernate session in web services

2006-06-16 Thread perrucci
Hi all, I'm working on some jsr181 web services that use hibernate api. I would like to understand if there is a suggested way to handle the hibernate session. Trying to use the servlet filter approach it seems I have a problem due to how jbossws handle the exceptions throws by the web methods:

[JBoss-user] [JBossWS] - Using hibernate session in web services

2006-06-16 Thread perrucci
Hi all, I'm working on some jsr181 web services that use hibernate api. I would like to understand if there is a suggested way to handle the hibernate session. Trying to use the servlet filter approach it seems I have a problem due to how jbossws handle the exceptions throws by the web methods:

[JBoss-user] [EJB 3.0] - Re: Problem with Sub Classes in JBoss 4.0.4GA

2006-06-09 Thread perrucci
Posted a new bug to jira http://jira.jboss.com/jira/browse/HIBERNATE-37 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3950084#3950084 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3950084

[JBoss-user] [EJB 3.0] - Re: Problem with Sub Classes in JBoss 4.0.4GA - FOUND

2006-06-08 Thread perrucci
I have the same problem. The problem is due to how the jdk 1.5 compiler create the classes. A simple test case for this problem would be: public interface I { public Map method(); } public class A implements I { public HashMap method() { return null; } } Using javap you can see

[JBoss-user] [Installation, Configuration & Deployment] - Log4jRepositorySelector undeployment problem

2006-06-07 Thread perrucci
Hi all, I'm trying to separate log4j logs of my web application running inside jboss 4.0.4GA and I tried to use the Log4jRepositorySelector found here http://wiki.jboss.org/wiki/Wiki.jsp?page=Log4jRepositorySelector It seems that it works like a charm until the webapp undeployment. At this po

[JBoss-user] [Remoting] - Configure transporters using jboss remoting service configur

2006-06-07 Thread perrucci
Hi all, reading the example-service.xml I haven't found any information on how create trasporters from within this xml file. Anyone can give me some hints? Thank you Paolo View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3949558#3949558 Reply to the post : ht