Re: Problems using https and rampart

2009-02-27 Thread Håkon Sagehaug
Hi, I do it once in the init method for the servlet, so from the looks of it it's only engaged once, when the servlet is first called. So I guess thats okay cheers, Håkon 2009/2/27 Dimuthu Leelarathne > Hi, > > Since you are doing it inside a servlet, you have to be careful about the > followi

Re: Problems using https and rampart

2009-02-26 Thread Dimuthu Leelarathne
Hi, Since you are doing it inside a servlet, you have to be careful about the following aspect. When you create the ConfigurationContext, Axis2 will unpack the .mar files to a temp directory. So if you do this(i.e. creating the ConfigurationContext) for every call, then the the temp director

Re: Problems using https and rampart

2009-02-26 Thread Håkon Sagehaug
Hi Thanks for the tip, it did the trick. A side question, what would be the best way to engage modules like rampart in a servlet? My set up, is a servlet that had uses a web service, the web service client needs to engage rampart, now I engage it in the init method of the servlet using the config

Re: Problems using https and rampart

2009-02-25 Thread Dimuthu Leelarathne
Hi, I assume you are using the policy.xml from sample01. You have to uncomment the below line the the policy.xml to send over https. Thank you, Dimuthu Håkon Sagehaug wrote: Hi I'll try to rephrase my question since I've not got any replay on my last one. Is there normally any problems

Problems using https and rampart

2009-02-25 Thread Håkon Sagehaug
Hi I'll try to rephrase my question since I've not got any replay on my last one. Is there normally any problems with using rampart in conjunction with a web service running under https. I can call the web services using ws-policy and rampart fine using http, but when calling using https I get ti