Results 1 to 3 of 3

Thread: dynamically generated wsdl with wsdl:fault

  1. #1
    Join Date
    Dec 2008
    Posts
    2

    Question 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. #2
    Join Date
    Dec 2008
    Posts
    2

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

    Thumbs up 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.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •