Extra/dupe members in SOAP response prevents serialization (Axis, Java, Gson)
问题 I am using Axis to call a SOAP-based web service. I'm then trying to serialize the returned remote object as JSON, using the Google Gson library. The serialization to JSON fails, with Gson complaining that "there are multiple elements with the name __equalsCalc()). When I inspect the returned object in my IDE (Eclipse), I can see that this is true -- the returned object has three members called __equalsCalc() and another three called __hashCode. I know from looking around that these are added