public class WSDLUtils extends Object
| Constructor and Description |
|---|
WSDLUtils() |
| Modifier and Type | Method and Description |
|---|---|
static String |
getBasePath(String documentURI) |
static List<String> |
getSchemas(javax.wsdl.Definition wsdlDefinition)
Returns all the XML schemas from a WSDL definition.
|
static List<String> |
getSoapBodyParts(javax.wsdl.BindingOperation bindingOperation)
Retrieves the list of SOAP body parts of a binding operation, or null if there is no
SOAP body defined.
|
static SoapVersion |
getSoapVersion(javax.wsdl.Binding binding)
Retrieves the SOAP version of a WSDL binding, or null if it is not a SOAP binding.
|
static boolean |
isHttpAddress(String url) |
static String |
normalizeBasePathURL(String basePath,
String importLocation)
Normalizes the import location.
|
static String |
schemaToString(javax.wsdl.extensions.schema.Schema schema)
Converts a schema into a String.
|
public static String normalizeBasePathURL(String basePath, String importLocation) throws URISyntaxException
basePath - basePath to retrieve the import typesimportLocation - the import location relative to the base pathURISyntaxException - error in the URI to be normalizedpublic static boolean isHttpAddress(String url)
public static List<String> getSchemas(javax.wsdl.Definition wsdlDefinition) throws TransformerException
TransformerException - If unable to transform a Schema into String.public static String schemaToString(javax.wsdl.extensions.schema.Schema schema) throws TransformerException
TransformerException - If unable to transform the schema.public static List<String> getSoapBodyParts(javax.wsdl.BindingOperation bindingOperation)
public static SoapVersion getSoapVersion(javax.wsdl.Binding binding)
Copyright © 2003–2023 MuleSoft, Inc.. All rights reserved.