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

Alessio Soldano (JIRA) jira-events at lists.jboss.org
Mon Jun 13 17:22:24 EDT 2011


     [ https://issues.jboss.org/browse/JBWS-3201?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alessio Soldano updated JBWS-3201:
----------------------------------

    Fix Version/s: jbossws-cxf-4.0.0.Beta2
                       (was:  jbossws-cxf-4.0)


> 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
>            Assignee: Jim Ma
>             Fix For: jbossws-cxf-4.0.0.Beta2
>
>
> 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