cxf-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Cheng <christopher.sw.ch...@gmail.com>
Subject Setting values to <s:any/> with XMLObject
Date Sun, 14 Feb 2010 16:35:33 GMT
I am using XMLBeans to generate Java code with WSDL. One of my XSD documents
of WSDL has <s:any/> as a type.
If I have another XMLObject constructed, how could I set the value?

<s:element maxOccurs="1" minOccurs="0" name="Request">
       <s:complexType>
        <s:sequence>
         *<s:any/>*
        </s:sequence>
       </s:complexType>
</s:element>

This doesn't seem to work.

Request request = Request.Factory.newInstance();
request.set(anotherXmlObject);

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message