Hi In the mean time we have solved the problem.
It had to do with the wrong namespace in the WSDL2Java generated client code. It should have been http://de.hvb.aat.service.values, and was http://values.service.aat.hvb.de So on the client side it was not able to find the registered BeanSerializer and used the SimpleDeserializer. HTH to someone. Tezcan From: Dilshener Tezcan (extern HVB IS - UniCredit Group) [mailto:[email protected]] Sent: Dienstag, 3. Februar 2009 18:59 To: [email protected] Subject: Help with SimpleDeserializer encountered a child element Hi, Further to my help in below email, here is some more details. The debug tells me that the parser is currently on element <attributes href="#id7"/> and id id2 of the response. That is how I figured it out that it fails to when trying to process the second element of the AcAATDocument[2] Array Pls help Cheers Tezcan From: Dilshener Tezcan (extern HVB IS - UniCredit Group) [mailto:[email protected]] Sent: Dienstag, 3. Februar 2009 18:45 To: [email protected] Subject: Help with SimpleDeserializer encountered a child element Hi, When my Axis client tries to parse the response it received from the WebService, it fails on an Array instance with the following exception. org.xml.sax.SAXException: SimpleDeserializer encountered a child element, which is NOT expected, in something it was trying to deserialize. This occurs only when the array has more than one item!!! Otherwise it works fine. I did a TCP/IP monitor and verified that the xml received is valid. 3 things that makes it frustrating 1-) another existing Axis WebService has the same method and returns the same type. That works fine, when I compare the response with the one from the failure, I do not see any differences apart from order of attributes. 2-) this is Axis1.2RC1 and is for Italy. L(( I have no source code to debug the Axis code, JAD decompiler produces rubbish) 3-) Google search says I should upgrade to latest Axis, but cannot do due to infrastructure restrictions ! Anyway, I would be so thankful if someone can give me couple guides to where to start looking into before I go mad. Tezcan Dilshener Satz Software & Consulting GmbH HVB Information Services GmbH Member of UniCredit Group HII3ES Development Services Client Server Am Tucherpark 12 D-80538 München Tel: +49 89 378-42158 mailto:[email protected] <mailto:[email protected]> http://www.hvbis.com <http://www.hvbis.com> The legal obligation information of HVB Information Services GmbH can be found at: http://www.hvbis.com/is/de/pub/441.htm <http://www.hvbis.com/is/de/pub/441.htm> Die gesetzlichen Pflichtangaben zur HVB Information Services GmbH finden Sie unter: http://www.hvbis.com/is/de/pub/441.htm <http://www.hvbis.com/is/de/pub/441.htm> Important Note: This e-mail is only intended for the person or company/organisation named as recipient. It may contain trade secrets or undisclosed and confidential information or information otherwise protected by work-product immunity or other legal regulations. If you have received this email by mistake, we kindly ask you not to copy this message or use it for any purpose nor disclose its contents to any other person. Please inform us immediately and delete the original document. In addition, please let us know if you or your company object to receiving e-mails for messages of this kind. Wichtiger Hinweis: Diese E-Mail ist nur für die Person oder die Firma/Organisation bestimmt, die in der Empfängeradresse benannt ist und enthält u. U. Geschäftsgeheimnisse oder vertrauliche Informationen, die dem Schutz von Arbeitsergebnissen unterliegen oder sonst rechtlich geschützt sind. Wenn Sie nicht der angegebene Empfänger sind, bitten wir Sie, uns unverzüglich zu informieren und diese Nachricht zu vernichten und sie insbesondere nicht zu kopieren oder sie für irgendwelche anderen Zwecke zu verwenden, noch den Inhalt dieser Nachricht dritten Personen zugänglich zu machen. Bitte informieren Sie uns auch unverzüglich, wenn Sie oder Ihr Arbeitgeber nicht mit E-Mail Nachrichten dieser Art einverstanden sein sollten.
