Re: Regarding validating SOAP responses against the WSDL

2009-03-20 Thread Sneha Nikum
Hi , In that case, how can i extarct the schema from a particular WSDL using AXIS2 api?? can u elaborate more on that? On Fri, Mar 20, 2009 at 11:09 AM, Dennis Sosnoski d...@sosnoski.com wrote: Hi Sneha, Validating against a schema definition is easy. I developed a validation module for

Help to understand when would this situation arise?

2009-03-20 Thread venksrir
Hello All, We are using Axis 1.4 for Webservice. Our application is showing a huge performance degradation and the logs indicate the following exception java.util.HashMap.get(HashMap.java:346) org.apache.axis.encoding.TypeMappingImpl.getSerializer(TypeMappingImpl.java:324)

RE: Regarding validating SOAP responses against the WSDL

2009-03-20 Thread Dhanush Gopinath
Check into this package org.apache.axis2.wsdl.* Or else you can use WSDL4J API's too From: Sneha Nikum [mailto:snehani...@gmail.com] Sent: Friday, March 20, 2009 11:39 AM To: axis-user@ws.apache.org Subject: Re: Regarding validating SOAP responses against the WSDL Hi , In that case,

Sandesha sequence auto termination

2009-03-20 Thread Andrei Ivanov
Hello, I found the following property: org.apache.sandesha2.storage.beans.RMSBean.avoidAutoTermination but I don't understand how it works AFAIS, the setter for this property is only called on the client side, so the client can ask Sandesha not to terminate the sequence? The problem seems to be

Re: Using custom token in and rampart

2009-03-20 Thread Håkon Sagehaug
Hi Any tips on this issue? cheers, Håkon 2009/3/17 Håkon Sagehaug hakon.sageh...@bccs.uib.no Hi all I've got a service that accepts a custom token from a sts service, but when I call my end service after injected the custom token into my header I always get org.apache.axis2.AxisFault:

Re: problem using jaxws WS on tomcat

2009-03-20 Thread javier
Thank you Lin and Charith! I added tools.jar to the 'shared.loader' parameter of catalina.properties and it works. I'm using Java6 on Linux FC. It seems tomcat doesn't have on the classpath that jar file javier --- En date de : Ven 20.3.09, Charith Wickramarachchi

General setup of ws-trust

2009-03-20 Thread Håkon Sagehaug
Hi all, I've been trying to really to understand ws-trust from the more general perspective, so maybe not the question should go out here, but since rampart is ws-trust implementation I hope it's okay. My setup is the classical ws-trust setup 1.Client 2.Sts 3.Target service The target service

Re: Implementation of WS security using Apache Rampart

2009-03-20 Thread Håkon Sagehaug
Hi Do you have the module file, in my case I use Tomcat, in TOMCAT_HOME/webapps/axis2/WEB-INF/modules 2009/3/20 shreya gupta shreya.gupt...@gmail.com Hey, Thank you for the guidance but we still havent been successful. Have been getting the following error.. The system is attempting to

Re: Implementation of WS security using Apache Rampart

2009-03-20 Thread shreya gupta
nopewe have embedded jboss and axis2 for our project so we have the modules in our project folder We have copied the rampart modules into that folder.. however there is no axis2.xml file for our project... We are embedding it using our application context servlet. So we made changes to our

Axis2 service to get username from rampart

2009-03-20 Thread Jan Pernica
Hi I am new to rampart and I would like know if it is possible to get username calling the service? We need it to take specific action for each user calling the service. Thank you Jan PS: my googling have not provided the answer :-)

Re: General setup of ws-trust

2009-03-20 Thread Håkon Sagehaug
Hi Thanks for the replay see inline 2009/3/20 Massimiliano Masi m...@math.unifi.it Hi, In general you should encrypt a message using the public key of the recipient and sign with the private key of the sender. This enforces integrity (the signature), authentication (the signature) and

Re: Using custom token in and rampart

2009-03-20 Thread Håkon Sagehaug
hi Nandana see inline 2009/3/20 Nandana Mihindukulasooriya nandana@gmail.com How does your custom token get validated ? This was what I really wondered about, how i could validate the custom token, I thought I could perform this in a password callback handler. Extract the Custom token

Re: General setup of ws-trust

2009-03-20 Thread Massimiliano Masi
Hi, In general you should encrypt a message using the public key of the recipient and sign with the private key of the sender. This enforces integrity (the signature), authentication (the signature) and confidentiality (the encryption). As I told you, the RSTR is not correct. You really should

Re: Using custom token in and rampart

2009-03-20 Thread Nandana Mihindukulasooriya
How does your custom token get validated ? Have you added a custom handler for that ? WSS4J has a map of processor registered with the QName of the header block in the security header. So if we can register a processor for your custom header, then we can get this problem solved. Yes, at current we

Re: Implementation of WS security using Apache Rampart

2009-03-20 Thread shreya gupta
Hey, Thank you for the guidance but we still havent been successful. Have been getting the following error.. The system is attempting to engage a module that is not available: rampart We tried making changes to both axis2.xml file and also the services.xml file. My service is deployed on a

Re: Implementation of WS security using Apache Rampart

2009-03-20 Thread Sagara Gunathunga
Hi shreya, Can you post the layout of your complete project folder , like where you have placed your service.xml , module mar files etc ... ? Thanks , On Fri, Mar 20, 2009 at 5:34 PM, shreya gupta shreya.gupt...@gmail.com wrote: nopewe have embedded jboss and axis2 for our project so we

Re: General setup of ws-trust

2009-03-20 Thread Massimiliano Masi
Hakon, Yes, it's only xml, but is important! (The RSTRC). :-) I don't understand your security token, I don't know if you expressed it correctly: You have a RequestSecurityTokenResponse -- missing RequestedSecurityToken com:Token that's ok but you are signing something that I

Re: Implementation of WS security using Apache Rampart

2009-03-20 Thread Sagara Gunathunga
Hi Shreya, It's seems like your are deploying as a .WAR package , I cant see any major issue but I like to suggest following change . --services folder -webservice.aar Instead of having .aar file here , place only services.xml file as follows

Re: General setup of ws-trust

2009-03-20 Thread Håkon Sagehaug
Hi I guess what I'm trying to achieve with the token is to have a light weight SAML token. so just wanted to know if it was correct to have the ds:SignedInfo inside the element itself and signed by the private key of the sts. Another try on the XML ;) RequestSecurityTokenResponseCollection

Re: General setup of ws-trust

2009-03-20 Thread Massimiliano Masi
Hi Hakon, Just one issue on your token: Please use an enveloped signature (the signature itself is part of the token). In this way, if you don't sign the whole body, you'll be vulnerable to rewrite attacks. And another suggestion: If the token is inteded for a particular audience, then this

Re: General setup of ws-trust

2009-03-20 Thread Håkon Sagehaug
Hi Thanks for you tips and time, I'll read the paper. And take the weekend to try to understand the hole of this. cheers, Håkon 2009/3/20 Massimiliano Masi m...@math.unifi.it Hi Hakon, Just one issue on your token: Please use an enveloped signature (the signature itself is part of the

Re: General setup of ws-trust

2009-03-20 Thread Massimiliano Masi
Hi, Quoting Håkon Sagehaug hakon.sageh...@bccs.uib.no: Thanks for you tips and time, I'll read the paper. And take the weekend to try to understand the hole of this. Yes, I think it is a good starting point. It is not difficult to read, and it's interesting. To put the identities inside the

Where to find old bugs (from http://nagoya.apache.org/bugzilla/)?

2009-03-20 Thread BoD
Hi! I'm experiencing a problem with axis1 and googling gives lots of results that point to old bug reports on http://nagoya.apache.org/bugzilla/. Now it is my understanding that this server does not exist anymore, and that JIRA is used instead. But was there a migration of the bugzilla

axis2 1.4.1 - packaging of jars for WAR distribution

2009-03-20 Thread Nath, Niraj
Hi, We are using axis2 1.4.1. Till now we have been using the WAR distribution as we were mainly creating deploying services. Now for some of our work we needed to use axis libraries outside the axis2 web application. Just for testing we took all the jars from axis2 web-inf/lib folder,

Re: axis2 1.4.1 - packaging of jars for WAR distribution

2009-03-20 Thread ibrahim demir
Hi; Amila has written a great post about this toppic http://amilachinthaka.blogspot.com/2008/11/minimal-jars-to-run-apache-axis2.html But this is for adb . You may need to change some jars if you are using a diffrent data binding framework. I am using this configuration for invoking .net web

RE: axis2 1.4.1 - packaging of jars for WAR distribution

2009-03-20 Thread Nath, Niraj
Thanks for the reply. My question is little different I think. I basically want to know that out of the list of jars(or the list which Amila posted on the link given), which are mandatorily needed to be inside the axis2 web app. OR out of the list of jars which all can be kept at the

Re: Help to understand when would this situation arise?

2009-03-20 Thread keith chapman
Have you considered upgrading to Axis2? It performs 4 to 5 times faster than Axis. Thanks, Keith. On Fri, Mar 20, 2009 at 11:39 AM, venksrir venks...@yahoo.com wrote: Hello All, We are using Axis 1.4 for Webservice. Our application is showing a huge performance degradation and the logs

Re: Axis2 service to get username from rampart

2009-03-20 Thread keith chapman
Hi Jan, If you secure the service using UsernameToken authentication you could get the username as described in [1]. Thanks, Keith. [1] http://www.keith-chapman.org/2008/09/axis2-rampart-access-username-used-for.html 2009/3/20 Jan Pernica jan.pern...@pernica.org Hi I am new to rampart and

Re: ClassCastException with weblogic and axis2

2009-03-20 Thread keith chapman
Deploying Axis2 on Weblogic can be a pain sometimes due to class loading issues. Here are a couple of post that worked. [1] Weblogic9.2 with Axis2 webservice http://forums.oracle.com/forums/thread.jspa?threadID=855171tstart=0 [2] How to deploy Apache Axis2 on WebLogic