String errantElements = new String("");
// Get the binding from the entry context
Binding binding = (Binding) entryContext.getEntry().getEntryDetail();
// Try to get the SOAP binding
SOAPBinding soapBinding = WSDLValidatorImpl.getSoapBinding(binding);
if (soapBinding != null)
{
String style =
(soapBinding.getStyle() == null)
? WSIConstants.ATTRVAL_SOAP_BIND_STYLE_DOC
: soapBinding.getStyle();
if (style.equals(WSIConstants.ATTRVAL_SOAP_BIND_STYLE_DOC))
{
Vector soapElements = Utils.arrayToVector(this.validator.getSoapBodies(binding));
soapElements.addAll(Utils.arrayToVector(this.validator.getSoapFaults(binding)));
soapElements.addAll(Utils.arrayToVector(this.validator.getSoapHeaders(binding)));