Egger - Because the structure is set to <any/> and the DOM schema is not explicitly defined, a predefined serializer really can't be created automagically.
Rather than performing an RPC operation, the service is performing a 'document style' operation and does not really expect the XML to be deserialized into Java types. See samples.message for a similar example of how to obtain the XML elements, and then perform your own transformation. Hope this helps, /Chris -----Original Message----- From: Egger Oliver [mailto:[EMAIL PROTECTED]] Sent: Wednesday, March 27, 2002 7:08 AM To: [EMAIL PROTECTED] Subject: Deserializer for XmlDocument (DOM Tree)? Hello, I want to consume a .NET service which returns a XmlDocument (Dom Tree), the generated WSDL description (snip) is a following: <s:element name="getEquityInfoResponse"> <s:complexType> <s:sequence> <s:element minOccurs="0" maxOccurs="1" name="getEquityInfoResult"> <s:complexType mixed="true"> <s:sequence> <s:any /> </s:sequence> </s:complexType> </s:element> </s:sequence> </s:complexType> </s:element> when I generate with WSDL2Java the client an run it the follwing errors appears: org.xml.sax.SAXException: Deserializing parameter 'getEquityInfoResult': could not find deserializer for type http://ecofin.ch/valoresbrowser/webservices/:>getEquityInfoResponse>getE quit yInfoResult Has anybody already written a specialised Serializer for a DOM Tree, I checked in the samples and there is one for one Element (samples.encoding), but not directly for a DOM Tree. If somebody could get hints how to write one, I would appreciate it very much. Best, Oliver P.S: The goal is to cosume the Soap response for a XSLT transformation, if the above outlined way would be to complicated and an easier solution would be possible please send me a message. Neu: NZZ finfox Die Finanz- und Verm�gensplanung f�r Private http://finfox.nzz.ch <http://finfox.nzz.ch/> ECOFIN Research and Consulting AG Neumuensterallee 6 CH-8032 Zuerich +41 1 389 65 29 neu ab 20.03.02: Tel. +41 43 499 3252 [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> http://www.ecofin.ch <http://www.ecofin.ch/>
