if (e.getLocation() == null)
if (e.getLocation() == null)
} catch (WSDLException e) if (e.getLocation() == null)
if (e.getLocation() == null) String loc = XPathUtils.getXPathExprFromNode(importEl) + e.getLocation(); e.setLocation(loc);
if (e.getLocation() == null)
if (e.getLocation() == null) String loc = XPathUtils.getXPathExprFromNode(el) + e.getLocation(); e.setLocation(loc);
if (e.getLocation() == null)
protected ExtensibilityElement parseSchema( Class parentType, Element el, Definition def) throws WSDLException { QName elementType = null; ExtensionRegistry extReg = null; try { extReg = def.getExtensionRegistry(); if (extReg == null) { throw new WSDLException(WSDLException.CONFIGURATION_ERROR, "No ExtensionRegistry set for this " + "Definition, so unable to deserialize " + "a '" + elementType + "' element in the " + "context of a '" + parentType.getName() + "'."); } return parseSchema(parentType, el, def, extReg); } catch (WSDLException e) { if (e.getLocation() == null) { e.setLocation(XPathUtils.getXPathExprFromNode(el)); } throw e; } }
if (e.getLocation() == null)
if (e.getLocation() == null)
} catch (WSDLException e) if (e.getLocation() == null)
public void addWsdlImport(URI from, URI wsdlImport, SourceLocation sloc) { Definition4BPEL def; try { WSDLReader r = _wsdlFactory.newWSDLReader(); WSDLLocatorImpl locator = new WSDLLocatorImpl(_resourceFinder, _resourceFinder.resolve(from, wsdlImport)); def = (Definition4BPEL) r.readWSDL(locator); } catch (WSDLException e) { recoveredFromError(sloc, new CompilationException(__cmsgs.errWsdlParseError(e .getFaultCode(), e.getLocation(), e.getMessage()))); throw new CompilationException(__cmsgs.errWsdlImportFailed(wsdlImport.toASCIIString(), e.getFaultCode()) .setSource(sloc), e); } try { _wsdlRegistry.addDefinition(def, _resourceFinder, _resourceFinder.resolve(from, wsdlImport)); if (__log.isDebugEnabled()) __log.debug("Added WSDL Definition: " + wsdlImport); } catch (CompilationException ce) { recoveredFromError(sloc, ce); } }
if (e.getLocation() == null)
if (e.getLocation() == null) String loc = XPathUtils.getXPathExprFromNode(importEl) + e.getLocation(); e.setLocation(loc);
if (e.getLocation() == null) String loc = XPathUtils.getXPathExprFromNode(importEl) + e.getLocation(); e.setLocation(loc);
if (e.getLocation() == null)
if (e.getLocation() == null) String loc = XPathUtils.getXPathExprFromNode(el) + e.getLocation(); e.setLocation(loc);
if (e.getLocation() == null) String loc = XPathUtils.getXPathExprFromNode(el) + e.getLocation(); e.setLocation(loc);