|
can you please submit a diff against latest CVS? easier to review the changes. (New files i can get from the zip, that's ok)
thanks, dims I have attached diffs as you requested.
Thanks, Dmitry The patch against the latest version of CVS
Applied patch.
thanks, dims I see this is marked fixed but not closed, and there is no Fix version set...and yet 1.3 has come out since the comments with the patch.
Was this fix really in 1.3 and not closing seting the Fix version just an oversight? Or does 1.3 still have this bug? I am in fact seeing this same kind of [0,unbounded] crap in my messages with 1.3 and it is breaking my interoperability. I'm not sure why you still see that [0,unbounded] crap in your messages...
We tested Axis 1.3 with our WSDL and it seemed to be working fine... I comparing the source, I can see that this patch is indeed in the 1.3 source. I'm attempting to debug it, though I don't really have much of a grasp of how all the various serialization classes come into play...I'm not actually seeing CastorSerializer be invoked in my case (not that I have any basis for thinking it should, other than its mention in this bug which I found by searching on the symptom), but rather BeanSerializer, SerializationContext, and ArraySerializer.
I'm beginning to suspect ArraySerializer...perhaps I should create a new Issue. I am having this exact issue right now. Axis 1.3 is encoding my Array-enabled messages with the same exact broken XML as you're listing above (example below). I am using the standard serializers -- my guess is that ArraySerializer is having the issue.
Eric Schwarzenbach: Did you find any resolution to this? I see in certain mailing list messages that changing the structure of the WSDL may solve the problem... have you tried this? I couldn't find a new bug on this so I assume you haven't yet created one? Here is an example of mine: [code] HTTP/1.1 200 OK Server: Apache-Coyote/1.1 Content-Type: text/xml;charset=utf-8 Date: Thu, 30 Mar 2006 05:10:54 GMT Connection: close <?xml version="1.0" encoding="utf-8"?> <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:Body> <getAlarmListResponse xmlns="http://vtracsystems.net/ResponseCenterService"> <alarm[0,unbounded]> <alarmTime xmlns="">1142220126</alarmTime> <latestEventTime xmlns="">1142220265</latestEventTime> <lastUpdateTime xmlns="">1142220265</lastUpdateTime> </alarm[0,unbounded]> <alarm[0,unbounded]> <alarmTime xmlns="">1142220266</alarmTime> <latestEventTime xmlns="">1142220508</latestEventTime> <lastUpdateTime xmlns="">1142220508</lastUpdateTime> </alarm[0,unbounded]> <alarm[0,unbounded]> <alarmTime xmlns="">1142220901</alarmTime> <latestEventTime xmlns="">1142221208</latestEventTime> <lastUpdateTime xmlns="">1142221208</lastUpdateTime> </alarm[0,unbounded]> </getAlarmListResponse> </soapenv:Body> </soapenv:Envelope> [/code] Please file a new bug report if you are having problems with standard serializers. This bug was resolved for CastorSerializers.
Done. I've created a new bug #AXIS-2454 to deal with this as a separate issue.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
The ZIP also includes updated Castor*Factory.java classes with static create(..) method to suppress
annoying NoSuchMethodException exceptions like
java.lang.NoSuchMethodException: org.apache.axis.encoding.ser.castor.CastorSerializerFactory.create(java.lang.Class, javax.xml.namespace.QName)