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 2010/08/11 04:47:16 UTC
[jira] Created: (CXF-2934) The wrong target namespace of filed in
response wrapper bean is generated
The wrong target namespace of filed in response wrapper bean is generated
--------------------------------------------------------------------------
Key: CXF-2934
URL: https://issues.apache.org/jira/browse/CXF-2934
Project: CXF
Issue Type: Bug
Components: Tooling
Reporter: jimma
Assignee: jimma
Fix For: 2.3
When use java2ws with "-wrapperbean" flag to generate wsdl for this SEI :
public class webParamWebService {
@WebMethod(operationName="helloString4", action="urn:HelloString4")
public String hello4(@WebParam (name="Name", targetNamespace="helloString4/Name", mode=WebParam.Mode.INOUT) Holder<Name> name, @WebParam (name="Employee", mode=WebParam.Mode.OUT) Holder<org.apache.cxf.Employee> employee) {
return "Hello " + name + " to Web Service";
}
}
the namespace value "helloString4/Name" in the @XmlElement annotated to Name field is missing:
@XmlRootElement(name = "helloString4Response", namespace = "http://cxf.apach.org")
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "helloString4Response", namespace = "http://cxf.apach.org", propOrder = {"_return", "Name", "Employee"})
public class Hello4Response {
@XmlElement(name = "return")
private java.lang.String _return;
@XmlElement(name = "Name")
private org.apache.cxf.Name Name;
@XmlElement(name = "Employee")
private org.apache.cxf.Employee Employee;
....
}
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (CXF-2934) The wrong target namespace of filed in
response wrapper bean is generated
Posted by "jimma (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CXF-2934?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
jimma resolved CXF-2934.
------------------------
Resolution: Fixed
> The wrong target namespace of filed in response wrapper bean is generated
> --------------------------------------------------------------------------
>
> Key: CXF-2934
> URL: https://issues.apache.org/jira/browse/CXF-2934
> Project: CXF
> Issue Type: Bug
> Components: Tooling
> Reporter: jimma
> Assignee: jimma
> Fix For: 2.3
>
>
> When use java2ws with "-wrapperbean" flag to generate wsdl for this SEI :
> public class webParamWebService {
> @WebMethod(operationName="helloString4", action="urn:HelloString4")
> public String hello4(@WebParam (name="Name", targetNamespace="helloString4/Name", mode=WebParam.Mode.INOUT) Holder<Name> name, @WebParam (name="Employee", mode=WebParam.Mode.OUT) Holder<org.apache.cxf.Employee> employee) {
> return "Hello " + name + " to Web Service";
> }
> }
> the namespace value "helloString4/Name" in the @XmlElement annotated to Name field is missing:
> @XmlRootElement(name = "helloString4Response", namespace = "http://cxf.apach.org")
> @XmlAccessorType(XmlAccessType.FIELD)
> @XmlType(name = "helloString4Response", namespace = "http://cxf.apach.org", propOrder = {"_return", "Name", "Employee"})
> public class Hello4Response {
> @XmlElement(name = "return")
> private java.lang.String _return;
> @XmlElement(name = "Name")
> private org.apache.cxf.Name Name;
> @XmlElement(name = "Employee")
> private org.apache.cxf.Employee Employee;
> ....
> }
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (CXF-2934) The wrong target namespace of filed in
response wrapper bean is generated
Posted by "Daniel Kulp (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CXF-2934?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Daniel Kulp updated CXF-2934:
-----------------------------
Fix Version/s: 2.2.11
(was: 2.3)
> The wrong target namespace of filed in response wrapper bean is generated
> --------------------------------------------------------------------------
>
> Key: CXF-2934
> URL: https://issues.apache.org/jira/browse/CXF-2934
> Project: CXF
> Issue Type: Bug
> Components: Tooling
> Reporter: jimma
> Assignee: jimma
> Fix For: 2.2.11
>
>
> When use java2ws with "-wrapperbean" flag to generate wsdl for this SEI :
> public class webParamWebService {
> @WebMethod(operationName="helloString4", action="urn:HelloString4")
> public String hello4(@WebParam (name="Name", targetNamespace="helloString4/Name", mode=WebParam.Mode.INOUT) Holder<Name> name, @WebParam (name="Employee", mode=WebParam.Mode.OUT) Holder<org.apache.cxf.Employee> employee) {
> return "Hello " + name + " to Web Service";
> }
> }
> the namespace value "helloString4/Name" in the @XmlElement annotated to Name field is missing:
> @XmlRootElement(name = "helloString4Response", namespace = "http://cxf.apach.org")
> @XmlAccessorType(XmlAccessType.FIELD)
> @XmlType(name = "helloString4Response", namespace = "http://cxf.apach.org", propOrder = {"_return", "Name", "Employee"})
> public class Hello4Response {
> @XmlElement(name = "return")
> private java.lang.String _return;
> @XmlElement(name = "Name")
> private org.apache.cxf.Name Name;
> @XmlElement(name = "Employee")
> private org.apache.cxf.Employee Employee;
> ....
> }
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.