Thanks!

The following works as I was asking:

        // Extract RPC operation element
        op = request.getRpcOperation();
        if (op != null) {
                // Get concrete type of abstract element
                SchemaType opType = op.schemaType();

        - Andy

On Wed, 3 Dec 2008 15:16:36 -0500  "Radu Preotiuc-Pietro" wrote:
 > If you want the concrete type of an XmlObject, call xmlObject.schemaType(),
 >  if you want the static type, do MyXmlObjectClass.type.
 > 
 > If you want the name of the enclosing element, you need to do xmlObject.new
 > Cursor().getName() (Note that there's no "declared element"). Finally, if y
 > ou want to print the object and the enclosing element name, call xmlObject.
 > xmlText(new XmlOptions().setSaveOuter()).
 > 
 > Hope this helps,
 > Radu 
 > 



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to