java.lang.Object
org.mule.runtime.extension.api.soap.WebServiceDefinition

public final class WebServiceDefinition extends Object
Representation of a web service, carrying the WSDL that can be accessible either locally or remotely, a Service, a Port. and an ID to identify this web service so set of operations can be discovered for execution.

Optionally this definition can be populated with a friendly name, a list of excluded operations and an address since not all retrieved services will hit the same endpoint, and for that reason each address will probably be different, If not address is provided () the underlying Soap Service will try to find the one specified in the WSDL

Since:
1.0
  • Method Details

    • builder

      public static WebServiceDefinitionBuilder builder()
    • getFriendlyName

      public String getFriendlyName()
      Returns:
      the display name the end user will see in UI.
    • getWsdlUrl

      public URL getWsdlUrl()
      Returns:
      URLs that targets the real WSDL file.
    • getService

      public String getService()
      Returns:
      service's name of the given WSDL file, if empty will try to pick it automatically (if there is only one).
    • getPort

      public String getPort()
      Returns:
      port's name for a given service of the given WSDL. If empty will try to pick it automatically.
    • getExcludedOperations

      public List<String> getExcludedOperations()
      Returns:
      a List of operation names that should be excluded from the exposed service definition.
    • getServiceId

      public String getServiceId()
      Returns:
      an Id that univocally identifies the web service.
    • getAddress

      public URL getAddress()
      Returns:
      the address location for this web service.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object