Results 1 to 3 of 3

Thread: newbie question - how to generate WSDL with faults

  1. #1
    Join Date
    Oct 2008
    Posts
    13

    Default 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. #2
    Join Date
    Mar 2007
    Location
    Poland
    Posts
    341

    Default

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

  3. #3

    Default

    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,
    Tor Arne Kvaløy
    Integration developer and architect
    Tarantell.no

Posting Permissions

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