[axis2 client] How to maintain a non session related cookie?

2008-11-11 Thread Etienne Giraudy
Hi, I have a web service client built with Axis2 1.3 It points to a non-axis web service server. The server architecture has been reviewed to support load-balancing. The load-balancer uses a specific cookie for maintaining session stickiness, needed by the application (including the web services

java.security.AccessControlException: access denied (java.io.FilePermission "..../WEB-INF/scriptServices" read)

2008-11-11 Thread Ramesh Vishwanatham
All I have a built simple web service and trying to deploy axis2 1.3 version in WAS6.0 environment running Java 1.4.2 under security manager and getting following exception: Stack Trace: java.security.AccessControlException: access denied (java.io.FilePermission "/WEB-INF/scriptServices" r

Re: Embedding Axis1 and Axis2 into the same webapp

2008-11-11 Thread Deepal jayasinghe
Ridwan Tan (ridtan) wrote: > Hello, > > I am just wondering if anyone has ever tried to embed axis1 and axis2 > into the same webapp. I am working on a webapp, which is due to some > external dependencies and internal deployment restrictions, needs to > run Axis1 and Axis2. Theoretically, this sh

Embedding Axis1 and Axis2 into the same webapp

2008-11-11 Thread Ridwan Tan (ridtan)
Hello, I am just wondering if anyone has ever tried to embed axis1 and axis2 into the same webapp. I am working on a webapp, which is due to some external dependencies and internal deployment restrictions, needs to run Axis1 and Axis2. Theoretically, this should work. Axis1 and Axis2 have differe

Re: SOAP session - How to get the SessionContext?

2008-11-11 Thread Deepal Jayasinghe
> Hi Deepal, > > Thank you very much. I used the ServiceGroupContext and it worked > instantly. Good ! > May I suggest you update the documentation with an example or provide > a link to a test case? I am planing to write new article explaining current session management stuff , the one I have wr

Re: SOAP session - How to get the SessionContext?

2008-11-11 Thread Manuel Darveau
Hi Deepal, Thank you very much. I used the ServiceGroupContext and it worked instantly. May I suggest you update the documentation with an example or provide a link to a test case? Manuel On Mon, Nov 10, 2008 at 8:24 PM, Deepal Jayasinghe <[EMAIL PROTECTED]>wrote: > Hi Manuel, > > Hi, > > > > I

RE: WSDL2Java generated a big stub file. How to generate multiple small ones?

2008-11-11 Thread Gus
Raghu Upadhyayula wrote: > > Gus, > > Use the -u option in WSDL2Java. > > -u Unpacks the databinding classes > > Thanks > Raghu > Thank you soo much, Raghu. I will try it now. I have been working on this for several days, but couldn't figure it out. Today, I found the

RE: WSDL2Java generated a big stub file. How to generate multiple small ones?

2008-11-11 Thread Raghu Upadhyayula
Gus, Use the -u option in WSDL2Java. -u Unpacks the databinding classes Thanks Raghu -Original Message- From: Gus [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 11, 2008 12:15 PM To: axis-user@ws.apache.org Subject: WSDL2Java generated a big stub file. How t

Re: WS package methods returns empty strings

2008-11-11 Thread Qlimax
problem solved when I tryed to open a file in the same directory of the .class files ; I made File f=new File("TestConf"); (that's work with the console) that's wrong in axis, because the current path of tomcat application is /bin so I tryed to open a file that does not existed in /bin di

WSDL2Java generated a big stub file. How to generate multiple small ones?

2008-11-11 Thread Gus
Hi everyone, I am very new on Axis2 and WS. Hope someone can help me. I used a wsdl file to generate a client stub file (Eclipse IDE), but the stub file is very big, about 60,000 line. All sub-classes are static in the stub, e.g. request, response, binding class: "public static class Stud

Re: Axis2-1.4.1 and Xmlbeans 2.4.0

2008-11-11 Thread Amila Suriarachchi
On Tue, Nov 11, 2008 at 7:50 PM, David Ojeda <[EMAIL PROTECTED]> wrote: > Hello, > > I've noticed that xmlbeans has released a new version 2.4.0. > Does anyone have any ideas/experience using axis2-1.4.1 and that version of > xmlbeans instead of 2.3.0 ? > The changelog is available at > > http://s

AW: [Rampart] Acegi security within PWCHandler

2008-11-11 Thread Mario-Leander Reimer
Hi Sagara, I had a similar scenario in our application. What I did is to write my own Axis2 handler and module. The Axis2 handler gets a Message context instance, from where you can access a AxisService instance, which is required to obtain the webapp configured ApplicationContext. Have a loo

Axis2-1.4.1 and Xmlbeans 2.4.0

2008-11-11 Thread David Ojeda
Hello, I've noticed that xmlbeans has released a new version 2.4.0. Does anyone have any ideas/experience using axis2-1.4.1 and that version of xmlbeans instead of 2.3.0 ? The changelog is available at http://svn.apache.org/viewvc/xmlbeans/trunk/CHANGES.txt?revision=666108&view=markup I would s

Re: [Rampart] Acegi security within PWCHandler

2008-11-11 Thread Sagara Gunathunga
Hi Prabath, Thanks for your feedback, but my case is somewhat different from AcegiAuthenticator , in your AcegiRealm class you manually load the ApplicationContext as follows. ApplicationContext context = new FileSystemXmlApplicationContext( fileName); String authProvider

Re: [Rampart] Acegi security within PWCHandler

2008-11-11 Thread Prabath Siriwardena
Hi Sagara; Having a look at AcegiAuthenticator available here[1] may also be helpful. Thanks & regards. - Prabath [1]:https://svn.wso2.org/repos/wso2/branches/solutions/identity/1.5/commons/usermanager/modules/core/src/main/java/org/wso2/usermanager/custom/acegi Sagara Gunathunga wrote: > Hi Nan

RE: Rampart engaged, OutflowSecurity set in axis2.xml, still no security in headers

2008-11-11 Thread Phil Davies
Hi Prabath, thanks again. I have configured the axis used by this wizard to be axis2, and to revision 1.3. Your comment about axis server axis2.xml files - yes, I have been using the server config file, although changing to use the client config file hasn't helped. What has helped though, is not

Re: [Rampart] Acegi security within PWCHandler

2008-11-11 Thread Sagara Gunathunga
Hi Nandana, I use following settings in my service.xml file , only with these settings I can expose a POJO service called "ExampleService" org.apache.axis2.extensions.spring.receivers.SpringServletContextObjectSupplier ExampleService

Re: [Rampart] Acegi security within PWCHandler

2008-11-11 Thread Nandana Mihindukulasooriya
Hi Sagara, Can you provide a code snippet of how you access spring beans in service level so that we can see whether we can use the same approach within the Rampart password callback handler. thanks, nandana On Tue, Nov 11, 2008 at 11:15 AM, Sagara Gunathunga < [EMAIL PROTECTED]> wrote:

Re: Using JNDI in axis 2 web service in tomcat

2008-11-11 Thread Håkon Sagehaug
Hi Thanks for he replay, my mistake was that I had in service.xml this line composite so when I removed this I got it to work, but thanks fro the replay cheers, Håkon 2008/11/10 Leif Olson <[EMAIL PROTECTED]> > Hi Hakon, > Do you reference "workflowdb" a bean property for Spring injection >

Re: Rampart one way only

2008-11-11 Thread Mary Thompson
Hi Nandana, Thanks for your suggestions. I think I understand the phase stuff a bit better and I do have policy attached at the operation level (AsymmetricBinding, include timestamp) and at the input message level to sign the body. Rampart seems to be engaged on both the client and server s