Re: Need to find an easy way, testing my code

2008-11-05 Thread Murali Krishnan
Have you tried using jaxb2 for databinding? In my experience, I've noticed that jaxb2 generates as much as 1/10th the number of files that xmlbeans does. Just another option you can investigate... From: sri ram [EMAIL PROTECTED] To: axis-user@ws.apache.org

Re: Issue with BeanUtil.deserialize()

2008-02-08 Thread Murali Krishnan
--- .c9Y6TC { color:#ff; } .cLUY2 { color:#ea8f0f; } .c18YC0 { color:#d00020; } .c5M9S0 { color:#90; } Murali - Original Message From: Murali Krishnan [EMAIL PROTECTED] To: axis-user@ws.apache.org Sent: Thursday, February 7, 2008 3:49:29 PM Subject: Issue

Issue with BeanUtil.deserialize()

2008-02-07 Thread Murali Krishnan
Hello, BeanUtil.deserialize() throws a java.lang.InstantiationException when trying to deserialize an xml fragment. The java classes were generated using wsdl2java and jaxbri binding. One of the xml elements is 'notificationInterval' with data type 'xs:duration' which gets mapped to

Re: axis2 https Unexpected EOF in prolog

2007-12-13 Thread Murali Krishnan
Not very sure if this will help, but you can try this in your client code: Set this property as one of the options for the ServiceClient... options.setProperty(org.apache.axis2.transport.http.HTTPConstants.CHUNKED, Boolean.FALSE); Murali - Original Message From: Marco Rossi [EMAIL

Re: Rampart throws NPE

2007-10-13 Thread Murali Krishnan
where we use a SAML token to protect a message is available with WSO2 WSAS [2] - sts-sample. Please have a look at how we set the service policy in this sample. Thanks, Ruchith [1] http://svn.apache.org/viewvc?rev=584382view=rev [2] http://dist.wso2.org/products/wsas/java/2.1/ Murali Krishnan wrote

Re: Multiple service.xml files

2007-10-05 Thread Murali Krishnan
Also if you are using Tomcat (seeing from the stack trace) try removing all the previous deployment archives from the work directory... usually something like: apache-tomcat-6.0.14\work\Catalina\localhost\axis2 Murali - Original Message From: Upul Godage [EMAIL PROTECTED] To:

Rampart throws NPE

2007-10-03 Thread Murali Krishnan
I'm trying to call a simple service deployed in Axis2. I'm trying to enforce that this service requires a SamlToken whenever it is called... If I invoke this service with a soap request that doesn't have any security headers, I get the below exception at the server. If I disenagage 'rampart'

Re: Rampart throws NPE

2007-10-03 Thread Murali Krishnan
The services.xml file contents I had included appear wrong in the earlier message. I have attached it in this mail. - Original Message From: Murali Krishnan [EMAIL PROTECTED] To: [EMAIL PROTECTED] Cc: axis-user@ws.apache.org Sent: Wednesday, October 3, 2007 2:19:56 PM Subject: Rampart