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());
SOAPBody soapBody = (SOAPBody) 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 = (SOAPBody) 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());