Re: If Tomcat is configured to accept both HTTP and HTTPS, how to know in axis2 if the request came over HTTPS?

2010-09-08 Thread navaneet . kumar
I tried a variant on Prabath idea and the following works: String incomingTransport = messageContext.getIncomingTransportName(); if (incomingTransport.equals("https" )) { } Also I found that messageContext.getTo() returns the URL the client used: something like https://hostname/axis2/service

Re: Modify Web Service Call

2010-09-08 Thread Benedikt Heintel
Hi Glen > It is certainly very easy (as Deepal has described) to use a Handler to > execute arbitrary code during the execution of a service request, so you just > need to figure out how to enable/disable your logging for particular threads > and you should be good to go. > > Are you using a home

Re: Modify Web Service Call

2010-09-08 Thread Glen Daniels
Hi Benedikt, On 9/8/2010 10:20 AM, Benedikt Heintel wrote: > If all web service instances are started in the same container, I need > to find out how to separate them for logging. > > Since we cannot change the web services (they are jared and will not > contain source code), we need to find a wa

Re: Modify Web Service Call

2010-09-08 Thread Benedikt Heintel
Hi Glen, Your information brings me a big step closer to my goal, however makes it bit more complicate in logging issues. Now I understand the internal behavior of Axis2. The whole issue was really based on misunderstanding. If all web service instances are started in the same container, I need t

Re: Eclipse Remote Debugging with multiple instance of Axis2 in same Tomcat container ?

2010-09-08 Thread Glen Daniels
Hi Jacques, On 9/8/2010 10:03 AM, Jacques wrote: > I've since then installed multiple instances of Axis2 in Tomcat. In other > words, I've got the axis2 webapp, but I now also have axis2a, axis2b, axis2c. > > Each of the Axis instances run the same web service. > > Is there a way to configure r

Eclipse Remote Debugging with multiple instance of Axis2 in same Tomcat container ?

2010-09-08 Thread Jacques
Hi, I previously had one instance of Axis2 installed in Tomcat. I configured Tomcat to allow remote debugging, and I successfully remote-debugged a web service from Eclipse. I've since then installed multiple instances of Axis2 in Tomcat. In other words, I've got the axis2 webapp, but I now also

AW: [axis2-trunk] correct mvn lifecycles goals for successfull build

2010-09-08 Thread Stadelmann Josef
Martin You are correct; I made I typo graphical error. L in my e-mail only J http://svn.apache.org/repos/asf/axis/axis2/java/core/trunk/ is the pointer to the SVN REPOSITORY; AND " / " and " 7 " is only a SHIFT KEY away J But even with that corrected, remaining issues remain; I

Re: Modify Web Service Call

2010-09-08 Thread Glen Daniels
Hi Benedikt, On 9/8/2010 5:57 AM, Benedikt Heintel wrote: > If there is no id in the header, Axis will proceed its normal procedure > and in the end call the service with "java -cp > de.tud.informatik.seceng.calc.Calculator.class add 40 10". > > Else if the id parameter is set, it should call the

Re: Modify Web Service Call

2010-09-08 Thread Benedikt Heintel
I'm sorry, I forgot to mention two important things: 1) I'm not able to change the java class (the actual web service), otherwise it would be easy to get the ID inside and start a class. 2) I need to start a logger that runs in the same JVM instance as the web service. As far as I know it is only

Re: Modify Web Service Call

2010-09-08 Thread Deepal Jayasinghe
Now I understand what you want to do. You can achieve this very easily by doing the following. - Using your handler extract the value of ID and add as a property (in MessageContext) - At the Java class you can get the MessageContext and look for the property - If the property is there then y

Re: Modify Web Service Call

2010-09-08 Thread Benedikt Heintel
I actually think it must be more easy than this. Let me give an example. In my humble opinion Axis2 is working like this: --SOAP-->|--Check-->--Do something-->--call WS-->|--Java call--> let's assume the following SOAP message, calling a service that should add 40 and 10: http://schemas.xmlsoap.

Re: Unsubscribe from group

2010-09-08 Thread Benedikt Heintel
Hi Vishnu, Just send an empty e-mail to Regards, Benedikt Am 08.09.2010 06:26, schrieb Vishnu Vardhan Reddy: > HI Group, > > Its great to be member of this group, it helps me to learn about axis2 > web services. > > > > Please unsubscribe me from this group. > > > > Thanks, > > VIshnu