BindingInput bindingInput = bindingOperation.getBindingInput();
Assert.assertNotNull("No binding input", bindingInput);
Assert.assertEquals("Invalid name", "Input", bindingInput.getName());
Assert.assertEquals("Invalid amount of extensibility elements", 1,
bindingInput.getExtensibilityElements().size());
SOAP12Body soapBody = (SOAP12Body) bindingInput.getExtensibilityElements().get(0);
Assert.assertEquals("Invalid soap body use", "literal", soapBody.getUse());
BindingOutput bindingOutput = bindingOperation.getBindingOutput();
Assert.assertNotNull("No binding output", bindingOutput);
Assert.assertEquals("Invalid name", "Output", bindingOutput.getName());
Assert.assertEquals("Invalid amount of extensibility elements", 1,
bindingOutput.getExtensibilityElements().size());
soapBody = (SOAP12Body) bindingOutput.getExtensibilityElements().get(0);
Assert.assertEquals("Invalid soap body use", "literal", soapBody.getUse());
BindingFault bindingFault = bindingOperation.getBindingFault("Fault");
Assert.assertNotNull("No binding fault", bindingFault);
Assert.assertEquals("Invalid amount of extensibility elements", 1,
bindingFault.getExtensibilityElements().size());