Jorge,
Thanks, I'll watch that JIRA... :-) Regards, Larry Johnson ________________________________ From: Jorge Fernandez [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 28, 2007 9:47 AM To: [email protected] Subject: RE: TimeZone Not Handled Properly In java.util.Date Conversions Hi Larry, I had the same problem. And I was asked to open a JIRA few days ago: AXIS2-2239 regards, Jorge Fernandez "Johnson, Larry D (LJOHNSON)" <[EMAIL PROTECTED]> escribió: Amila, I finally got some time to test the java.util.Data issue. The SNAPSHOT that I downloaded seems to take care of the TimeZone issue I originally reported; however, I have found one additional issue. The generated WSDL for the Date object is as follows: <xs:element name="flightTime" type="xs:dateTime"/> Notice there is no 'nillable' attribute on this definition. There are times when this value may be null and the SOAP message sent has that value set to null. Here is a snippet from the SOAP message returned: <flightTime xmlns:nil="http://www.w3.org/2001/XMLSchema-instance" nil:nil="true" /> As stated earlier, we are deploying POJOs and generate the stubs using the Axis2 supplied WSDL2Java processor. Any thoughts on why the auto-generated WSDL is not including the nillable="true" attribute for this element? Regards, Larry Johnson ________________________________ From: Johnson, Larry D (LJOHNSON) [mailto:[EMAIL PROTECTED] Sent: Thursday, February 22, 2007 11:50 AM To: [email protected] Subject: RE: TimeZone Not Handled Properly In java.util.Date Conversions Amiila, We are deploying our service via POJOs. I copied a version of saaj into the axis2 lib directory and the problem was corrected. I just wanted to let you know that the SNAPSHOT was not a complete distribution since the team moved to providing the SOAPEnvelope impl class. I am still trying to get some time to test the Date issue and hopefully will get that time today. I will let you know the results. Regards, Larry Johnson ________________________________ From: Amila Suriarachchi [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 21, 2007 10:54 PM To: [email protected] Subject: Re: TimeZone Not Handled Properly In java.util.Date Conversions On 2/21/07, Johnson, Larry D (LJOHNSON) <[EMAIL PROTECTED]> wrote: Amila, I downloaded the axis2-SNAPSHOT.zip distribution and tried to rerun the test. When the server tries to return the SOAP message, I now receive the following exception: Caused by: java.lang.NoClassDefFoundError: javax/xml/soap/SOAPEnvelope at com.arinc.afd.clfengine.processor.CommandProcessor.sendCommandToJAGS(Unknown Source) at com.arinc.afd.clfengine.processor.jl.GetSeatAvailabilityProcessorJL.processHostRequest (Unknown Source) Digging into a little shows that in this SNAPSHOT, the axis2-saaj-SNAPSHOT.jar file no longer contains a SOAPEvelope class; however, it does contain a SOAPEnvelopeImpl class. This impl class references the javax.xml.soap.SOAPEvelope class from the standard saaj distribution; however, saaj was not provided within the distribution. I deployed the SNAPSHOT by downloading the archive and then exploding it. Once expanded, I build the WAR file by going into the {path.to.axis2}/axis2-SNAPSHOT/webapp and issuing the following command: 'ant'. The resulting axis2.war was built without error and was found residing in the 'dist' directory. The WAR file was then moved into the Tomcat 'webapps' directory (after removing the prior distribution). Can you explain how you create your service as well. I hope you creating it with a POJO class. Then that Caused by: java.lang.NoClassDefFoundError: javax/xml/soap/SOAPEnvelope is not most probably relates to saaj. but it may be an OM problem. Can you please send your wsdl or POJO then I can have a try. -- Amila Suriarachchi, WSO2 Inc. ________________________________ LLama Gratis a cualquier PC del Mundo. Llamadas a fijos y móviles desde 1 céntimo por minuto. http://es.voice.yahoo.com <http://us.rd.yahoo.com/mail/es/tagline/messenger/*http:/es.voice.yahoo.com/>
