[Axis2] Cannot inherit from final class

2012-01-19 Thread aaron.stromas
Hello, I have deployed a web service using Spring in Axis2. When I attempt to connect to it with an RPC client I receive the following stack trace in Tomcat. Any idea what it is all about? TIA [ERROR] Cannot inherit from final class java.lang.reflect.InvocationTargetException at sun.ref

RE: [Axis2] [SOLVED]Cannot inherit from final class

2012-01-19 Thread aaron.stromas
The problem was in httpclient. Axis comes with version 4.0 while I was building against 4.12 and also packaging it in .aar, so I'm using 4.0 too and all is peachy. -a From: aaron.stro...@rsa.com [mailto:aaron.stro...@rsa.com] Sent: Thursday, January 19, 2012 8:56 AM To: java-user@axis.apache.or

Running Axis within Eclipse

2012-01-30 Thread aaron.stromas
Greetings, This might be off topic on this list, so I apologise ahead of time. I'd like to be able to run my web service under Eclipse but something isn't happening. The web service directory is created under WebContent/WEB-INF/services but is empty. I expected either the .aar file be created o

RE: Running Axis within Eclipse

2012-01-30 Thread aaron.stromas
From: Harshana Eranga Martin [mailto:harshan...@gmail.com] Sent: Monday, January 30, 2012 3:18 PM To: java-user@axis.apache.org Subject: Re: Running Axis within Eclipse Hi Aaron, On 30 January 2012 23:45, mailto:aaron.stro...@rsa.com>> wrote: Greetings, This might be off topic on this list, so

Logging for .aar

2012-01-31 Thread aaron.stromas
Hello, I have packaged log4j.properties in the .aar assembly but it appears to be ignored. Do I have to use the Axis log configuration in $TOMCAT_HOME/webapps/axis2/WEB-INF/classes/log4j.properties for configuring application logging or there is a way to package log4j configuration in .aar whi

Methods listed by axis2/service/listServices

2012-01-31 Thread aaron.stromas
Hello, I have a web service using Spring which I deploy as packaged in .aar archive. The business method of the service are defined in an interface. I'm also using Spring and the implementation class has additional methods for dependency injection. When the service is deployed in Tomcat and I b

RE: Methods listed by axis2/service/listServices

2012-01-31 Thread aaron.stromas
Thank you very much! For the second option, the values of the parameter are class names, are they not? Something like com.rsa.ws.bean..BusinessServiceImplBean com.rsa.ws.bean.BusinessService Also, is this documented anywhere? From: Sagara Gunathunga [mailto:sagara.gunathu...@gmail.com] Sent

RE: Methods listed by axis2/service/listServices

2012-01-31 Thread aaron.stromas
Thank you very much again, works perfectly. From: Sagara Gunathunga [mailto:sagara.gunathu...@gmail.com] Sent: Tuesday, January 31, 2012 1:12 PM To: java-user@axis.apache.org Subject: Re: Methods listed by axis2/service/listServices On Tue, Jan 31, 2012 at 11:31 PM, mailto:aaron.stro...@rsa.com

Probably Rampart

2012-02-16 Thread aaron.stromas
Greetings, I have installed Rampart with Axis2 1.6.1 and am trying to generate client subs using wsdl2java and getting the following exception Exception in thread "main" org.apache.axis2.wsdl.codegen.CodeGenerationException: java.lang.RuntimeException: Malformed uri: UsernameToken at

RE: Probably Rampart

2012-02-21 Thread aaron.stromas
Thanks -Original Message- From: Ruchith Fernando [mailto:ruchith.ferna...@gmail.com] Sent: Friday, February 17, 2012 2:23 PM To: java-user@axis.apache.org Subject: Re: Probably Rampart Hi, This issue is fixed in current Axis2 trunk. Thanks, Ruchith On Thu, Feb 16, 2012 at 2:52 PM, w

RE: Probably Rampart

2012-03-05 Thread aaron.stromas
I tried. Checked out source, ran 'mvn install'. I seem to have only 50% success when it comes to Maven: [ERROR] Failed to execute goal on project axis2-kernel: Could not resolve dependencies for project org.apache.axis2:axis2-kernel:jar:1.7.0-SNAPSHOT: Fai t dependencies for [org.apache.ws.comm

RE: Probably Rampart

2012-03-06 Thread aaron.stromas
Martin, I was able to generate the service stub and the callback handler classes eventually. I don't need policy.xml for that, do I? -a From: Martin Gainty [mailto:mgai...@hotmail.com] Sent: Friday, February 24, 2012 6:39 PM To: java-user@axis.apache.org Subject: RE: Probably Rampart Stromas

Seeking advice on custom security token

2012-03-19 Thread aaron.stromas
Hello, I have a requirement to pass a proprietary session token to my web service, which the web service has to validate. Would it be correct to assume that I can use the for that. If that is so, is there a sample I can use? Also, how can my web service code retrieve that session token? TIA,

[Rampart] Custom token question

2012-03-22 Thread aaron.stromas
Hello, I am working on implementing a web service that is expected to support multiple security mechanisms. One of them is a session token that my service is expected to use in communicating with another web service. I expect that I should implement the TokenIssuer interface but I'm very vague

Can't access SOAP header

2012-03-26 Thread aaron.stromas
Hello all, My web service client passes a custom SOAP header to the service. The SOAPMonitor shows that it is included element. On the server side I'm attempting to get it using this bit of code: MessageContext ctx = MessageContext.getCurrentMessageContext(); OperationContext opctx = ctx.getOp

RE: Can't access SOAP header

2012-03-26 Thread aaron.stromas
Yes, I did. From: Stadelmann Josef [mailto:josef.stadelm...@axa-winterthur.ch] Sent: Monday, March 26, 2012 12:11 PM To: java-user@axis.apache.org Subject: AW: Can't access SOAP header Have you engaged addressing.mar on client and service? Josef Von: aaron.stro...@rsa.com [mailto:aaron.stro...@r

RE: Can't access SOAP header

2012-03-28 Thread aaron.stromas
Andreas, thank you much. -Original Message- From: Andreas Veithen [mailto:andreas.veit...@gmail.com] Sent: Wednesday, March 28, 2012 2:55 PM To: java-user@axis.apache.org Subject: Re: Can't access SOAP header AxisMessage doesn't represent the current message. Instead it represents a wsd

JDOM XPath does not work with Axis

2012-05-22 Thread aaron.stromas
Hi, I tried both JDOM and now JDOM2. For JDOM2, XPathFactory xpfac = XPathFactory.instance(); XPathExpression xp = xpfac.compile("//foo/bar"); The xp is null. For JDOM, XPath xp = XPath.newInstance("//foo/bar"); The xp is null. Both work in the simple java application. I tried to putting the

RE: JDOM XPath does not work with Axis

2012-05-22 Thread aaron.stromas
My application uses JDOM. I've asked the list hoping someone had the same problem and was more successful than me finding a solution. I suspect that at the problem is related to the way jaxen is loaded. -Original Message- From: Andreas Veithen [mailto:andreas.veit...@gmail.com] Sent: Tu