[jboss-user] [EJB 3.0] - Re: Etity reference problems

2007-04-01 Thread oskar.carlstedt
Hi! Here is the stack trace. | ... | 2007-04-02 07:57:58,337 DEBUG [org.hibernate.cfg.Configuration] processing extends queue | 2007-04-02 07:57:58,337 DEBUG [org.hibernate.cfg.Configuration] processing collection mappings | 2007-04-02 07:57:58,337 DEBUG [org.hibernate.cfg.annotation

[jboss-user] [EJB 3.0] - Etity reference problems

2007-03-30 Thread oskar.carlstedt
Hi All! I have a quite strange data model, but it has it explanation. Lets say we have the following tables in my db: | | --- | | A | | --- | | Aid (pk)| | | | | --- | | | --- | | B | | --- | | Bid (pk)|

[jboss-user] [JBossWS] - Re: WSDL-location help?

2007-03-25 Thread oskar.carlstedt
Thanks!!! I will post this issue as a bug. //Oskar View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4031470#4031470 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4031470 ___

[jboss-user] [JBossWS] - Re: dynamic clients for JBossWS/JAX-WS endpoints

2007-03-23 Thread oskar.carlstedt
Hi again, Have a look at the dispatch section in the JBossWS user guide. here is a link with a code snippet. http://jbws.dyndns.org/mediawiki/index.php/JAX-WS_User_Guide#Dispatch //Oskar View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4030960#4030960 Reply t

[jboss-user] [JBossWS] - Re: dynamic clients for JBossWS/JAX-WS endpoints

2007-03-23 Thread oskar.carlstedt
Hi!! Sorry, my mistake - didn't read client. You should go for dispatch when it comes to clients. Then you have full control about everything. Best Oskar View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4030957#4030957 Reply to the post : http://www.jboss.c

[jboss-user] [JBossWS] - Re: dynamic clients for JBossWS/JAX-WS endpoints

2007-03-22 Thread oskar.carlstedt
Hi! I think you have to create you own web service provider. There is a section about this in the user guide (http://jbws.dyndns.org/mediawiki/index.php/JAX-WS_User_Guide#Endpoint_Provider) Doing this gives you the possibility to do whatever you want to do with your request and response - the

[jboss-user] [JBossWS] - Re: How Do I See the XML?

2007-03-22 Thread oskar.carlstedt
Sorry, the links got messed. JBossWS Handler: http://jbws.dyndns.org/mediawiki/index.php/JAX-WS_User_Guide#Handler_Framework Servlet filter: http://java.sun.com/products/servlet/Filters.html //Oskar View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4030498#403

[jboss-user] [JBossWS] - Re: How Do I See the XML?

2007-03-22 Thread oskar.carlstedt
Hi! You can always turn on TRACE debugging on the ws messages. There is an uncommented row in the JBOSS_HOME/server/default/conf/log4j.xml. Now you will see the messages in the JBOSS_HOME/server/default/log/server.log file. By default the CONSOLE-appender in log4j.xml has a threshold parameter

[jboss-user] [JBossWS] - Re: WSDL-location help?

2007-03-21 Thread oskar.carlstedt
Hi! Thanks for your help. I'm sorry to say, that is not what I actually need or do. I want to have control over my contract (the WSDL-file). That is why I'm using contract first development. I have external parts using my services (contracts). Therefore generated contacts is not a good solution

[jboss-user] [EJB 3.0] - Re: Bundle jars within EAR?

2007-03-19 Thread oskar.carlstedt
Hi All!! Thanks for all replies. I think it is very important to "solve" this classloader inheritance issue, especially in isolated mode. AFAIK in Apache Tomcat it is possible to "override" jars in the libs folder when deploying a war file. Why can't I do this in JBoss? Of course, this is an i

[jboss-user] [EJB 3.0] - Re: Bundle jars within EAR?

2007-03-19 Thread oskar.carlstedt
I will report this in JIRA. This is even worse. If I deploy my EAR file with the log4j and commons-logging jars bundled, then I must restart JBoss to be able to deploy the new ear without my logging jars. Strange, but good for you to know. Best Oskar View the original post : http://www.jbo

[jboss-user] [JBossWS] - WSDL-location help?

2007-03-18 Thread oskar.carlstedt
Hi all!! I just want to ask if it is a requirement to put the wsdl file in the WEB-INF/wsdl folder. I want to have my WSDL (with a lot of schema-imports) on a more common place (an http://.. url). Doing this will casue JBossWS (JBoss 4.0.5.GA and JBossWS 1.2) to fail the deployment and ask

[jboss-user] [JBossWS] - Re: JAX-WS servlet initializing error during deployment of j

2007-03-17 Thread oskar.carlstedt
Hi Trivedi! Can you please give me some more of your code. Then I might help you. I have been struggeling al lot now an finally found a solution that seems to work for me. //Oskar View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4029087#4029087 Reply to the

[jboss-user] [EJB 3.0] - Re: Bundle jars within EAR?

2007-03-17 Thread oskar.carlstedt
Deploying the same file again, but without the jars log4j and commons-logging. Wolla!!, It seems to work. Isn't this a classloader bug/error? What I mean is. The files I put in my ear are those I want to use, especially in isolated mode. It shall not matter if a put a log4j jar in my ear, it sh

[jboss-user] [EJB 3.0] - Bundle jars within EAR?

2007-03-17 Thread oskar.carlstedt
Hello!! I have tried to find a solution on my problem by reading this forum, googling for a day or two, but I can't find a good solution. My problem is EAR files containing other jar files. Deploying this file give an error telling me "EJBLocal is not visible..." A std. EAR file can contain a

[jboss-user] [EJB 3.0] - Re: Create EAR with EJB3 and JAX-WS

2007-03-15 Thread oskar.carlstedt
After some investigations I finally found that an web service annotated bean cannot reside in a JAR-file, it must be placed in a war file. These are my thoughts right now, so the following must be applied: a EJB jar file containing my EJBs a war file containing my JAX-WS endpoint so, in maven2

[jboss-user] [EJB 3.0] - Re: Create EAR with EJB3 and JAX-WS

2007-03-15 Thread oskar.carlstedt
You might be right! How do I configure the ear (or the ear deployer) to detect an EJB3? The contents of my ear file is as described above: | test-ear-1.0-SNAPSHOT | META-INF | jboss-app.xml | lib | ... | test-ejb-1.0-SNAPSHOT.jar | Shall i remove the

[jboss-user] [JBossWS] - Re: wsconsume -- unable to resolve type definition

2007-03-15 Thread oskar.carlstedt
Hello!! This is just a guess, or more, just have it in mind. I was in a project where we had to integrate the old JBoss WS4EE with Microsoft .NET. If the wsdl is using document literal and was compatible with the WS-I Basic Profile, we succeeded, otherwise not. Best Oskar View the original

[jboss-user] [EJB 3.0] - Create EAR with EJB3 and JAX-WS

2007-03-15 Thread oskar.carlstedt
Hello!! I have been struggling a whole day now with this topic. Reading a lot of forum questions and tips, but I can't find a solution. Now I hope some of you can help me. I want to deploy an ear file containing a jar file that contains an EJB. The ejb jar file also contains a JAX-WS-web servi

[jboss-user] [JBossWS] - JAX-WS, possible bug? WSDL-file must be located in WEB-INF/w

2007-03-15 Thread oskar.carlstedt
Hello!! I don't know if this is a bug or the implementation is according to the specification. Anyhow, when running a JAX-WS web service having the wsdlLocation attribute set to an http-location I get an error when parsing the schema. The wsdl has a relative schema import, so changing it to a

[jboss-user] [JBossWS] - Re: How to make XML processeing by myself using contract fir

2007-03-12 Thread oskar.carlstedt
Thanks a lot for a quick answer! Doing this is probably the best way for me. //Oskar View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4027380#4027380 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4027380

[jboss-user] [JBossWS] - How to make XML processeing by myself using contract first (

2007-03-12 Thread oskar.carlstedt
Hi!! After reading a lot of posts I cannot find anything that really helps me here. So, time for a question. I have my WSDL file that uses types/schema/import... to import new schema types. Now I want to create a session bean (or whatever else) that can handle this request using xml beans as

<    1   2