Defining wsdl:fault in dynamically generated wsdl
Hi,
how can i add fault declarations to a dynamically generated wsdl in SpringWS?
e.g.
Code:
<wsdl:portType name="MathOps">
<wsdl:operation name="div">
<wsdl:input message="impl:divRequest" name="divRequest"/>
<wsdl:output message="impl:divResponse" name="divResponse"/>
<wsdl:fault message="impl:DivByZeroStruct" name="DivByZeroStruct"/>
<wsdl:fault message="impl:SpecialDetailStruct" name="SpecialDetailStruct"/>
<wsdl:fault message="impl:OutOfBoundStruct" name="OutOfBoundStruct"/>
</wsdl:operation>
</wsdl:portType>
Thanks for help,
Sebastian
Support for custom wsdl:fault
Hi, As of now, spring-ws is not support for custom wsdl:fault.
I found out something, may be opensource community working on it.
https://jira.springframework.org/browse/SWS-423
If required you can write your own implementation for that, with annotation based webservice.