List of usage examples for javax.xml.soap SOAPFactory createDetail
public abstract Detail createDetail() throws SOAPException;
From source file:org.apache.axis2.saaj.SOAPFactoryTest.java
@Validated @Test/*from w w w .j a v a 2s. c o m*/ public void testCreateDetail() { try { SOAPFactory sf = SOAPFactory.newInstance(); if (sf == null) { fail("SOAPFactory was null"); } Detail d = sf.createDetail(); if (d == null) { fail("Detail was null"); } } catch (Exception e) { e.printStackTrace(); fail("Unexpected Exception " + e); } }