Hello,

I use following codes to get a soap message from a file.
Even if a not well-formed soap message is read from the file,
StAXSOAPModelBuilder can
still create a well-formed soap message as result.

For example, in the file the following message is written:

<?xml version="1.0"
encoding="UTF-8"?><soapenv:Envelope>sss</soapenv:EnvelopeWrongWrong>

But after the method builder.getSOAPEnvelope() is called, I get a soap
message as following:

<?xml version="1.0"
encoding="UTF-8"?><soapenv:Envelope>sss</soapenv:Envelope>

Is it a feature of AXIOM?

Thank you very much in advance

Max

-------------------------------------------------------------
        InputStream inputStream = new FileInputStream(fileName);

        XMLStreamReader reader =
StAXUtils.createXMLStreamReader(inputStream);

        StAXSOAPModelBuilder builder = new StAXSOAPModelBuilder(reader,
null);
        SOAPEnvelope envelope = builder.getSOAPEnvelope();

--------------------------------------------------------------

-- 
View this message in context: 
http://www.nabble.com/AXIOM-can-correct-the-wrong-close-tags-by-itself--tp21352558p21352558.html
Sent from the Axis - User mailing list archive at Nabble.com.

Reply via email to