Return-Path: Delivered-To: apmail-incubator-cxf-issues-archive@locus.apache.org Received: (qmail 81908 invoked from network); 13 Sep 2007 13:31:55 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 13 Sep 2007 13:31:55 -0000 Received: (qmail 58379 invoked by uid 500); 13 Sep 2007 13:31:49 -0000 Delivered-To: apmail-incubator-cxf-issues-archive@incubator.apache.org Received: (qmail 58363 invoked by uid 500); 13 Sep 2007 13:31:48 -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 58354 invoked by uid 99); 13 Sep 2007 13:31:48 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 13 Sep 2007 06:31:48 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 13 Sep 2007 13:33:34 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id B935571413F for ; Thu, 13 Sep 2007 06:31:32 -0700 (PDT) Message-ID: <30817846.1189690292742.JavaMail.jira@brutus> Date: Thu, 13 Sep 2007 06:31:32 -0700 (PDT) From: "Julien DUMETIER (JIRA)" To: cxf-issues@incubator.apache.org Subject: [jira] Updated: (CXF-1001) WSDL2Java header problem when using -exsh parameter In-Reply-To: <22842001.1189690172810.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/CXF-1001?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Julien DUMETIER updated CXF-1001: --------------------------------- Attachment: AccountService.wsdl The WSDL used. > WSDL2Java header problem when using -exsh parameter > --------------------------------------------------- > > Key: CXF-1001 > URL: https://issues.apache.org/jira/browse/CXF-1001 > Project: CXF > Issue Type: Bug > Components: Tooling > Affects Versions: 2.0.1 > Environment: JDK6 update 2 > Reporter: Julien DUMETIER > Attachments: AccountService.wsdl > > > When using the WSDL2Java tool with the -exsh true parameter, > it seems that the methods without parameter are not generated with the header parameters. > For example, with the WSDL transmitted, i obtain this : > @WebResult(targetNamespace = "com.esendex.ems.soapinterface", name = "GetMessageLimitResult") > @RequestWrapper(localName = "GetMessageLimit", targetNamespace = "com.esendex.ems.soapinterface", className = "soapinterface.ems.esendex.com.GetMessageLimit") > @ResponseWrapper(localName = "GetMessageLimitResponse", targetNamespace = "com.esendex.ems.soapinterface", className = "soapinterface.ems.esendex.com.GetMessageLimitResponse") > @WebMethod(operationName = "GetMessageLimit", action = "com.esendex.ems.soapinterface/GetMessageLimit") > public int getMessageLimit(@WebParam(); > And i expected that : > @WebResult(targetNamespace = "com.esendex.ems.soapinterface", name = "GetMessageLimitResult") > @RequestWrapper(localName = "GetMessageLimit", targetNamespace = "com.esendex.ems.soapinterface", className = "soapinterface.ems.esendex.com.GetMessageLimit") > @ResponseWrapper(localName = "GetMessageLimitResponse", targetNamespace = "com.esendex.ems.soapinterface", className = "soapinterface.ems.esendex.com.GetMessageLimitResponse") > @WebMethod(operationName = "GetMessageLimit", action = "com.esendex.ems.soapinterface/GetMessageLimit") > public int getMessageLimit(@WebParam(targetNamespace = "com.esendex.ems.soapinterface", name = "MessengerHeader", header = true) > soapinterface.ems.esendex.com.MessengerHeader messengerHeader); -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.