AW: [Axis2] - Migrating axis to axis2 and lost servletContext

2011-06-09 Thread Stadelmann Josef
But in scope="soapsession" I have to define a time-out to get long-lasting-sessions and a state-full-object. If the time-out hits before the next request is made by the session-thread, my service-object (instance-of-the-service-class) (addressed by the servicegroupId), does no longer exists. And as

AW: Axis2 server on Https

2011-06-09 Thread Stadelmann Josef
Remember axis2 is a LARGE SERVLET And SERVLETS run in a SERVLET CONTAINER established by APPLICATION SERVERS Hence did you configure your APPLICATION SERVER to have an SSL port for https request setup using i.e. Tomcats server.xml Josef Von: Matta, Geethamadhurima [mailto:geethamadhurima

[Axis2] wsdl to Java to wsdl to change style/use in initial WSDL?

2011-06-09 Thread fire fox
Hi all, -> I've created Java files using -ss -sd options using Axis2. -> I've used the skeleton class to create the WSDL from it. -> Apparently I've achieved what I've wanted, the binding style in the wsdl changed from rpc/encoded [axis2 does not support] to doc/literal. But, I'm suspicious ab

RE: AW: [Axis2] - Migrating axis to axis2 and lost servletContext

2011-06-09 Thread Tony HEDOUX
Hi, I don't understand all your issue, but about the message context null, there is an easy way to get access to Servlet context of Axis2 : In your AxisService class, in init(ServiceContext sc){ ServletContext sc = (ServletContext) sc.getConfigurationContext().getProperty("transport.http.ser

RE: Axis2 server on Https

2011-06-09 Thread Matta, Geethamadhurima
Thanks Josef for your reply. I am not using tomcat or any other servlet container. Just Axis2. I cannot use tomcat for now. Is there any alternative? From: Stadelmann Josef [mailto:[email protected]] Sent: 09 June 2011 10:33 To: [email protected]

RE: AW: [Axis2] - Migrating axis to axis2 and lost servletContext

2011-06-09 Thread April Easton
My service is POJO and it does not extend anything. The init() method is called from the instantiation of the class. Our service scope is application because we need these threads to start when axis2 starts up and die when axis2 dies. I've read many of the links that Depal gave to me. I lear

AW: Axis2 server on Https

2011-06-09 Thread Stadelmann Josef
Then you might be so kind and you say me how you run axis2/j stand alone without any AS; do you? While this is possible for axis2/C (the simple server) I have never used such a thing as a simple server for axis2/J. Please explain me a bit more about your environment and I try to help on Thusday n

RE: Axis2 server on Https

2011-06-09 Thread Matta, Geethamadhurima
I am running Axis2 standalone server. As you can see in axis2server.sh , we are using "org.apache.axis2.transport.SimpleAxis2Server" for Axis2/J Using version Axis2 1.5.4. From: Stadelmann Josef [mailto:[email protected]] Sent: 09 June 2011 17:42 T

Fwd: Axis2 json

2011-06-09 Thread Mahesh kumar
Hi I'm newbie to webservice and axis2. I'm getting problem while invoking the web service using JSON. I have specified the following in axis2.xml in service. In client I used the following: String endpoint = " http://localhost:8080/axis2/services/WeatherService.WeatherServiceHttpEndpoint/";;

Fwd: Axis2 json

2011-06-09 Thread Mahesh kumar
Hi, I'm trying to deploy axis2 1.5.3 war in WebSphere 7. I'm getting java.lang.NoClassDefFoundError: org.apache.commons.fileupload.FileUploadException I tried changing class loader policy. But it didn't helped me out. Is it possible to deploy the axis2 in WAS7 environment? If so please help me.

Axis2 websphere deployment problem

2011-06-09 Thread Mahesh kumar
Hi, I'm trying to deploy axis2 1.5.3 war in WebSphere 7. I'm getting java.lang.NoClassDefFoundError: org.apache.commons.fileupload.FileUploadException I tried changing class loader policy. But it didn't helped me out. Is it possible to deploy the axis2 in WAS7 environment? If possible please hel

Axis2 soapsession Example

2011-06-09 Thread Mahesh kumar
Hi, I'm new to axis2 webservice. Can anyone provide me example for soapsession. A .net application is going to consume my service. In this case which session type is appropriate. Transport session or soap session. Sorry for my ignorance

Re: Axis2 websphere deployment problem

2011-06-09 Thread Andreas Veithen
Yes, this is possible, but it will be easier with Axis2 1.5.5 which will be available very soon. See AXIS2-4917 for an explanation. Andreas On Thu, Jun 9, 2011 at 20:22, Mahesh kumar wrote: > Hi, > > I'm trying to deploy axis2 1.5.3 war in WebSphere 7. I'm getting >  java.lang.NoClassDefFoundErr

JAX-WS and scope session.

2011-06-09 Thread Bruno Simioni
Hi, I'm trying to understand how Axis2 handles scope sessions in JAX-WS annotated webservices, but I couldn't find any explanation about this theme. I've seen two bug (Axis2-4059[1] and Axis2-4045[2]) about session scope, but it seem to be a little bit abandoned. What's the current status of thi

RE: AW: [Axis2] - Migrating axis to axis2 and lost servletContext

2011-06-09 Thread April Easton
I have updated my service to implement LifeCycle. I can now see in my logs where the init(serviceContext) and destroy(serviceContext) is being called. I will continue from here to stop my threads. Thank you for the good reading material. Deepal - The "Axis2 Deployment model" article did not c

Re: [Axis2] wsdl to Java to wsdl to change style/use in initial WSDL?

2011-06-09 Thread fire fox
Please help. On Thu, Jun 9, 2011 at 3:42 PM, fire fox wrote: > Hi all, > > -> I've created Java files using -ss -sd options using Axis2. > > -> I've used the skeleton class to create the WSDL from it. > > -> Apparently I've achieved what I've wanted, the binding style in the > wsdl changed from r