Uploaded image for project: 'JBoss Web Services'
  1. JBoss Web Services
  2. JBWS-3201

WSConsume does not generate operation fault in WSDL when the WS method throws java.lang.Exception.

    XMLWordPrintable

Details

    Description

      When we have the following WS:

      @WebService(name="BiddingService", targetNamespace="http://jboss.org/bidding")
      public class BiddingBackend {

      // ...

      @WebMethod(operationName = "makeBid")
      public Boolean makeBid(@WebParam(name = "itemName") String itemName,
      @WebParam(name = "offer") Integer offer) throws java.lang.Exception

      { // ... }

      }

      then the generated WSDL does not contain a fault in it's binding. It's as the method would not throw an Exception.

      If the method throws a descendant of java.lang.Exception then the resulting WSDL contains everything.

      Attachments

        Issue Links

          Activity

            People

              rhn-engineering-ema Jim Ma
              mbaluch@redhat.com Marek Baluch
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: