Announcement Announcement Module
Collapse
No announcement yet.
dynamically generated wsdl with wsdl:fault Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • 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:

    Code:
    <wsdl:fault name="MyCustomFault">
            <soap:fault name="MyCustomFault" use="literal"/>
    </wsdl:fault>
    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.

    Comment


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

      https://jira.springframework.org/browse/SWS-423

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

      Comment

      Working...
      X