RE: AXIS2 WS-Security

2008-08-15 Thread Sanjay Vivek
Yes, you can do this programatically by using the policy based approach to implement Rampart enabled services. There's a good tutorial on the topic at [1]. Cheers. 1 - http://wso2.org/library/3190 Regards Sanjay >-Original Message- >From: Deep455 [mailto:[EMAIL PROTECTED] >Sent: 15 Aug

RE: AXIS2 WS-Security

2008-08-15 Thread Sanjay Vivek
Hi Pradeep, I don't think it really matters if the service uses Rampart since Rampart merely implements WS-Security standards. It is the open source implementation of WS-Security standards. So as long as both the service and the client supports WS-Security standards, it shouldn't matter what th

RE: Timestamp error when invoking a Rampart service from a .NET client.

2008-07-24 Thread Sanjay Vivek
Hi Nandana, Jose, You were right about the timeskew element! I finally got it to work and it appears the client machine was 8 mins faster than the service machine. Thanks once again for both your help. Regards Sanjay From: Nandana Mihindukulasooriya [mailto:[

RE: Timestamp error when invoking a Rampart service from a .NET client.

2008-07-24 Thread Sanjay Vivek
Hi Jose, The reason there's such a big time difference between the 2 timestamps is because the .NET client invoked the service yesterday while I invoked the service using a Java client today. I merely wanted to show the formatting of the 2 timestamps. I'm sorry if I mislead you! The .NET develo

RE: Timestamp error when invoking a Rampart service from a .NET client.

2008-07-24 Thread Sanjay Vivek
Hi Nandana, I've looked at the Tomcat logs and I don't see any errors at all. I've looked at a few previous postings below and it appears that this issue was solved but unfortunately I've come across it again. Thanks Sanjay http://mail-archives.apache.org/mod_mbox/ws-rampart-dev/200706.mbox/[

Timestamp error when invoking a Rampart service from a .NET client.

2008-07-24 Thread Sanjay Vivek
this email for further reference. Any insight would be greatly appreciated. Cheers. Regards -- Sanjay Vivek SOAP Request from a .NET client http://schemas.xmlsoap.org/soap/envelope/"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-i

RE: Rampart: Policy versus Parameters

2008-07-15 Thread Sanjay Vivek
mailto:[EMAIL PROTECTED] >Sent: 15 July 2008 08:09 >To: axis-user@ws.apache.org >Subject: RE: Rampart: Policy versus Parameters > >Dynamically? How so? > >Thanks. > >=>RY > > >-Original Message- >From: Sanjay Vivek [mailto:[EMAIL PROTECTED] >Sent:

RE: Rampart: Policy versus Parameters

2008-07-14 Thread Sanjay Vivek
The policy method is far more flexible. It allows you to dynammically set the username/password (which cannot be done by the Parameter method) and much more. Cheers Sanjay -Original Message- From: Roxanne Yee [mailto:[EMAIL PROTECTED] Sent: Mon 14/07/2008 18:35 To: axis-user@ws.apache

RE: Rampart versions

2008-07-14 Thread Sanjay Vivek
Yes, you should make sure your /lib only contains either Rampart 1.3 or Rampart 1.4. Cheers Sanjay -Original Message- From: Roxanne Yee [mailto:[EMAIL PROTECTED] Sent: Tue 15/07/2008 01:37 To: axis-user@ws.apache.org Subject: RE: Rampart versions Would having the Rampart 1.3 module an

RE: axis2 web services security

2008-07-08 Thread Sanjay Vivek
You can use Basic Authentication to make sure that only the right ppl can access your WSDL file. The tutorial at [1] should give you a better idea on implementing this. You can also use Apache Rampart if you need a better security mechanism. A good tutorial on Rampart can be found at [2]. 1 - htt

RE: Exceptions when using a Rampart client generated from stub classes.

2008-07-04 Thread Sanjay Vivek
Hi Nandana, I updated the TransportToken.class and I can now diable HTTPS without any problems. Thanks again! Regards Sanjay From: Nandana Mihindukulasooriya [mailto:[EMAIL PROTECTED] Sent: 04 July 2008 10:35 To: axis-user@ws.apache.o

RE: Exceptions when using a Rampart client generated from stub classes.

2008-07-04 Thread Sanjay Vivek
Hi Nandana, Yes, I need to disable HTTPS for a short period of time so that I can do some debugging with TCPMON. However, I get the following exceptions when I do comment out that line as shown below. The exceptions goes away when I un-comment the line. The line that sticks out it "[ERROR] Servle

RE: Exceptions when using a Rampart client generated from stub classes.

2008-07-01 Thread Sanjay Vivek
wso2.org/files/UToverHTTPS.xml On Thu, Jun 26, 2008 at 2:24 PM, Sanjay Vivek <[EMAIL PROTECTED]> wrote: Hi everyone, I've installed and configured

RE: Exceptions when using a Rampart client generated from stub classes.

2008-06-30 Thread Sanjay Vivek
[1] - http://wso2.org/library/3190#Step_4._Engaging_Rampart_and_applying_the_s ecurity_policy [2] - http://wso2.org/files/UToverHTTPS.xml On Thu, Jun 26, 2008 at 2:24 PM, Sanjay Vivek <[EMAIL PROTECTED]> wrote:

Exceptions when using a Rampart client generated from stub classes.

2008-06-26 Thread Sanjay Vivek
when using a client generated from the stub classes? Any help would be appreciated. Cheers. Regards -- Sanjay Vivek Web Analyst Middleware Team ISS Newcastle University - To unsubscribe, e-mail: [EMAIL PROTECTED] For

Disabling HTTPS for Rampart enabled services.

2008-06-24 Thread Sanjay Vivek
kerThread.runIt(LeaderFollow erWorkerThread.java:81) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool .java:685) at java.lang.Thread.run(Thread.java:619) Regards ------ Sanjay Vivek Web Analyst Middleware Team ISS Newca

WSSE security headers not being send by client.

2008-06-19 Thread Sanjay Vivek
rampart/download/1.4/download.cgi 2 - http://ws.apache.org/axis2/download/1_4/download.cgi Regards -- Sanjay Vivek Web Analyst Middleware Team ISS Newcastle University - To unsubscribe, e-mail: [EMAIL PROTECTED] For

RE: AXIS2_HOME environment variable

2008-06-06 Thread Sanjay Vivek
I believe you should set AXIS2_HOME = C:axis2-1\axis2-1.2 (i.e. without the bin at the end) Cheers Sanjay From: Adriana Verdejo [mailto:[EMAIL PROTECTED] Sent: 06 June 2008 09:38 To: axis-user@ws.apache.org Subject: AXIS2_HO

RE: wsdl2java - java.lang.OutOfMemoryError: Java heap space

2008-06-05 Thread Sanjay Vivek
You could try cranking up the JVM heap size. For example, set initial heap size to 128M and max heap size to 256M as shown below: java -Xms128m -Xms256m Regards Sanjay From: Jyotsna Varma [mailto:[EMAIL PROTECTED] Sent: 05 June 2008 08:55

RE: Creating Queue, JNDI.. in Active MQ

2008-06-04 Thread Sanjay Vivek
Shouldn't this question be posed on the Active MQ mailing list? You should get better hits there. Sanjay From: adisesha [mailto:[EMAIL PROTECTED] Sent: 04 June 2008 11:39 To: axis-user@ws.apache.org Subject: Creating Queue, JNDI

RE: [ANN][Axis2] QuickStart Axis2 -- My first book on Axis2 is published

2008-05-30 Thread Sanjay Vivek
Looks very interesting. Do you have a sample chapter for the book? Cheers Sanjay >-Original Message- >From: Deepal jayasinghe [mailto:[EMAIL PROTECTED] >Sent: 30 May 2008 13:19 >To: axis-user@ws.apache.org; [EMAIL PROTECTED] >Subject: [ANN][Axis2] QuickStart Axis2 -- My first book on >

RE: Logging Help

2008-05-18 Thread Sanjay Vivek
You can use TCPMON for this. Cheers Sanjay -Original Message- From: Priya Agrawal [mailto:[EMAIL PROTECTED] Sent: Sun 18/05/2008 13:08 To: axis-user@ws.apache.org Subject: Logging Help Hello, How i can see incoming and outgoing SOAP message in Axis2. thanks, Priya Agrawal --

Defining a services.xml to support multi-port Web Services.

2008-05-12 Thread Sanjay Vivek
also supports a different policy at this end point? Is it even possible to define a services.xml that supports multi-port Web Services? Any help would be appreciated. Cheers. Regards -- Sanjay Vivek Web Analyst Middleware Team ISS Newcastle Unive

Configuring Transport Sender/Receiver for multi-port services.

2008-04-29 Thread Sanjay Vivek
" when I try to deploy the service as shown below. Any help or guidance on what I should be doing would be greatly appreciated. Cheers. Regards ------ Sanjay Vivek 28-Apr-2008 11:14:34 org.apache.catalina.core.StandardWrapperValve invoke SEVERE: Allocate exception for

Errors when deploying a multi-port service using Transport Listener/Receiver.

2008-04-28 Thread Sanjay Vivek
httpbasic httpwssec However, I get the following exceptions when I try to deploy the service. Any help or guidance on what I should be doing would be greatly appreciated. Cheers. Regards ------ Sanjay Vivek 28-Apr-200

How to deploy a service on 2 different ports?

2008-04-23 Thread Sanjay Vivek
Hi all, How do I go about deploying the same service on 2 different ports? What do I have to configure or edit with respect to config files? I would be really grateful if anyone could point me in the right direction. Cheers. Regards -- Sanjay Vivek Web Analyst Middleware Team ISS

WS-Security Policy that supports 2 alternatives.

2008-04-22 Thread Sanjay Vivek
Auth to consume the service (i.e. Scenario 2). Any insight would be greatly appreciated. Cheers. Regards -- Sanjay Vivek Web Analyst Middleware Team ISS University of Newcastle Upon Tyne - To unsubscribe, e-mail: [EMAIL

Errors when deploying two services based on the same java class to different servlets.

2008-04-17 Thread Sanjay Vivek
t in this matter would be appreicated. Cheers. Regards -- Sanjay Vivek Web Analyst Middleware Team ISS University of Newcastle Upon Tyne - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: SAML and XCAML

2008-04-17 Thread Sanjay Vivek
You can try looking at Apache Rampart. It enables WS-Security standards. Cheers Sanjay >-Original Message- >From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] >Sent: 17 April 2008 11:32 >To: axis-user@ws.apache.org >Subject: SAML and XCAML > >Hi! Is there any useful option to use Policy

RE: Axis2 Single-Sign-On support?

2008-03-31 Thread Sanjay Vivek
/1_2/security-module.html But I am not sure :/ 2008/3/31, Sanjay Vivek <[EMAIL PROTECTED]>: Axis2 uses WS-Security for authentication and authorisation. Apache Rampart in turn implements WS-Security standards.

RE: Axis2 Single-Sign-On support?

2008-03-31 Thread Sanjay Vivek
Axis2 uses WS-Security for authentication and authorisation. Apache Rampart in turn implements WS-Security standards. Cheers. Sanjay From: Moley Harey [mailto:[EMAIL PROTECTED] Sent: 31 March 2008 10:20 To: axis-user@ws.apache.org

RE: AW: Axis2 with rampart sample, username hardcoded

2008-03-25 Thread Sanjay Vivek
You can also set the username/password programatically by using a policy based configuration. The samples you are referring to are paramater based and the username/password are hardcoded. You should take a look at samples/policy in the rampart distro. Cheers Sanjay _

"Missing wsse:Security header in request" exception when invoking a service.

2008-03-13 Thread Sanjay Vivek
ns); client.engageModule("addressing"); client.engageModule("rampart"); Regards -- Sanjay Vivek Web Analyst Middleware Team ISS University of Newcastle Upon Tyne - T

Can a service support both Basic Auth and Rampart Auth?

2008-03-07 Thread Sanjay Vivek
work. So basically my question is whether its possible to have a service that supports both Basic Auth and Rampart Auth? Any insight or pointers will be very helpful. Cheers. Regards -- Sanjay Vivek Web Analyst Middleware Team ISS Uni

RE: Error when obtaining UsernameToken information from a different class.

2008-03-04 Thread Sanjay Vivek
Hi Nandana, I've attached the services.xml with this email. Thanks again for your help. Cheers. Regards Sanjay >-Original Message- >From: Nandana Mihindukulasooriya [mailto:[EMAIL PROTECTED] >Sent: 04 March 2008 08:11 >To: axis-user@ws.apache.org >Subject: Re: Error when obtaining User

Error when obtaining UsernameToken information from a different class.

2008-03-03 Thread Sanjay Vivek
:508 ) at org.apache.rampart.altpolicy.CommandLineClient.main(CommandLineClient.ja va:66) Regards -- Sanjay Vivek Web Analyst Middleware Team ISS University of Newcastle Upon Tyne - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: User Token details

2008-02-18 Thread Sanjay Vivek
I was working on this a few weeks back and the complete code listing is given below. Cheers. Sanjay import org.apache.axis2.AxisFault; import org.apache.axis2.context.MessageContext; import org.apache.axis2.context.OperationContext; import org.apache.axis2.wsdl.WSDLConstants; import org.apache.ws

Timestamp validation error when invoking a Rampart service with a .NET client.

2008-02-14 Thread Sanjay Vivek
p could not be validated http://schemas.xmlsoap.org/soap/envelope/"; xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing";> soapenv:Server The timestamp could not be validated Regards -- Sanjay Vivek Web Analyst Middleware Team ISS University of Newcastle Upon Tyne - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: AW: Dynamically setting the username/password with Rampart.

2008-01-24 Thread Sanjay Vivek
Hi everyone, I would like to add my comments on this topic since I'm the one who initially posed this question :). I initially started off with Rampart because we wanted to incorporate authentication and WS Security to our WS code. Our aim was to use the authentication session to figure out who ca

Dynamically setting the username/password with Rampart.

2008-01-16 Thread Sanjay Vivek
is defined in client.axis2.xml (from axis2ConfPath/conf). How do I override the "user" value in client.axis2.xml so that the client picks up the username from 'options.setUserName("bob")'? Any help would be apprecia

NoSuchMethodError when engaging Rampart.

2008-01-08 Thread Sanjay Vivek
th (I hope so anyway). Any help would be greatly appreciated. Regards -- Sanjay Vivek Web Analyst Middleware Team ISS University of Newcastle Upon Tyne - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: java.lang.NoClassDefFoundError exception. Service impl class not picking up external jars in /lib.

2007-12-07 Thread Sanjay Vivek
I'm getting the exception at "Subject subject = SubjectFinder.findById(subjectId)", which is the first instance when GrouperWS tries to find an external class. This external class is found in one of the jar files found in the lib folder. The class in question is "edu.internet2.middleware.grouper.

java.lang.NoClassDefFoundError exception. Service impl class not picking up external jars in /lib.

2007-12-07 Thread Sanjay Vivek
Hi everyone, I'm attempting to deploy a Web Service from a simple Java class by creating a service archive and deploying it to WSAS (Web Services Application Server). However, I'm having trouble invoking this service. The structure of my service is given below (which I then deployed as an .aar fi

java.lang.NullPointerException when attempting to access resources in an .aar file.

2007-12-03 Thread Sanjay Vivek
} } else { return "An error occured"; } } } Regards -- Sanjay Vivek Web Analyst Middleware Team ISS University of Newcastle Upon Tyne - T

Config files not being picked up during deployment.

2007-11-28 Thread Sanjay Vivek
initialization errors. How do I get my GrouperWS service to pick up this sources.xml? Any help would be appreciated. Cheers. Regards ------ Sanjay Vivek Web Analyst Middleware Team ISS University of Newcastle Upon Tyne - To

RE: Error when deploying Axis2 webapp.

2007-11-22 Thread Sanjay Vivek
Hi Lahiru, Yes, it's the same issue. So how do I go about fixing this? Do I download the lasted version of WTP? Cheers. Regards Sanjay From: Lahiru Sandakith [mailto:[EMAIL PROTECTED] Sent: 21 November 2007 17:24 To: axis-user@ws.apac

Error when deploying Axis2 webapp.

2007-11-21 Thread Sanjay Vivek
Hi everyone, I'm attempting to deploy a simple Axis 2 webapp with Eclipse but I keep getting the errors shown below. It appears that the mex-1.3.mar module is either not valid or Tomcat can't find it. How do I go about fixing this? I'm using Eclipse 3.3.1 and Tomcat 6.0.14. Any help would be great