| Constructor and Description |
|---|
WSDLProcessingUtil() |
| Modifier and Type | Method and Description |
|---|---|
static Document |
getSecuredParsedDocumentFromPath(String path,
String systemId)
Returns an "XXE safe" built DOM XML object by reading the content from the provided file path.
|
static Document |
getSecuredParsedDocumentFromURL(URL url) |
static Set<org.apache.ws.commons.schema.XmlSchema> |
getXMLSchemasFromWSDL(javax.wsdl.Definition wsdlDefinition,
String systemId)
This method will read the given WSDL definition and extract all the referred XSD files and create List of
XSD Schemas
|
public static Document getSecuredParsedDocumentFromPath(String path, String systemId) throws SOAPToRESTException, IOException
path - path to fetch the contentSOAPToRESTException - When error occurred while reading from file pathIOExceptionpublic static Document getSecuredParsedDocumentFromURL(URL url) throws SOAPToRESTException, IOException
SOAPToRESTExceptionIOExceptionpublic static Set<org.apache.ws.commons.schema.XmlSchema> getXMLSchemasFromWSDL(javax.wsdl.Definition wsdlDefinition, String systemId)
wsdlDefinition - input WSDL definitionXmlSchema objects of all the referred XSDs of the WSDL fileCopyright © 2024 WSO2. All rights reserved.