You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "tli (JIRA)" <ji...@apache.org> on 2007/01/09 10:59:28 UTC
[jira] Created: (CXF-359) wsdl2java using wrong type (should use
wrapper type, but use primitive type) for holder parameter when generating
SEI class
wsdl2java using wrong type (should use wrapper type, but use primitive type) for holder parameter when generating SEI class
---------------------------------------------------------------------------------------------------------------------------
Key: CXF-359
URL: https://issues.apache.org/jira/browse/CXF-359
Project: CXF
Issue Type: Bug
Components: Tooling
Affects Versions: 2.0
Reporter: tli
wsdl2java using wrong type (should use wrapper type, but use primitive type) for holder parameter when generating SEI class
e.g.
wrong:
public void test(javax.xml.ws.Holder<int> outRefInOutInt);
correct:
public void test(javax.xml.ws.Holder<Integer> outRefInOutInt);
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Resolved: (CXF-359) wsdl2java using wrong type (should use
wrapper type, but use primitive type) for holder parameter when generating
SEI class
Posted by "tli (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CXF-359?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
tli resolved CXF-359.
---------------------
Resolution: Fixed
Fix Version/s: 2.0-RC
> wsdl2java using wrong type (should use wrapper type, but use primitive type) for holder parameter when generating SEI class
> ---------------------------------------------------------------------------------------------------------------------------
>
> Key: CXF-359
> URL: https://issues.apache.org/jira/browse/CXF-359
> Project: CXF
> Issue Type: Bug
> Components: Tooling
> Affects Versions: 2.0
> Reporter: tli
> Assigned To: tli
> Fix For: 2.0-RC
>
>
> wsdl2java using wrong type (should use wrapper type, but use primitive type) for holder parameter when generating SEI class
> e.g.
> wrong:
> public void test(javax.xml.ws.Holder<int> outRefInOutInt);
> correct:
> public void test(javax.xml.ws.Holder<Integer> outRefInOutInt);
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Assigned: (CXF-359) wsdl2java using wrong type (should use
wrapper type, but use primitive type) for holder parameter when generating
SEI class
Posted by "tli (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CXF-359?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
tli reassigned CXF-359:
-----------------------
Assignee: tli
> wsdl2java using wrong type (should use wrapper type, but use primitive type) for holder parameter when generating SEI class
> ---------------------------------------------------------------------------------------------------------------------------
>
> Key: CXF-359
> URL: https://issues.apache.org/jira/browse/CXF-359
> Project: CXF
> Issue Type: Bug
> Components: Tooling
> Affects Versions: 2.0
> Reporter: tli
> Assigned To: tli
>
> wsdl2java using wrong type (should use wrapper type, but use primitive type) for holder parameter when generating SEI class
> e.g.
> wrong:
> public void test(javax.xml.ws.Holder<int> outRefInOutInt);
> correct:
> public void test(javax.xml.ws.Holder<Integer> outRefInOutInt);
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Commented: (CXF-359) wsdl2java using wrong type (should use
wrapper type, but use primitive type) for holder parameter when generating
SEI class
Posted by "tli (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CXF-359?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12463484 ]
tli commented on CXF-359:
-------------------------
Since currently, we're working on tools to tools2 refactoring, so I list the patch for fix below.
After the refactoring finished, we would patch below to the new tools (coming from current tools2) module.
Index: src/main/java/org/apache/cxf/tools/util/ProcessorUtil.java
===================================================================
--- src/main/java/org/apache/cxf/tools/util/ProcessorUtil.java (revision 494297)
+++ src/main/java/org/apache/cxf/tools/util/ProcessorUtil.java (working copy)
@@ -285,6 +285,12 @@
}
}
+ if (boxify) {
+ Class cls = JAXBUtils.holderClass(jtype);
+ if (cls != null) {
+ jtype = cls.getName();
+ }
+ }
return jtype;
}
> wsdl2java using wrong type (should use wrapper type, but use primitive type) for holder parameter when generating SEI class
> ---------------------------------------------------------------------------------------------------------------------------
>
> Key: CXF-359
> URL: https://issues.apache.org/jira/browse/CXF-359
> Project: CXF
> Issue Type: Bug
> Components: Tooling
> Affects Versions: 2.0
> Reporter: tli
> Assigned To: tli
>
> wsdl2java using wrong type (should use wrapper type, but use primitive type) for holder parameter when generating SEI class
> e.g.
> wrong:
> public void test(javax.xml.ws.Holder<int> outRefInOutInt);
> correct:
> public void test(javax.xml.ws.Holder<Integer> outRefInOutInt);
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira