Class SimpleWsdl11Definition

java.lang.Object
org.springframework.ws.wsdl.wsdl11.SimpleWsdl11Definition
All Implemented Interfaces:
org.springframework.beans.factory.InitializingBean, Wsdl11Definition, WsdlDefinition

public class SimpleWsdl11Definition extends Object implements Wsdl11Definition, org.springframework.beans.factory.InitializingBean
The default Wsdl11Definition implementation.

Allows a WSDL to be set by the wsdl property, or directly in the constructor.

Since:
1.0.0
Author:
Arjen Poutsma
  • Constructor Details

    • SimpleWsdl11Definition

      public SimpleWsdl11Definition()
      Create a new instance of the SimpleWsdl11Definition class.

      A subsequent call to the setWsdl(Resource) method is required.

    • SimpleWsdl11Definition

      public SimpleWsdl11Definition(org.springframework.core.io.Resource wsdlResource)
      Create a new instance of the SimpleWsdl11Definition class with the specified resource.
      Parameters:
      wsdlResource - the WSDL resource; must not be null
      Throws:
      IllegalArgumentException - if the supplied wsdlResource is null
  • Method Details

    • afterPropertiesSet

      public void afterPropertiesSet() throws Exception
      Specified by:
      afterPropertiesSet in interface org.springframework.beans.factory.InitializingBean
      Throws:
      Exception
    • getSource

      public Source getSource()
      Description copied from interface: WsdlDefinition
      Returns the Source of the definition.
      Specified by:
      getSource in interface WsdlDefinition
      Returns:
      the Source of this WSDL definition
    • setWsdl

      public void setWsdl(org.springframework.core.io.Resource wsdlResource)
      Set the WSDL resource to be exposed by calls to this instances' getSource() method.
      Parameters:
      wsdlResource - the WSDL resource
    • toString

      public String toString()
      Overrides:
      toString in class Object