Hi,
Am I able to omit variables from being included in the OMElement using this
method? I'm not seeing I can use this method to convert a business object.
I'm thinking one method may be to add a getOMElement() method to the
business object, but I'm reluctant to tie the business object to the Axis
library.
Regards,
Alan.
mgainty wrote:
>
> Hi Alan
>
> xmlDoc is the sample input XML file which contains
> "<wrapper><myIntVal>200</myIntVal></wrapper>"
> NamedStaxOMBuilder is a StaxOMBuilder which takes a Qname parameter
> which wraps the element you want the builder to process..since we want to
> only process wrapper XML Node
> we'll use the QName which only wraps the desired XML chunk
>
> in this case..
> new QName("wrapper")
>
> extracted from the Axis2-1.3 sample supplied located in your Axis2-1.3
> distro at
> org.apache.axis2.databinding.utils.NamedStaxOMBuilderTest.java
>
> Thanks
> Martin-
>
--
View this message in context:
http://www.nabble.com/POJOto-OMElement-tp16590554p16598316.html
Sent from the Axis - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]