RE: Exception while writing the response back>>java.lang.IllegalStateException: Response already committed

2011-06-30 Thread Balagopal R
Dear Brett, I am using Axis2 1.5.5 build (28-05-2011)...It seems the release has bug fixes for the following issues AXIS2-3788: NPE in finally block in generate Stub methods AXIS2-4200: ConverterUtil.compare fails for BigInteger values AXIS2-4349: Child first class loading AXIS2-4448: Default

Re: How to pass Authentication credentials in apache Axis2 1.5

2011-06-30 Thread fire fox
Generally, we define operation to authenticate. If no method/operation is defined in the stub/wsdl you may try referring to the following link. Check the authentication constants in - http://wso2.org/library/230 On Fri, Jul 1, 2011 at 7:17 AM, Prasad Maddela wrote: > Hi, > > I have developed sta

How to pass Authentication credentials in apache Axis2 1.5

2011-06-30 Thread Prasad Maddela
Hi, I have developed static stubs from wsdl using apache axis2-1.5 & jibx-1.2.3. I need to pass the user credentials(username & password) as part of the soap request as the webservice authenticates all the incoming requests. I have written a java client using static stub , retrieved the ServiceC

version 1.5.5 or 1.6.0

2011-06-30 Thread Gilbert Pratte
Normally it's a no brainer to pick the latest release by looking release number. But in this case the release page shows that 1.6.0 has an older date than 1.5.5. Which release is the most current - the one with the higher release number or the one with the more current date? thanks, gilbert

RE: Identify IP address of the source request

2011-06-30 Thread Nadir Amra
How about trying something like: (String)msgContext.getProperty(MessageContext.REMOTE_ADDR); Nadir Amra Integrated Web Services for IBM i Operating System Internet: [email protected] "Matta, Geethamadhurima " wrote on 06/30/2011 03:52:58 PM: > From: "Matta, Geethamadhurima " > To: "'java-user@

RE: Identify IP address of the source request

2011-06-30 Thread Matta, Geethamadhurima
Deepal, Following is the code: --- public void init(ServiceContext serviceContext) { System.out.println("Initializing the service context"); MessageContext msgCtx = MessageContext.getCurrentMessageContext(); if (msgCtx != nul

Re: Identify IP address of the source request

2011-06-30 Thread Deepal Jayasinghe
You can get the remote IP address of the client corresponding to the current message as follows; String remoteAddress = String)msgCtx.getProperty("REMOTE_ADDR"): Deepal On Thu, Jun 30, 2011 at 3:34 PM, Matta, Geethamadhurima wrote: > Hi, > > I am using Axis2 1.5.1. > > We need to authenticate if

Identify IP address of the source request

2011-06-30 Thread Matta, Geethamadhurima
Hi, I am using Axis2 1.5.1. We need to authenticate if the request coming to Axis2 server is from a valid source. Can we identify using the ip address of the source. Is there any way to get the ip address of the source from the request? Regards, Geeta Madhurima Desk: (212) 723 2505 ---

RE: Exception while writing the response back>>java.lang.IllegalStateException: Response already committed

2011-06-30 Thread Okken,Brett
What bug fix version of axis2 are you using? There was a fix for an issue similar to this in the AxisServlet in 1.5.5. Brett Okken | MMF Archive | Software Architect | 816.201.6112 | www.cerner.com | [email protected] From: Balagopal R [mailto:b

Exception while writing the response back>>java.lang.IllegalStateException: Response already committed

2011-06-30 Thread Balagopal R
Dear All, I am using Axis2 1.5..My exception stack is as below...This is while I write the response back to the client. I am getting this exception when concurrency is high(to many request)...with few incoming requests I am able to write the response correctly...Could anyone please suggest what