Re: Security : Why my timestamp is two hours before my system hour ?
Not sure if this helps or not, but the timestamp is output in UTC time. Therefore, unless your local timezone offset is 0, the time will always differ. - Erich Musick On Tue, Aug 26, 2008 at 7:22 AM, Mehdi Rabah [EMAIL PROTECTED] wrote: Hi, Here is my problem : yesterday my webservice was working, today it's not. Without code modifications :) I have this error : WSDoAllReceiver: security processing failed I've looked into the SOAP enveloppe and the timestamp is two hours before my system time. Example : wsu:Created 2008-08-26T09:03:00.687Z/wsu:Created // when really, it's 11:03 Is this a know problem ? Any idea of where I should search the problem (keep in my mind that my WS was working and I made no code modifications) ? Cheers Mehdi
Reducing list of namespaces in Axis-Generated XML?
Is there any way to optimize/reduce the list of namespaces in the response messages generated by AXIS? In the sample response message I've included below, you'll see that I'm getting the same namespace declaration ( http://somesite.acme.com/types/common) over and over. I'd like to remove this to minimize my network traffic. It would be ideal if axis would include the namespace/prefix declaration ONCE in the Envelope tag, instead of everytime it uses an element belonging to that namespace. I'm using AXIS1 1.4. Thanks! - Erich Musick -- Sample Output -- soapenv:Envelope xmlns:soapenv=http://schemas.xmlsoap.org/soap/envelope/; xmlns:xsd=http://www.w3.org/2001/XMLSchema; xmlns:xsi= http://www.w3.org/2001/XMLSchema-instance; soapenv:Header/ soapenv:Body ns2:AutoRentalAgency xmlns:ns2= http://somesite.acme.com/types/AutoRentalAgency/response; ns2:AutoRentalAgencyIdentity ns3:AutoRentalAgencyId xmlns:ns3= http://somesite.acme.com/types/common;1052/ns3:AutoRentalAgencyId /ns2:AutoRentalAgencyIdentity ns2:nameBill's Kar Rental/ns2:name ns2:uniqueNameBILLS_KAR_RENTAL/ns2:uniqueName ns2:address ns14:address1 xmlns:ns14=http://somesite.acme.com/types/common;123 Any Street/ns14:address1 ns15:city xmlns:ns15=http://somesite.acme.com/types/common Chicago/ns15:city ns16:state xmlns:ns15=http://somesite.acme.com/types/common IL/ns16:state ns17:zipCode xmlns:ns16=http://somesite.acme.com/types/common 60010/ns17:zipCode ns18:country xmlns:ns17=http://somesite.acme.com/types/common USA/ns18:country /ns2:address ns2:lastUpdated2008-04-28T19:41:10.000Z/ns2:lastUpdated /ns2:AutoRentalAgency /soapenv:Body /soapenv:Envelope