Fatima
My apologies for not getting back sooner.
If you want to return XML from a file you can read it into an
OMElement like this:
File file = new File("path"); // your file
FileInputStream fis;
StAXOMBuilder builder;
OMElement el ;
try {
Paul Fremantle a écrit :
Hi
OMElement is the represenation of XML that Axis2 uses. It is similar to DOM.
Do you already have the XML in an object (DOM, SAX, StAX, String,
byte[]), or do you want to create the XML in your program?
There are answers for all of these but I figured it would be eas
Hi
OMElement is the represenation of XML that Axis2 uses. It is similar to DOM.
Do you already have the XML in an object (DOM, SAX, StAX, String,
byte[]), or do you want to create the XML in your program?
There are answers for all of these but I figured it would be easier to
start with your scen
Hi, I want to exchange arbitrary XML documents with my webservice. In
the WSDL definition I use xsd:anytype and when I create the java classes
with wsdl2java the object is OMElement. How can I manage this object to
parse to an XML file? Thanks
--