Package org.apache.woden.internal

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


    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

    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

    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

    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

    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

  protected boolean testAssertionBindingFaultReference1059(BindingFaultReference bindingFaultReference, ErrorReporter errorReporter) throws WSDLException
  {
  InterfaceFaultReference interfaceFaultReference = bindingFaultReference.getInterfaceFaultReference();
  if(interfaceFaultReference == null)
  {
    errorReporter.reportError(new ErrorLocatorImpl(), "BindingFaultReference-1059", new Object[]{}, ErrorReporter.SEVERITY_ERROR);
      return false;
  }
  return true;
  }
View Full Code Here

    QName name = services[i].getName();
      if(name == null)
        continue;
    if(names.contains(name))
    {
    errorReporter.reportError(new ErrorLocatorImpl(), "Service-1060", new Object[]{name}, ErrorReporter.SEVERITY_ERROR);
    return false;
    }
    else
    {
    names.add(name);
View Full Code Here

  protected boolean testAssertionEndpoint1061(Endpoint endpoint, ErrorReporter errorReporter) throws WSDLException
  {
  URI address = endpoint.getAddress();
    if(address != null && !address.isAbsolute())
    {
      errorReporter.reportError(new ErrorLocatorImpl(), "Endpoint-1061", new Object[]{address}, ErrorReporter.SEVERITY_ERROR);
    return false;
    }
    return true;
  }
View Full Code Here

   
    // If an interface hasn't been specified on the service this assertion doesn't apply.
    // If the binding interface is null this assertion passes.
    if(serviceInterface != null && bindingInterface != null && !serviceInterface.isEquivalentTo(bindingInterface))
    {
    errorReporter.reportError(new ErrorLocatorImpl(), "Endpoint-1062", new Object[]{binding, bindingInterface, serviceInterface}, ErrorReporter.SEVERITY_ERROR);
    return false
    }
  }
  return true;
  }
View Full Code Here

TOP

Related Classes of org.apache.woden.internal.ErrorLocatorImpl

Copyright © 2018 www.massapicom. 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.