Re: Can the policy of rampart support multiple users?

2011-09-14 Thread jing
Hi, Brando: I got it. Thank you very much! Regards, Jing On 09/14/2011 10:46 AM, brando.argue...@gdc4s.com wrote: Probably not as you require to have multiple users authenticated. You can still have

Re: Spring property injection failing in Tomcat

2011-09-14 Thread Barry Hathaway
Thanks for all you help. I finally got it working! In the end though I realized it was going to be a deployment nightmare copy all the files around. So I went back and put everything in an .aar archive including Spring. To solve my original problem of needing to process the servlet context I

RE: Can the policy of rampart support multiple users?

2011-09-14 Thread Brando.Arguello
Probably not as you require to have multiple users authenticated. You can still have rampart configuration with policy... in services.xml without credentials. Programmatically you'll need to do it as Amila indicated, that is using org.apache.axis2.client.Options from the org.apache.axis2.client.Se

Re: Can the policy of rampart support multiple users?

2011-09-14 Thread jing
Thank you, Amila and Thilina! It is very helpful. Besides the programmatically setting the username, can we set in the configuration file directly? Regards, Jing On 09/14/2011 01:01 AM, Amila Suriarachchi wrote: you can use the options.setUser

Re: [Axis2] Rampart and .NET WCF Interoperability / Aproach Questions

2011-09-14 Thread Amila Suriarachchi
On Tue, Sep 13, 2011 at 7:11 AM, Stadelmann Josef < josef.stadelm...@axa-winterthur.ch> wrote: > ** > > Hi developers, > > We have a Axis2 and Addressing.mar on Tomcat on JDK 1.5 on OpenVMS – > > And our Web Service runs in scope="soapsession", which makes long lasting > sessions. > > We have a .N

Re: [Axis2] Rampart and .NET WCF Interoperability / Aproach Questions

2011-09-14 Thread Amila Jayasekara
Hello Josef, You mail has few questions. Let me answer those, one by one. What technology shall we use to encrypt the password in a SOAP-BOADY ? According to your description and to my knowledge the best methodology to secure SOAP body is to use message level encryption. Thus i believe "sy

UnMarshal exception

2011-09-14 Thread Venky Vasant
I am getting a javax.xml.bind.unmarshalexception while consuming a webservice. Here is my client code                         Service service = new Service();     Call call = (Call)service.createCall();     call.setTargetEndpointAddress( new java.net.URL(

Re: Can the policy of rampart support multiple users?

2011-09-14 Thread Thilina Mahesh Buddhika
You can build rampart-config programmatically as mentioned here. Then you are getting a more flexibility over configurations. Thanks, Thilina [1] - http://blog.thilinamb.com/2009/12/how-to-build-rampart-config.html On Mon, Sep 12, 2011 at 10:50 PM, jing wrote: > Hi, everyone: > > I am using th

Re: [Axis2] EchoNonBlockingDualClient sample ACK and Response arrive at the same time

2011-09-14 Thread Sathwik
Hi amila, Thanks for your reply. It works after setting the parameter in service.xml regards, sathwik On Wednesday 14 September 2011 12:31 PM, Amila Suriarachchi wrote: if you have set the messageReceiver.invokeOnSeparateThread in your service.xml then it sends the 202 accept before sending re

Re: Can the policy of rampart support multiple users?

2011-09-14 Thread Amila Suriarachchi
you can use the options.setUsername method. please refere here[1]. thanks, Amila. [1] http://wso2.org/library/articles/2011/06/securing-web-service-integration On Mon, Sep 12, 2011 at 10:50 PM, jing wrote: > Hi, everyone: > > I am using the username token authentication policy in rampart to s

Re: [Axis2] EchoNonBlockingDualClient sample ACK and Response arrive at the same time

2011-09-14 Thread Amila Suriarachchi
if you have set the messageReceiver.invokeOnSeparateThread in your service.xml then it sends the 202 accept before sending response. thanks, Amila. On Tue, Sep 13, 2011 at 4:41 PM, Sathwik wrote: > Hi, > > When I run the sample EchoNonBlockingDualClient, I see that the HTTP 202 > ACK and the Re