src/share/jaxws_classes/com/sun/xml/internal/ws/wsdl/writer/WSDLGenerator.java

changeset 408
b0610cd08440
parent 397
b99d7e355d4b
child 637
9c07ef4934dd
     1.1 --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/wsdl/writer/WSDLGenerator.java	Thu Sep 26 10:43:28 2013 -0700
     1.2 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/wsdl/writer/WSDLGenerator.java	Fri Oct 04 16:21:34 2013 +0100
     1.3 @@ -209,7 +209,7 @@
     1.4      private final Class implType;
     1.5  
     1.6      private boolean inlineSchemas;      // TODO
     1.7 -    private final boolean disableSecureXmlProcessing;
     1.8 +    private final boolean disableXmlSecurity;
     1.9  
    1.10      /**
    1.11       * Creates the WSDLGenerator
    1.12 @@ -229,12 +229,12 @@
    1.13       * @param model The {@link AbstractSEIModelImpl} used to generate the WSDL
    1.14       * @param wsdlResolver The {@link WSDLResolver} to use resovle names while generating the WSDL
    1.15       * @param binding specifies which {@link javax.xml.ws.BindingType} to generate
    1.16 -     * @param disableSecureXmlProcessing specifies whether to disable the secure xml processing feature
    1.17 +     * @param disableXmlSecurity specifies whether to disable the secure xml processing feature
    1.18       * @param extensions an array {@link WSDLGeneratorExtension} that will
    1.19       * be invoked to generate WSDL extensions
    1.20       */
    1.21      public WSDLGenerator(AbstractSEIModelImpl model, WSDLResolver wsdlResolver, WSBinding binding, Container container,
    1.22 -                         Class implType, boolean inlineSchemas, boolean disableSecureXmlProcessing,
    1.23 +                         Class implType, boolean inlineSchemas, boolean disableXmlSecurity,
    1.24                           WSDLGeneratorExtension... extensions) {
    1.25  
    1.26          this.model = model;
    1.27 @@ -245,7 +245,7 @@
    1.28          this.implType = implType;
    1.29          extensionHandlers = new ArrayList<WSDLGeneratorExtension>();
    1.30          this.inlineSchemas = inlineSchemas;
    1.31 -        this.disableSecureXmlProcessing = disableSecureXmlProcessing;
    1.32 +        this.disableXmlSecurity = disableXmlSecurity;
    1.33  
    1.34          // register handlers for default extensions
    1.35          register(new W3CAddressingWSDLGeneratorExtension());
    1.36 @@ -463,7 +463,7 @@
    1.37              }
    1.38          }
    1.39          if (resolver.nonGlassfishSchemas != null) {
    1.40 -            TransformerFactory tf = XmlUtil.newTransformerFactory(!disableSecureXmlProcessing);
    1.41 +            TransformerFactory tf = XmlUtil.newTransformerFactory(!disableXmlSecurity);
    1.42              try {
    1.43                  Transformer t = tf.newTransformer();
    1.44                  for (DOMResult xsd : resolver.nonGlassfishSchemas) {

mercurial