Hi,

You can add either DOM or JAXB elements in xs:any list:

                JAXBElement<X509DataType> x509Data = 
W3C_Constants.DSIG_OBJECT_FACTORY
                                .createX509Data(x509DataType);
                List<Object> keyInfoContent = keyInfo.getContent();
                keyInfoContent.add(x509Data);

Cheers,
Andrei.

> -----Original Message-----
> From: Carlos Garces [mailto:[email protected]]
> Sent: Dienstag, 19. Februar 2013 23:42
> To: [email protected]
> Subject: Working with WSDL with xsd:any elements
> 
> Hi!
> 
> I have several WSDL with complex types using xsd:any elements
> 
> In the input and output objects generated with wdsl2java this elements are
> converted to List<Object>
> 
> I think that I should use org.w3c.dom.Element to handle it but I'm not sure
> about the implementation.
> 
> Any one have a sample about how work with xsd:any elements and
> org.w3c.dom.Element?

Reply via email to