Esempio n. 1
0
 private boolean isGlobalBinding(Node bindings) {
   if (bindings.getNamespaceURI() == null) {
     errorReceiver.warning(
         forest.locatorTable.getStartLocation((Element) bindings),
         WsdlMessages.INVALID_CUSTOMIZATION_NAMESPACE(bindings.getLocalName()));
     return false;
   }
   return (bindings.getNamespaceURI().equals(JAXWSBindingsConstants.NS_JAXWS_BINDINGS)
       && (bindings.getLocalName().equals("package")
           || bindings.getLocalName().equals("enableAsyncMapping")
           || bindings.getLocalName().equals("enableAdditionalSOAPHeaderMapping")
           || bindings.getLocalName().equals("enableWrapperStyle")
           || bindings.getLocalName().equals("enableMIMEContent")));
 }