[ 
https://issues.apache.org/jira/browse/CXF-554?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

jimma resolved CXF-554.
-----------------------

    Resolution: Fixed

> javatowsdl fails when Wrapper bean class does not contain namespace
> -------------------------------------------------------------------
>
>                 Key: CXF-554
>                 URL: https://issues.apache.org/jira/browse/CXF-554
>             Project: CXF
>          Issue Type: Sub-task
>          Components: Tooling
>    Affects Versions: 2.0-RC
>            Reporter: Jervis Liu
>         Assigned To: jimma
>             Fix For: 2.0
>
>
> javatowsdl fails when Wrapper bean class does not contain namespace, for 
> example following code works, 
> @XmlAccessorType(XmlAccessType.FIELD)
> @XmlType(name = "", propOrder = {"responseType" }, namespace = 
> "http://cxf.com/";)
> @XmlRootElement(name = "getPrice", namespace = "http://cxf.com/";)
> public class GetPrice {
> ..............    
> }
> But if we remove namespace = "http://cxf.com/"; attribute, test failes. 
> How to reproduce: go to 
> JaxwsServiceBuilderTest.testDocLitWrappedWithWrapperClass() test, modify the 
> trunk\tools\javato\src\test\java\org\apache\cxf\tools\fortest\withannotation\doc\jaxws\GetPrice.java,
>  remove namespace as described above.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to