[jbossws-issues] [JBoss JIRA] Commented: (JBWS-3201) WSConsume does not generate operation fault in WSDL when the WS method throws java.lang.Exception.
Jim Ma (JIRA)
jira-events at lists.jboss.org
Fri Feb 25 02:02:05 EST 2011
[ https://issues.jboss.org/browse/JBWS-3201?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12584679#comment-12584679 ]
Jim Ma commented on JBWS-3201:
------------------------------
This issue depends on https://issues.apache.org/jira/browse/CXF-3364. After we move to cxf-2.3.4 we can update this issue to resolved.
> 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