Unsubscribe from group

2010-09-07 Thread 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

Re: Self Closing tag Issues with Axis 2.x!. Need your help!.

2010-09-07 Thread Srinath Perera
if you send a self closing tag to Axis2, it will work fine. But if you want Axis2 to send only self closing tags, I do not think it it there. XML spec give us the freedom of send or as we see fit. to figure out what is going on, you have to look at axiom code. --Srinath On Wed, Sep 8, 2010 at 8

Re: Self Closing tag Issues with Axis 2.x!. Need your help!.

2010-09-07 Thread Srinath Perera
I do not know a way to do this with Axis2. is valid XML, and I do not think we have incorporated what you asked for. In the future please try axis user/dev lists --Srinath On Tue, Sep 7, 2010 at 3:31 PM, Rama Mohan Reddy wrote: > Hi All, Good Morning!. Hope you are doing great. > > We are usin

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

2010-09-07 Thread navaneet . kumar
Prabath: TRANSPORT_HTTP is the only HTTP related Constant available. I do not see TRANSPORT_HTTPS: There is no org.apache.axis2.Constants.TRANSPORT_HTTPS, only org.apache.axis2.Constants.TRANSPORT_HTTP Is there another way? Nav From: navaneet.ku...@us.elster.com To: java-user@axis.apache.o

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

2010-09-07 Thread navaneet . kumar
Thanks Prabath. I would test it out. From: Prabath Siriwardana To: java-user@axis.apache.org Date: 09/07/2010 03:29 PM Subject: Re: If Tomcat is configured to accept both HTTP and HTTPS, how to know in axis2 if the request came over HTTPS? String incomingTransport = messageContext.getIncomi

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

2010-09-07 Thread Prabath Siriwardana
String incomingTransport = messageContext.getIncomingTransportName(); if (!org.apache.axis2.Constants.TRANSPORT_HTTPS.equals(incomingTransport )) { } Thanks & regards, -Prabath On Wed, Sep 8, 2010 at 12:51 AM, wrote: > Thanks Deepal for the quick response. > > What key should I use to get the

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

2010-09-07 Thread navaneet . kumar
Thanks Deepal for the quick response. What key should I use to get the request URL? I went through the Constants java doc but it was not immediately clear. MessageContext messageContext = MessageContext .getCurrentMessageContext(); if(messageContext != null){ String

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

2010-09-07 Thread Deepal jayasinghe
You can do that by looking at the request URL which you can access using MessageContext. Deepal Folks In my server code, I need to know if the call received came through over HTTP or HTTPS. I would like to process the request a bit differently if the request came through HTTPS. How can I

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

2010-09-07 Thread navaneet . kumar
Folks In my server code, I need to know if the call received came through over HTTP or HTTPS. I would like to process the request a bit differently if the request came through HTTPS. How can I do this in axis2 1.2 (the version I am using)? If it is easier to do in axis2 1.5.1, I could upgrade

Re: Modify Web Service Call

2010-09-07 Thread Deepal Jayasinghe
I'm not sure about the property usage. Did you mean I should let the handler process (e.g. start a service) the information? In my special case this is not wanted. I really need to start a so called java agent for special logging purposes. The Agent and the web service need to run in the same in

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

2010-09-07 Thread Martin Gainty
This is the svn repository i can access http://svn.apache.org/repos/asf/axis/axis2/java/ accessfble folders are core kandula rampart sandesha savan transports How does one access the repository you're pointing to *gruss* Martin __ Verzic

Re: Modify Web Service Call

2010-09-07 Thread Benedikt Heintel
Alright, What I have so far is a WS client that sends a SOAP message with a "special" header and a handler (as module) that reads the header and searches for the argument. I'm not sure about the property usage. Did you mean I should let the handler process (e.g. start a service) the information?

Re: Modify Web Service Call

2010-09-07 Thread Deepal Jayasinghe
On 9/7/2010 9:32 AM, Benedikt Heintel wrote: Thanks Deepal for the information provided. Adding a handler works, I can access the data and work on it. Great. I meant Axis2 modules, right. However, I think my first question is wrong or wrongly asked. I try to rewrite it: Which class does "trans

Re: Modify Web Service Call

2010-09-07 Thread Benedikt Heintel
Thanks Deepal for the information provided. Adding a handler works, I can access the data and work on it. Great. I meant Axis2 modules, right. However, I think my first question is wrong or wrongly asked. I try to rewrite it: Which class does "translate" the SOAP call into a java executable comman

Re: Modify Web Service Call

2010-09-07 Thread Deepal jayasinghe
Dear List, I'm on a project that needs to change a web service call based on the header of a SOAP message. The goal is to implement a switch in axis, that enables an additional "-javaagent" call if a special header is set. I thought about using the module architecture if possible. I need to un

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

2010-09-07 Thread Stadelmann Josef
I try to build axis2 from trunk sources, and did the following C:\ asf\axis\axis2\java\core > C:\ > svn co http://svn.apache.org/repos/asf/axis7axis2/java/core/trunk trunk SUCCESS C:\ asf\axis\axis2\java\core\trunk > C:\ asf\axis\axis2\java\core\trunk\modu

Re: org.apache.axis2.AxisFault: No class definition when it is there

2010-09-07 Thread eng.Abdelrahman
I had the same problem and i solved it by puting axis2-lib beside my own jar...everything is running Edgardo-6 wrote: > > You must place your .jar file in the axis2 deployed directory. This > directory is where you have installed apache-tomcat, > %CATALINA_HOME%/webapps/axis2/WEB-INF/lib. >

Modify Web Service Call

2010-09-07 Thread Benedikt Heintel
Dear List, I'm on a project that needs to change a web service call based on the header of a SOAP message. The goal is to implement a switch in axis, that enables an additional "-javaagent" call if a special header is set. I thought about using the module architecture if possible. I need to under

Re: [axis2-1.5.2] mvn install for axis2-aar-maven-plugin failed

2010-09-07 Thread Andreas Veithen
Josef, You need to build modules/resource-bundle before the plugins. Probably the documentation is not up-to-date about this. Andreas On Tue, Sep 7, 2010 at 12:25, Stadelmann Josef wrote: > Not sure if this is the correct place to report this problem. > > I’m using maven-2.2.1 to build axis2-1.

[axis2-1.5.2] mvn install for axis2-aar-maven-plugin failed

2010-09-07 Thread Stadelmann Josef
Not sure if this is the correct place to report this problem. I'm using maven-2.2.1 to build axis2-1.5.2 I did yesterday sv co http://svn.apache.org/repos/asf/axis/axis2/java/core/tags/v1.5.1 C:\asf\axis\axis2\java\core\tags\v1.5.1\modules\tool\axis2-aar-maven-plu gin> mvn install C:\asf\axis\ax