Examples of ErrorLocatorImpl


Examples of org.apache.woden.internal.ErrorLocatorImpl

    NCName messageLabel = messageReferences[i].getMessageLabel();
      if(messageLabel == null)
          continue;
    if(messageLabels.contains(messageLabel))
    {
    errorReporter.reportError(new ErrorLocatorImpl(), "InterfaceMessageReference-1029", new Object[]{messageLabel}, ErrorReporter.SEVERITY_ERROR);
    return false;
    }
    else
    {
    messageLabels.add(messageLabel);
View Full Code Here

Examples of org.apache.woden.internal.ErrorLocatorImpl

      if(fault == null || messageLabel == null)
      continue;
    List messageLabels = (List)identifiers.get(fault);
    if(messageLabels != null && messageLabels.contains(messageLabel))
    {
      errorReporter.reportError(new ErrorLocatorImpl(), "InterfaceFaultReference-1039", new Object[]{fault, messageLabel}, ErrorReporter.SEVERITY_ERROR);
    return false;
      }
    else
    {
    if(messageLabels == null)
View Full Code Here

Examples of org.apache.woden.internal.ErrorLocatorImpl

  Interface bindingInterface = binding.getInterface();
  if(((bindingOperations != null && bindingOperations.length > 0) ||
    (bindingFaults != null && bindingFaults.length > 0)) &&
     bindingInterface == null)
  {
    errorReporter.reportError(new ErrorLocatorImpl(), "Binding-1044", new Object[]{}, ErrorReporter.SEVERITY_ERROR);
    return false;
  }
    return true;
  }
View Full Code Here

Examples of org.apache.woden.internal.ErrorLocatorImpl

  // Check the interface operations.
  for(int i = 0; i < numInterfaceOperations; i++)
  {
    if(!usedInterfaceOperations.contains(interfaceOperations[i]))
    {
      errorReporter.reportError(new ErrorLocatorImpl(), "Binding-1045", new Object[]{bindingName, interfaceOperations[i].getName()}, ErrorReporter.SEVERITY_ERROR);
    allInterfaceOperationsHaveBinding = false;
    }
    }
  return allInterfaceOperationsHaveBinding;
  }
View Full Code Here

Examples of org.apache.woden.internal.ErrorLocatorImpl

  protected boolean testAssertionBinding1048(Binding binding, ErrorReporter errorReporter) throws WSDLException
  {
  URI type = binding.getType();
    if(type != null && !type.isAbsolute())
    {
      errorReporter.reportError(new ErrorLocatorImpl(), "Binding-1048", new Object[]{type}, ErrorReporter.SEVERITY_ERROR);
    return false;
    }
    return true;
  }
View Full Code Here

Examples of org.apache.woden.internal.ErrorLocatorImpl

    QName name = bindings[i].getName();
      if(name == null)
        continue;
    if(names.contains(name))
    {
    errorReporter.reportError(new ErrorLocatorImpl(), "Binding-1049", new Object[]{name}, ErrorReporter.SEVERITY_ERROR);
    duplicateFound = true;
    }
    else
    {
    names.add(name);
View Full Code Here

Examples of org.apache.woden.internal.ErrorLocatorImpl

    InterfaceFault interfaceFault = bindingFaults[i].getInterfaceFault();
    if(interfaceFault == null)
      continue;
    if(usedInterfaceFaults.contains(interfaceFault))
    {
    errorReporter.reportError(new ErrorLocatorImpl(), "BindingFault-1050", new Object[]{}, ErrorReporter.SEVERITY_ERROR);
    duplicateFound = true;
    }
    else
    {
    usedInterfaceFaults.add(interfaceFault);
View Full Code Here

Examples of org.apache.woden.internal.ErrorLocatorImpl

    InterfaceOperation interfaceOperation = bindingOperations[i].getInterfaceOperation();
    if(interfaceOperation == null)
      continue;
    if(specifiedInterfaceOperations.contains(interfaceOperation))
    {
    errorReporter.reportError(new ErrorLocatorImpl(), "BindingOperation-1051", new Object[]{interfaceOperation.getName()}, ErrorReporter.SEVERITY_ERROR);
    duplicateFound = true;
    }
    else
    {
    specifiedInterfaceOperations.add(interfaceOperation);
View Full Code Here

Examples of org.apache.woden.internal.ErrorLocatorImpl

    InterfaceMessageReference interfaceMessageReference = bindingMessageReferences[i].getInterfaceMessageReference();
    if(interfaceMessageReference == null)
      continue;
    if(specifiedInterfaceMessageReferences.contains(interfaceMessageReference))
    {
    errorReporter.reportError(new ErrorLocatorImpl(), "BindingMessageReference-1052", new Object[]{interfaceMessageReference.getMessageLabel()}, ErrorReporter.SEVERITY_ERROR);
    duplicateFound = true;
    }
    else
    {
    specifiedInterfaceMessageReferences.add(interfaceMessageReference);
View Full Code Here

Examples of org.apache.woden.internal.ErrorLocatorImpl

    InterfaceFaultReference interfaceFaultReference = bindingFaultReferences[i].getInterfaceFaultReference();
    if(interfaceFaultReference == null)
      continue;
    if(specifiedInterfaceFaultReferences.contains(interfaceFaultReference))
    {
    errorReporter.reportError(new ErrorLocatorImpl(), "BindingFaultReference-1055", new Object[]{interfaceFaultReference.getMessageLabel()}, ErrorReporter.SEVERITY_ERROR);
    duplicateFound = true;
    }
    else
    {
    specifiedInterfaceFaultReferences.add(interfaceFaultReference);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.