Object body = bInputList.get(j);
if (body instanceof SOAPBody) {
SOAPBody sBody = (SOAPBody) body;
Assert.assertEquals(sBody.getUse(), "literal");
} else if (body instanceof SOAP12Body) {
SOAP12Body sBody = (SOAP12Body) body;
Assert.assertEquals(sBody.getUse(), "literal");
} else {
Assert.assertFalse(body instanceof SOAPHeader);
Assert.assertFalse(body instanceof SOAP12Header);
Assert.assertFalse(body instanceof SOAPHeaderFault);
Assert.assertFalse(body instanceof SOAP12HeaderFault);
}
}
BindingOutput bOutput = (BindingOutput) bop.getBindingOutput();
List bOutputList = bOutput.getExtensibilityElements();
for (int j = 0; j < eeList.size(); j++) {
Object body = bOutputList.get(j);
if (body instanceof SOAPBody) {
SOAPBody sBody = (SOAPBody) body;
Assert.assertEquals(sBody.getUse(), "literal");
} else if (body instanceof SOAP12Body) {
SOAP12Body sBody = (SOAP12Body) body;
Assert.assertEquals(sBody.getUse(), "literal");
} else {
Assert.assertFalse(body instanceof SOAPHeader);
Assert.assertFalse(body instanceof SOAP12Header);
Assert.assertFalse(body instanceof SOAPHeaderFault);
Assert.assertFalse(body instanceof SOAP12HeaderFault);