Return-Path: Delivered-To: apmail-incubator-cxf-issues-archive@locus.apache.org Received: (qmail 86789 invoked from network); 21 Mar 2008 19:53:22 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 21 Mar 2008 19:53:22 -0000 Received: (qmail 3481 invoked by uid 500); 21 Mar 2008 19:53:21 -0000 Delivered-To: apmail-incubator-cxf-issues-archive@incubator.apache.org Received: (qmail 3400 invoked by uid 500); 21 Mar 2008 19:53:21 -0000 Mailing-List: contact cxf-issues-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: cxf-dev@incubator.apache.org Delivered-To: mailing list cxf-issues@incubator.apache.org Received: (qmail 3391 invoked by uid 99); 21 Mar 2008 19:53:20 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 21 Mar 2008 12:53:20 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 21 Mar 2008 19:52:50 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 32651234C0AA for ; Fri, 21 Mar 2008 12:51:27 -0700 (PDT) Message-ID: <398649377.1206129087205.JavaMail.jira@brutus> Date: Fri, 21 Mar 2008 12:51:27 -0700 (PDT) From: "Chris McClelland (JIRA)" To: cxf-issues@incubator.apache.org Subject: [jira] Created: (CXF-1486) wsdl2java generates aync SEI methods having compile errors when consuming a BARE service returning int. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org wsdl2java generates aync SEI methods having compile errors when consuming a BARE service returning int. ------------------------------------------------------------------------------------------------------- Key: CXF-1486 URL: https://issues.apache.org/jira/browse/CXF-1486 Project: CXF Issue Type: Bug Components: Tooling Affects Versions: 2.1 Reporter: Chris McClelland Fix For: 2.1 If you create a service like this: @WebService(targetNamespace = Bug.NS_URI) @SOAPBinding(parameterStyle = SOAPBinding.ParameterStyle.BARE) public class Bug { public static final String NS_URI = "http://blah"; @WebMethod(operationName = "GetInt") public int getInt( @WebParam(targetNamespace = NS_URI, name = "GetInt") String request) { return 10; } } ...and then pipe its CXF-generated WSDL through wsdl2java with enableAsyncMapping, the generated SEI will not compile: @SOAPBinding(parameterStyle = SOAPBinding.ParameterStyle.BARE) @WebMethod(operationName = "GetInt") public Response getIntAsync( @WebParam(partName = "GetInt", name = "GetInt", targetNamespace = "http://blah") java.lang.String getInt ); The reason is that you can't do Response; it has to be Response. The same is true for any builtin type (int, float, boolean etc). -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.