public Definition getDefinition() { if (wsdlDefinition == null) { Definition def = loadDefinition(); if (def != null) { if (configContext != null) { wsdlDefinition = new WSDLDefinitionWrapper(def, configContext.getAxisConfiguration() ); } else { wsdlDefinition = new WSDLDefinitionWrapper(def, wsdlURL, limitMemory, memoryType); } } } return wsdlDefinition; }
public Definition getDefinition() { if (wsdlDefinition == null) { Definition def = loadDefinition(); if (def != null) { if (configContext != null) { wsdlDefinition = new WSDLDefinitionWrapper(def, configContext.getAxisConfiguration() ); } else { wsdlDefinition = new WSDLDefinitionWrapper(def, wsdlURL, limitMemory, memoryType); } } } return wsdlDefinition; }
/** * Constructor * * @param Definition Definition for the WSDL * @boolean limitMemory */ public WSDL4JWrapper(Definition wsdlDefinition, boolean limitMemory, int memoryType) throws WSDLException { if (log.isDebugEnabled() ) { log.debug("WSDL4JWrapper(Definition, boolean) entry"); } this.limitMemory = limitMemory; this.memoryType = memoryType; if ((wsdlDefinition != null) && !(wsdlDefinition instanceof WSDLDefinitionWrapper)) { this.wsdlDefinition = new WSDLDefinitionWrapper(wsdlDefinition, null, limitMemory, memoryType); } else { this.wsdlDefinition = (WSDLDefinitionWrapper) wsdlDefinition; } if (this.wsdlDefinition != null) { String baseURI = wsdlDefinition.getDocumentBaseURI(); try { wsdlURL = new URL(baseURI); } catch (Exception ex) { // just absorb the error } } }
/** * Constructor * * @param Definition Definition for the WSDL * @boolean limitMemory */ public WSDL4JWrapper(Definition wsdlDefinition, boolean limitMemory, int memoryType) throws WSDLException { if (log.isDebugEnabled() ) { log.debug("WSDL4JWrapper(Definition, boolean) entry"); } this.limitMemory = limitMemory; this.memoryType = memoryType; if ((wsdlDefinition != null) && !(wsdlDefinition instanceof WSDLDefinitionWrapper)) { this.wsdlDefinition = new WSDLDefinitionWrapper(wsdlDefinition, null, limitMemory, memoryType); } else { this.wsdlDefinition = (WSDLDefinitionWrapper) wsdlDefinition; } if (this.wsdlDefinition != null) { String baseURI = wsdlDefinition.getDocumentBaseURI(); try { wsdlURL = new URL(baseURI); } catch (Exception ex) { // just absorb the error } } }
/** * Full Constructor */ private WSDL4JWrapper(URL wsdlURL, Definition wsdlDefinition, ConfigurationContext configContext, JAXWSCatalogManager catalogManager, boolean limitMemory, int memoryType) throws WSDLException { super(); if (log.isDebugEnabled() ) { log.debug("WSDL4JWrapper(...) entry"); } this.configContext = configContext; this.catalogManager = catalogManager; this.wsdlURL = wsdlURL; this.limitMemory = limitMemory; // Only used if configContext is not present this.memoryType = memoryType; if ((wsdlDefinition != null) && !(wsdlDefinition instanceof WSDLDefinitionWrapper)) { if (configContext != null && configContext.getAxisConfiguration() != null) { this.wsdlDefinition = new WSDLDefinitionWrapper(wsdlDefinition, wsdlURL, configContext.getAxisConfiguration() ); } else { this.wsdlDefinition = new WSDLDefinitionWrapper(wsdlDefinition, wsdlURL, limitMemory, 2); } } else { this.wsdlDefinition = (WSDLDefinitionWrapper) wsdlDefinition; } }
/** * Full Constructor */ private WSDL4JWrapper(URL wsdlURL, Definition wsdlDefinition, ConfigurationContext configContext, JAXWSCatalogManager catalogManager, boolean limitMemory, int memoryType) throws WSDLException { super(); if (log.isDebugEnabled() ) { log.debug("WSDL4JWrapper(...) entry"); } this.configContext = configContext; this.catalogManager = catalogManager; this.wsdlURL = wsdlURL; this.limitMemory = limitMemory; // Only used if configContext is not present this.memoryType = memoryType; if ((wsdlDefinition != null) && !(wsdlDefinition instanceof WSDLDefinitionWrapper)) { if (configContext != null && configContext.getAxisConfiguration() != null) { this.wsdlDefinition = new WSDLDefinitionWrapper(wsdlDefinition, wsdlURL, configContext.getAxisConfiguration() ); } else { this.wsdlDefinition = new WSDLDefinitionWrapper(wsdlDefinition, wsdlURL, limitMemory, 2); } } else { this.wsdlDefinition = (WSDLDefinitionWrapper) wsdlDefinition; } }
/** * Constructor * * @param Definition Definition for the WSDL * @param ConfigurationContext */ public WSDL4JWrapper(Definition wsdlDefinition, ConfigurationContext configContext) throws WSDLException { super(); if (log.isDebugEnabled() ) { log.debug("WSDL4JWrapper(Definition) entry"); } if ((wsdlDefinition != null) && !(wsdlDefinition instanceof WSDLDefinitionWrapper)) { this.wsdlDefinition = new WSDLDefinitionWrapper(wsdlDefinition, configContext.getAxisConfiguration()); } else { this.wsdlDefinition = (WSDLDefinitionWrapper) wsdlDefinition; } if (this.wsdlDefinition != null) { String baseURI = wsdlDefinition.getDocumentBaseURI(); try { wsdlURL = new URL(baseURI); } catch (Exception ex) { // just absorb the error } } } //TODO: Perform validations for each method to check for null parameters on QName.
/** * Constructor * * @param Definition Definition for the WSDL * @param ConfigurationContext */ public WSDL4JWrapper(Definition wsdlDefinition, ConfigurationContext configContext) throws WSDLException { super(); if (log.isDebugEnabled() ) { log.debug("WSDL4JWrapper(Definition) entry"); } if ((wsdlDefinition != null) && !(wsdlDefinition instanceof WSDLDefinitionWrapper)) { this.wsdlDefinition = new WSDLDefinitionWrapper(wsdlDefinition, configContext.getAxisConfiguration()); } else { this.wsdlDefinition = (WSDLDefinitionWrapper) wsdlDefinition; } if (this.wsdlDefinition != null) { String baseURI = wsdlDefinition.getDocumentBaseURI(); try { wsdlURL = new URL(baseURI); } catch (Exception ex) { // just absorb the error } } } //TODO: Perform validations for each method to check for null parameters on QName.
new WSDLDefinitionWrapper(wsdlDef, true, 2);
new WSDLDefinitionWrapper(wsdlDef, true, 2);
ac = this.axisConfig; WSDLDefinitionWrapper wrapper = new WSDLDefinitionWrapper(wsdl4jDefinition, ac); wsdlDefinitionParameter.setValue(wrapper); } else {
ac = this.axisConfig; WSDLDefinitionWrapper wrapper = new WSDLDefinitionWrapper(wsdl4jDefinition, ac); wsdlDefinitionParameter.setValue(wrapper); } else {
ConfigurationContext cc = composite.getConfigurationContext(); if (cc != null && cc.getAxisConfiguration() != null) { wrap = new WSDLDefinitionWrapper(def, wsdlUrl, cc.getAxisConfiguration()); } else { wrap = new WSDLDefinitionWrapper(def, wsdlUrl, true, 2); ConfigurationContext cc = composite.getConfigurationContext(); if (cc != null && cc.getAxisConfiguration() != null) { wrap = new WSDLDefinitionWrapper(def, wsdlUrl, cc.getAxisConfiguration()); } else { wrap = new WSDLDefinitionWrapper(def, wsdlUrl, true, 2); ConfigurationContext cc = composite.getConfigurationContext(); if (cc != null && cc.getAxisConfiguration() != null) { wrap = new WSDLDefinitionWrapper(def, wsdlUrl, cc.getAxisConfiguration()); } else { wrap = new WSDLDefinitionWrapper(def, wsdlUrl, true, 2);
ConfigurationContext cc = composite.getConfigurationContext(); if (cc != null && cc.getAxisConfiguration() != null) { wrap = new WSDLDefinitionWrapper(def, wsdlUrl, cc.getAxisConfiguration()); } else { wrap = new WSDLDefinitionWrapper(def, wsdlUrl, true, 2); ConfigurationContext cc = composite.getConfigurationContext(); if (cc != null && cc.getAxisConfiguration() != null) { wrap = new WSDLDefinitionWrapper(def, wsdlUrl, cc.getAxisConfiguration()); } else { wrap = new WSDLDefinitionWrapper(def, wsdlUrl, true, 2); ConfigurationContext cc = composite.getConfigurationContext(); if (cc != null && cc.getAxisConfiguration() != null) { wrap = new WSDLDefinitionWrapper(def, wsdlUrl, cc.getAxisConfiguration()); } else { wrap = new WSDLDefinitionWrapper(def, wsdlUrl, true, 2);