RE: Field level variables

2010-08-20 Thread Meeusen, Christopher W.
I think I found the answer to my question. Thank you for pointing me in the correct direction. According to the article here: http://wso2.org/library/articles/axis2-session-management-part-2, if no scope is explicitly declared for a service then, it defaults to session scope, which means that

RE: Field level variables

2010-08-20 Thread Meeusen, Christopher W.
Thank you for the response! I just want to make sure I understand. You're saying this is configurable in the services.xml file? If this is so what is the default scope if nothing is specified? Thanks, Chris -Original Message- From: Jeff Greif [mailto:[email protected]] Sent: Frid

Re: Field level variables

2010-08-20 Thread Jeff Greif
This is configurable in the deployment descriptor. The element has an attribute "scope". One allowed value of this attribute creates an instance of the implementing class for each invocation. Jeff On 8/20/2010 7:18 AM, Meeusen, Christopher W. wrote: > Let me try to ask this another way. Say I

How to abort startup?

2010-08-20 Thread Charles Galpin
I can't figure out how to abort startup of a service as there is no "throws" clause on the service lifecycle interfaces. Let's say on startup I determine there is a mis-configuration and I'd rather my service fail to start than run in an un-deterministic state. How do I abort the startup? thank

RE: Field level variables

2010-08-20 Thread Meeusen, Christopher W.
Let me try to ask this another way. Say I have a class MyService.java and this class has a web service method in it. What does the lifecycle of this class look like? Is there a new instance of MyService instantiated for each request to one of the methods within it, or is one instance of this

RE: WebSphere 6.1, axis2 1.4.1 and java.lang.NoSuchMethodError

2010-08-20 Thread Caristi, Joe
Make sure that you have the appropriate wsdl4j jar on your application's classpath. If you do, you will probably need to do more research to see where the conflicting jar is coming from. I think WebSphere provides the ability to dump the classloader but I can't remember how to do it. Below is

WebSphere 6.1, axis2 1.4.1 and java.lang.NoSuchMethodError

2010-08-20 Thread Alexander Rosemann
I try to get an application running in websphere 6.1. The application has axis2 1.4.1 embedded. I set the classloader to "parent last" to make sure the application loads its classes first. When I go to http://localhost:9080/myapp/services/listServices it tells me that there are faulty services

[Axis2] wsdl2java won't generate stubs for all the bindings

2010-08-20 Thread Nydriotis Apostolos
Hello, I'm using wsdl2java tool that comes with Axis2 1.5.1 to generate the stubs that I need for creating a webService client given its WSDL file. (I use the adb databinding) When I try to generate stub classes for a paypal web service (its wsdl file is here: https://www.paypalobjects.com/wsdl