[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - case insensitive finder

2007-01-29 Thread sigitm
Hi! I'm trying to build a finder that uses user input to lookup entries in a database. I'm using a CMP entity EJB (2.1) in JBoss 4.0.5.GA (using Hypersonic), with this finder: * @ejb.finder | * signature = "java.util.Collection findByFields(java.lang.String id, java.lang.String au

[jboss-user] [JBossWS] - Re: lower timeout in accessing a web service

2007-01-27 Thread sigitm
Don't you know how to lower the connection timeout? :( Please!! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4007225#4007225 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4007225 ___

[jboss-user] [JBossWS] - dinamically obtain web services url

2007-01-25 Thread sigitm
Hi, I'm writing a web service (deployed in different machines), and a client that connects to these machines and uses their web service. At the moment, the client obtains the web services WSDL url from a static text file. Is it possible for the client to obtain web services url dinamically? Is

[jboss-user] [JBossWS] - lower timeout in accessing a web service

2007-01-25 Thread sigitm
Hi, I'm using this code to connect to a web service: URL url = new URL("http://www.mysite.org/WebService?wsdl";); | | QName qname = new QName("http://www.mysite.org/","WebService";); | | ServiceFactoryImpl factory = new ServiceFactoryImpl(); | Service s

[jboss-user] [JBossWS] - Re: Problem deploying a simple web service

2007-01-08 Thread sigitm
Sorry, it was my fault in the wstools config file. I had to write WebService instead of WebServiceBean. Now I can see my web service in http://localhost:8080/jbossws/services I have another problem: if I deploy only the .jar file (containing also other EJBs), all works. But if I deploy the ear

[jboss-user] [JBossWS] - Problem deploying a simple web service

2007-01-08 Thread sigitm
I'm studying web services, and I developed this simple one: WebServiceBean.java | /** | * @ejb.bean | * name="WebService" | * jndi-name="ejb/publishingsystem/dipartimento/WebService" | * type = "Stateless" | * display-name = "WebServi

[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Store pdf files in the database

2006-12-27 Thread sigitm
I'm developing an enterprise application with EJB2.1 and JBoss4.0. I have an entity ejb called Document, with some fields containing metadata about a pdf document (author, title, creation date, etc.) and a field where I want to store the entire pdf file. Is it possible? How can I do? Which class