[jbossws-issues] [JBoss JIRA] Commented: (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
Wed Feb 9 04:54:46 EST 2011


    [ https://issues.jboss.org/browse/JBWS-3201?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12581014#comment-12581014 ] 

Alessio Soldano commented on JBWS-3201:
---------------------------------------

Please verify this with both Native and CXF stack

> 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
>
>
> 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