cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel Kulp (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (CXF-943) Doc/Lit/Bare creating wrong element names in wsdl
Date Tue, 04 Sep 2007 20:30:46 GMT

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

Daniel Kulp resolved CXF-943.
-----------------------------

    Resolution: Fixed
      Assignee: Daniel Kulp

> Doc/Lit/Bare creating wrong element names in wsdl
> -------------------------------------------------
>
>                 Key: CXF-943
>                 URL: https://issues.apache.org/jira/browse/CXF-943
>             Project: CXF
>          Issue Type: Bug
>          Components: JAX-WS Runtime, JAXB Databinding, Tooling
>    Affects Versions: 2.0.1
>            Reporter: Daniel Kulp
>            Assignee: Daniel Kulp
>             Fix For: 2.0.2
>
>
> According to section 3.6.2.2 of the jaxws spec, a method like:
>    @WebMethod(operationName = "SubmitNamespacedPO")
>    @WebResult(targetNamespace = "http://namespace/result", name = "SubmitBareResponse")
>    SubmitBareResponse submitNamespacedPO(@WebParam(targetNamespace = "http://namespace/request")

>                  SubmitBareRequest poRequest);
> with 
> @XmlAccessorType(XmlAccessType.FIELD)
> @XmlType(name = "SubmitBareRequest", namespace="http://soapbinding.samples.jaxws.ws.test.jboss.org/",
propOrder = { "product" })
> @XmlRootElement(namespace="http://soapbinding.samples.jaxws.ws.test.jboss.org/", name
= "SubmitPO")
> public class SubmitBareRequest
> Should result in messages like:
>   <wsdl:message name="SubmitNamespacedPO">
>     <wsdl:part element="ns1:SubmitNamespacedPO" name="SubmitNamespacedPO"/>
>   </wsdl:message>
>   <wsdl:message name="SubmitNamespacedPOResponse">
>     <wsdl:part element="ns2:SubmitNamespacedPOResponse" name="SubmitNamespacedPOResponse"/>
>   </wsdl:message>
> Instead, we are using the  XMLRootElement qnamed element and generating:
>   <wsdl:message name="SubmitNamespacedPO">
>     <wsdl:part element="ns1:SubmitPO" name="SubmitNamespacedPO">
>     </wsdl:part>
>   </wsdl:message>

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


Mime
View raw message