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

  • dynamically generated wsdl with wsdl:fault

    Is there a way to dynamically generate a WSDL with a fault element that does not include the soap element? I am currently generating something like this:

    <wsdl:fault name="MyCustomFault">
            <soap:fault name="MyCustomFault" use="literal"/>
    But I would like to declare a WSDL fault that does not include a soap fault. I am trying to do this because I have a client that cannot understand the soap fault unless it is explicitly declared (code generation). Is there a different/better way that this may be accomplished?

  • #2
    please disregard previous question

    Never mind - it was determined that the client could understand the details element (nested custom exceptions) of the soap fault. This is the route we are going to take.


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

      If required you can write your own implementation for that, with annotation based webservice.