Package org.apache.axiom.soap

Examples of org.apache.axiom.soap.SOAPFaultDetail.serialize()


        soapFaultDetail.addDetailEntry(
                soapFactory.createOMElement("DetailEntry1", omNamespace));
        soapFaultDetail.addDetailEntry(
                soapFactory.createOMElement("DetailEntry2", omNamespace));
        StringWriter out = new StringWriter();
        soapFaultDetail.serialize(out);
        String msg = out.toString();
        System.out.println(msg);
        assertTrue(msg.indexOf("DetailEntry1") != -1);
        assertTrue(msg.indexOf("DetailEntry2") != -1);
    }
View Full Code Here


        soapFaultDetail.addDetailEntry(
                soapFactory.createOMElement("DetailEntry1", omNamespace));
        soapFaultDetail.addDetailEntry(
                soapFactory.createOMElement("DetailEntry2", omNamespace));
        StringWriter out = new StringWriter();
        soapFaultDetail.serialize(out);
        String msg = out.toString();
        System.out.println(msg);
        assertTrue(msg.indexOf("DetailEntry1") != -1);
        assertTrue(msg.indexOf("DetailEntry2") != -1);
    }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.