[jbossws-issues] [JBoss JIRA] Created: (JBWS-3201) WSConsume does not generate operation fault in WSDL when the WS method throws java.lang.Exception.

Marek Baluch (JIRA) jira-events at lists.jboss.org
Wed Jan 19 10:29:51 EST 2011


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

                 Key: JBWS-3201
                 URL: https://issues.jboss.org/browse/JBWS-3201
             Project: JBoss Web Services
          Issue Type: Bug
      Security Level: Public (Everyone can see)
          Components: jbossws-cxf
    Affects Versions: jbossws-cxf-3.1.2
            Reporter: Marek Baluch


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.

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jbossws-issues mailing list