[
https://issues.apache.org/jira/browse/CXF-554?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Bozhong Lin updated CXF-554:
----------------------------
Fix Version/s: 2.0
Assignee: jimma
Affects Version/s: 2.0-RC
> 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.