Announcement Announcement Module
Collapse
No announcement yet.
Defining wsdl:fault in dynamically generated wsdl Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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

  • #2
    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.

    Comment

    Working...
    X