Error handling in rampart 1.4

2009-07-28 Thread Chinmoy Chakraborty
Hi, I am using rampart 1.4 for WS-Security enbaled services. I am sending username and plain text password in the SOAP header. Now if any error occurs while invoking the service, it does not propagate to the client. Is it a bug or I am missing something? Chinmoy

Re: Error handling in rampart 1.4

2009-07-28 Thread Chinmoy Chakraborty
Hi, I am using rampart 1.4 for WS-Security enbaled services. I am sending username and plain text password in the SOAP header. Now if any error occurs while invoking the service, it does not propagate to the client. Is it a bug or I am missing something? When I don't use rampart for normal (non

Re: Custom RPC provider issue

2009-07-28 Thread vck
Hi Folks, I am using the WTP in eclipse ganymede to create a simple web service for my testing purposes. My simple webservice works well after the wsdd, wsdl, etc files are autogenerated by the plugin. I now try to change the wsdd a bit by trying to provide my own RPC provider called

Axis 1.4 SocketTimeoutException

2009-07-28 Thread Chohan, Dharmesh
Hi I have used Axis 1.4 to run wsdl2java to generate the Java classes. When I run the application I am getting java.net.SocketTimeoutException: Read timed out. I have checked my request and response using wireshark that web server is generating a valid SOAP response based on my client call.

RE: Axis 1.4 SocketTimeoutException

2009-07-28 Thread Betts, Hendry
Dharmesh, To address this, I have used the following code: Options options=new Options(); options.setTimeoutInMilliSeconds(int) Then before the invoke, I use the setOptions(options) method. Hendry Betts| ViaSat |Developer| *:hendry.be...@viasat.com| *:678.924.2409 | *:

Kerberos support in Axis/Rampart?

2009-07-28 Thread Axis PC
All, I have seen some third party implementations such as http://thejavamonkey.blogspot.com/2008/09/axis-2-kerberos-web-services-featuring.html. I have also seen some posts on people willing to combine these kind of implementations for kerberos into axis 1.4/1.5. So...what is the progress on

Re: Issue in SignedSupportingTokens with IssuedToken requesting for SAML

2009-07-28 Thread prabath
Hi Amitesh; The attached policy uses an IssuedToken [SAML] for signing. You may develop the policy there to cater your requirement. Thanks regards. -Prabath amiteshksingh wrote: Does anybody know whether it is supported by AXIS2/Rampart or not? Thanks, Amitesh amiteshksingh wrote:

Re: Problem calling Web Service - HTTP 503 error

2009-07-28 Thread Andreas Veithen
Jan, Axis2 uses commons-logging. If log4j is in your classpath, then you can configure it in log4j.properties. Andreas On Tue, Jul 28, 2009 at 19:30, Jan Freitagjan_frei...@gmx.de wrote: Hi Andreas, thank you very much! But I have at the moment not the possiblity to look at the server logs

Re: axis2 + Spring2.5+Hibernate

2009-07-28 Thread Sagara Gunathunga
Hi , You can write your functions with Spring/Hibernate as usual and then possible to expose your Spring services ( a bean) as a web service using Axis2 -Spring integration. Basically you have to do following two steps. 1.) Like in any other web framework define the Spring ContextLoaderListener

Re: schema location resolution

2009-07-28 Thread Dmitry Beransky
filed as https://issues.apache.org/jira/browse/AXIS2-4451 thanks On Tue, Jul 28, 2009 at 12:06 PM, Andreas Veithenandreas.veit...@gmail.com wrote: Dmitry, I already noticed previously that the code responsible for the import rewriting and WSDL/XSD request handling looks very suspicious, but

Help with Deserialization of complex object with Java Webservice

2009-07-28 Thread guitarro17
Let me explain. I have this object: public class Alert { private String name; private String approximateStartDate; private String startDate; private String stopDate; ... } And in my webservice, I have this method: public Alert[] getAlerts() throws

Re: Issue in SignedSupportingTokens with IssuedToken requesting for SAML

2009-07-28 Thread amiteshksingh
Hi Prabath, Thank you very much for reply. My requirement is little bit changed, I want signed SAML token from STS, since SAML token issued by STS would contain some user info in AttributeStatement, requirement says it must be signed. The policy file which you sent is more about signing the

Re: axis2 + Spring2.5+Hibernate

2009-07-28 Thread sam wong
hi,Sagara, I found this in the sample page :Spring versions 1.2.6, 1.2.8 and 2.0 have been tested, but probably any version would work as only the core functionality is required. I am using spring 2.5, current axis2 version is not support spring 2.5 ? Best Regards, Sam Wong 2009/7/29

Re: axis2 + Spring2.5+Hibernate

2009-07-28 Thread Sagara Gunathunga
AFAIK there is no any restriction with Spring 2.5 or any other version , i don't think you will encounter any version problem. As i remember i have used Spring 2.5.6 without any problems, so you better to try out first and write back to the list if you get any issue. Thanks , On Wed, Jul 29,

Re: Issue in SignedSupportingTokens with IssuedToken requesting for SAML

2009-07-28 Thread prabath
Hi Amitesh; Please have a look at [1]. It explains exactly what you want I guess. Thanks regards. -Prabath [1]:http://blog.facilelogin.com/2009/05/accessing-proxy-services-in-wso2-esb.html amiteshksingh wrote: Hi Prabath, Thank you very much for reply. My requirement is little bit

Re: axis2 + Spring2.5+Hibernate

2009-07-28 Thread sam wong
hi,Sagara first , my web site is working. 1. Spring Bean public interface IDataSetEnquiryManager { public String getValue(); } public class DataSetEnquiryManagerImpl implements IDataSetEnquiryManager { public String getValue(){ return TEST; } } applicationContext.xml is:

java2wsdl arrays not getting set unbounded

2009-07-28 Thread Lachlan Deck
Hi there, Any help appreciated for the following problem :-) Each time I regenerate classes from an rpc-based wsdl any arrays defined are wrongly created. i.e., they have the private field and usual bean-style getter and setter but they're missing the following two additional steps: 1)

axis2 with spring

2009-07-28 Thread sam wong
hi, everybody, i have a web site wrote with jsf1.2+Spring2.5+Hibernate. now need to publish some Spring Bean as WebService( use axis). what steps should i do ? Thanks a lot. Sam Wong