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
            Reporter: Jervis Liu


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