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 Summary
ConstructorsConstructorDescriptionCreate a new instance of theSimpleWsdl11Definitionclass.SimpleWsdl11Definition(org.springframework.core.io.Resource wsdlResource) Create a new instance of theSimpleWsdl11Definitionclass with the specified resource. -
Method Summary
Modifier and TypeMethodDescriptionvoidReturns theSourceof the definition.voidsetWsdl(org.springframework.core.io.Resource wsdlResource) Set the WSDL resource to be exposed by calls to this instances'getSource()method.toString()
-
Constructor Details
-
SimpleWsdl11Definition
public SimpleWsdl11Definition()Create a new instance of theSimpleWsdl11Definitionclass.A subsequent call to the
setWsdl(Resource)method is required. -
SimpleWsdl11Definition
public SimpleWsdl11Definition(org.springframework.core.io.Resource wsdlResource) Create a new instance of theSimpleWsdl11Definitionclass with the specified resource.- Parameters:
wsdlResource- the WSDL resource; must not benull- Throws:
IllegalArgumentException- if the suppliedwsdlResourceisnull
-
-
Method Details
-
afterPropertiesSet
- Specified by:
afterPropertiesSetin interfaceorg.springframework.beans.factory.InitializingBean- Throws:
Exception
-
getSource
Description copied from interface:WsdlDefinitionReturns theSourceof the definition.- Specified by:
getSourcein interfaceWsdlDefinition- Returns:
- the
Sourceof 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
-