You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Daniel Kulp (JIRA)" <ji...@apache.org> on 2009/10/05 16:45:31 UTC
[jira] Resolved: (CXF-1485) @WebParam / @WebResult partName
parameter ignored when @SOAPBinding parameterStyle=BARE
[ https://issues.apache.org/jira/browse/CXF-1485?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Daniel Kulp resolved CXF-1485.
------------------------------
Resolution: Won't Fix
Fix Version/s: Invalid
Spec compliance issue. Need to leave as is.
> @WebParam / @WebResult partName parameter ignored when @SOAPBinding parameterStyle=BARE
> ---------------------------------------------------------------------------------------
>
> Key: CXF-1485
> URL: https://issues.apache.org/jira/browse/CXF-1485
> Project: CXF
> Issue Type: Bug
> Components: JAX-WS Runtime
> Affects Versions: 2.0.4
> Reporter: Evgeny V. Chesnokov
> Fix For: Invalid
>
>
> Here's my annotated method:
> @WebMethod @WebResult(partName="exists", name = "exists")
> @ResponseWrapper(className = "java.lang.Boolean") @RequestWrapper(className = "java.lang.Long")
> @SOAPBinding(parameterStyle = SOAPBinding.ParameterStyle.BARE)
> public boolean checkBICSwiftExists(@WebParam(partName="bicId", name = "bicId") long bicId);
> This results in the following WSDL:
> ...
> <xs:element name="checkBICSwiftExists" nillable="true" type="xs:long" />
> <xs:element name="checkBICSwiftExistsResponse" nillable="true" type="xs:boolean" />
> ...
> <wsdl:operation name="checkBICSwiftExists">
> <wsdl:input message="tns:checkBICSwiftExists" name="checkBICSwiftExists" />
> <wsdl:output message="tns:checkBICSwiftExistsResponse" name="checkBICSwiftExistsResponse" />
> </wsdl:operation>
> ...
> <wsdl:message name="checkBICSwiftExists">
> <wsdl:part element="tns:checkBICSwiftExists" name="parameters" /> <!-- here is the wrong part, name should be "bicId" ! -->
> </wsdl:message>
> <wsdl:message name="checkBICSwiftExistsResponse">
> <wsdl:part element="tns:checkBICSwiftExistsResponse" name="parameters" /> <!-- here is the wrong part, name should be "exists" ! -->
> </wsdl:message>
> That, when wsdl2java is called, results in wrong parameter name, i.e. "long parameters".
> Hope that helps, bye,
> Evgeny.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.