Announcement Announcement Module
Collapse
No announcement yet.
newbie question - how to generate WSDL with faults Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • newbie question - how to generate WSDL with faults

    Hi!
    I have mapped the exceptions thrown by my endpoints to SOAP faults using the @SoapFault annonation. I've the SoapFaultAnnotationExceptionResolver bean in the applocationContext.xml. The exception thrown and the fault is sent back just fine. However, the WSDL has no mentioned of these faults.

    Any suggestions as to what I need to do to have these faults defined in the WSDL?

    Thank you very much in advance!

  • #2
    generate xml element with Fault suffix - as you do for Request/Response suffixes.

    Comment


    • #3
      Hey userspring,

      Are you able to use and define your own complex type as the fault?

      If so, could you please post an example on how do you this?

      I would be very interested!

      Thanks,

      Comment

      Working...
      X