[ http://issues.apache.org/jira/browse/BEEHIVE-120?page=all ] Jeremiah Johnson closed BEEHIVE-120: ------------------------------------
Assign To: Jeremiah Johnson (was: Michael Merz) Section 7.1.1 is most explicit about the default of parameter names; it is in reference the parts in the wsdl when using RPC style. The wsm-samples was modified to verify that this issue has been resolved: I removed the @WebParam.name and verified that the default used in the WSDL was correct. --- RpcLiteralSample.jws @WebMethod @WebResult(name="ReturnAddressFromBodyResult") public Address returnAddressFromBody(@WebParam(mode=WebParam.Mode.IN) Address address) { return address; } ... correctly yields ... <wsdl:message name="returnAddressFromBodyRequest"> <wsdl:part name="address" type="impl:Address"/> </wsdl:message> --- --- RpcEncodedSample.java @WebMethod @WebResult(name="ReturnAddressFromBodyResult") public Address returnAddressFromBody(@WebParam(mode=WebParam.Mode.IN) Address address) { return address; } ... correctly yields ... <wsdl:message name="returnAddressFromBodyRequest"> <wsdl:part name="address" type="impl:Address"/> </wsdl:message> --- > JSR-181 compliance: default value for WebParam.name > --------------------------------------------------- > > Key: BEEHIVE-120 > URL: http://issues.apache.org/jira/browse/BEEHIVE-120 > Project: Beehive > Type: Bug > Components: Web Services (181) > Versions: V1Alpha > Reporter: Michael Merz > Assignee: Jeremiah Johnson > Fix For: V1Beta > > Currently, WSM generates default values like "in0" for WebParam.name. This is > not compliant with JSR-181, which requires the name in the source code by > default. > Note: this can be fixed by storing the required info in a artifact that is > generated when the jws-file is compiled and that is evaluated when the WS is > deployed. Since this is the only information that gets lost in the > compilation process (all metadata has > @Retention.value=RetentionPolicy.RUNTIME), only the param names could be > stored. However, it might be cleaner to store the entire object model in a > file for evaluation at deploytime). -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira