org.mule.module.ws.consumer
Class WSDLUtils

java.lang.Object
  extended by org.mule.module.ws.consumer.WSDLUtils

public class WSDLUtils
extends Object


Constructor Summary
WSDLUtils()
           
 
Method Summary
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 String schemaToString(javax.wsdl.extensions.schema.Schema schema)
          Converts a schema into a String.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WSDLUtils

public WSDLUtils()
Method Detail

getSchemas

public static List<String> getSchemas(javax.wsdl.Definition wsdlDefinition)
                               throws TransformerException
Returns all the XML schemas from a WSDL definition.

Throws:
TransformerException - If unable to transform a Schema into String.

schemaToString

public static String schemaToString(javax.wsdl.extensions.schema.Schema schema)
                             throws TransformerException
Converts a schema into a String.

Throws:
TransformerException - If unable to transform the schema.

getSoapBodyParts

public 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.


getSoapVersion

public static SoapVersion getSoapVersion(javax.wsdl.Binding binding)
Retrieves the SOAP version of a WSDL binding, or null if it is not a SOAP binding.



Copyright © 2003–2014 MuleSoft, Inc.. All rights reserved.