You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "jimma (JIRA)" <ji...@apache.org> on 2011/02/25 06:33:39 UTC

[jira] Created: (CXF-3364) No wsdl elements generated for Exception.class

No wsdl elements generated for Exception.class
----------------------------------------------

                 Key: CXF-3364
                 URL: https://issues.apache.org/jira/browse/CXF-3364
             Project: CXF
          Issue Type: Bug
          Components: Tooling
            Reporter: jimma
             Fix For: 2.4, 2.3.4


There is no wsdl element generated for Exception class: 

@WebService(name = "CalculatorService", targetNamespace = "http://cxf.apache.org/calculator")
public class Caculator {
    @WebMethod(operationName = "addNumber")
    public Integer addNumber(@WebParam(name = "itemA") Integer itemA, @WebParam(name = "ItemB") Integer itemB)
        throws java.lang.Exception {

        return itemA + itemB;
    }
}

The schema element, wsdl part , fault and soap fault elements are expected. 

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

        

[jira] Resolved: (CXF-3364) No wsdl elements generated for Exception.class

Posted by "jimma (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CXF-3364?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

jimma resolved CXF-3364.
------------------------

    Resolution: Fixed

> No wsdl elements generated for Exception.class
> ----------------------------------------------
>
>                 Key: CXF-3364
>                 URL: https://issues.apache.org/jira/browse/CXF-3364
>             Project: CXF
>          Issue Type: Bug
>          Components: Tooling
>            Reporter: jimma
>             Fix For: 2.4, 2.3.4
>
>
> There is no wsdl element generated for Exception class: 
> @WebService(name = "CalculatorService", targetNamespace = "http://cxf.apache.org/calculator")
> public class Caculator {
>     @WebMethod(operationName = "addNumber")
>     public Integer addNumber(@WebParam(name = "itemA") Integer itemA, @WebParam(name = "ItemB") Integer itemB)
>         throws java.lang.Exception {
>         return itemA + itemB;
>     }
> }
> The schema element, wsdl part , fault and soap fault elements are expected. 

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