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

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

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

2008-07-24 Thread Sanjay Vivek
difference. I've posted both the SOAP request (from a .NET client) and response (from a Rampart enabled service) messages at the bottom of this email for further reference. Any insight would be greatly appreciated. Cheers. Regards -- Sanjay Vivek SOAP Request from a .NET client

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

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

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

RE: Rampart versions

2008-07-15 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

RE: Rampart: Policy versus Parameters

2008-07-15 Thread Sanjay Vivek
:[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: Mon 7/14/2008 8:25 PM To: axis-user@ws.apache.org Subject: RE: Rampart

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 -

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]

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:

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

2008-07-01 Thread Sanjay Vivek
] - http://wso2.org/files/UToverHTTPS.xml On Thu, Jun 26, 2008 at 2:24 PM, Sanjay Vivek [EMAIL PROTECTED] wrote: Hi everyone

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

2008-06-30 Thread Sanjay Vivek
] - 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: Hi everyone

Exceptions when using a Rampart client generated from stub classes.

2008-06-26 Thread Sanjay Vivek
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 additional commands, e-mail: [EMAIL

Disabling HTTPS for Rampart enabled services.

2008-06-24 Thread Sanjay Vivek
-- Sanjay Vivek Web Analyst Middleware Team ISS Newcastle University - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

WSSE security headers not being send by client.

2008-06-19 Thread Sanjay Vivek
2.1.4 respectively? Any pointers on how I can rectify this will be most welcome. Cheers. 1 - http://ws.apache.org/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

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,

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 Axis2

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
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 University

Configuring Transport Sender/Receiver for multi-port services.

2008-04-29 Thread Sanjay Vivek
transporthttpwssec/transport /transports However, I get an Allocate exception for servlet AxisServlet 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

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

2008-04-28 Thread Sanjay Vivek
be greatly appreciated. Cheers. Regards -- Sanjay Vivek 28-Apr-2008 11:14:34 org.apache.catalina.core.StandardWrapperValve invoke SEVERE: Allocate exception for servlet AxisServlet java.io.CharConversionException: Invalid UTF-8 middle byte 0x3f (at char #2840, byte #-1

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

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 and

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

2008-04-17 Thread Sanjay Vivek
? Is there a workaround? I read somewhere that this might be possible by enabling my services for certain ports by having my servlet contain to listen on multiple ports. Any insight in this matter would be appreicated. Cheers. Regards -- Sanjay Vivek Web Analyst Middleware Team ISS

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: 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. Cheers

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
); client.engageModule(rampart); 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]

Can a service support both Basic Auth and Rampart Auth?

2008-03-07 Thread Sanjay Vivek
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 University of Newcastle Upon Tyne - To unsubscribe, e-mail

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

Error when obtaining UsernameToken information from a different class.

2008-03-03 Thread Sanjay Vivek
) 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

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

2008-02-14 Thread Sanjay Vivek
/soapenv:Envelope /processingStep /inputMessage /log 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

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

NoSuchMethodError when engaging Rampart.

2008-01-08 Thread Sanjay Vivek
-- 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

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

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

2007-12-03 Thread Sanjay Vivek
{ return An error occured; } } } Regards -- Sanjay Vivek Web Analyst Middleware Team ISS University of Newcastle Upon Tyne - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e

Config files not being picked up during deployment.

2007-11-28 Thread Sanjay Vivek
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 unsubscribe, e

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:

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