Return-Path: Delivered-To: apmail-geronimo-dev-archive@www.apache.org Received: (qmail 15673 invoked from network); 29 May 2007 20:45:38 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 29 May 2007 20:45:38 -0000 Received: (qmail 9361 invoked by uid 500); 29 May 2007 20:45:40 -0000 Delivered-To: apmail-geronimo-dev-archive@geronimo.apache.org Received: (qmail 9307 invoked by uid 500); 29 May 2007 20:45:40 -0000 Mailing-List: contact dev-help@geronimo.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@geronimo.apache.org List-Id: Delivered-To: mailing list dev@geronimo.apache.org Received: (qmail 9295 invoked by uid 99); 29 May 2007 20:45:40 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 29 May 2007 13:45:40 -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; Tue, 29 May 2007 13:45:35 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 914F7714042 for ; Tue, 29 May 2007 13:45:15 -0700 (PDT) Message-ID: <21669337.1180471515588.JavaMail.jira@brutus> Date: Tue, 29 May 2007 13:45:15 -0700 (PDT) From: "Lin Sun (JIRA)" To: dev@geronimo.apache.org Subject: [jira] Created: (GERONIMO-3197) Axis2: don't call wsgen tool if BindingType is HTTP_Binding MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Axis2: don't call wsgen tool if BindingType is HTTP_Binding ----------------------------------------------------------- Key: GERONIMO-3197 URL: https://issues.apache.org/jira/browse/GERONIMO-3197 Project: Geronimo Issue Type: Bug Security Level: public (Regular issues) Components: webservices Affects Versions: 2.0-M6 Reporter: Lin Sun Assignee: Lin Sun Fix For: 2.0-M6 If the app uses bindingType annotation whose value is HTTPBinding.HTTP_BINDING, and the app doesn't have a wsdl file, deployment will fail in generating the wsdl file because Sun's wsgen tool only supports SOAP 1.1 or 1.2. Here's the stack trace: DeploymentStatus... Message = wsgen failed: error: The -wsdl option cannot be used with non-SOAP bindings. Class "HelloImpl" binding: "http://www.w3.org/2004/08/wsdl/http". org.apache.geronimo.common.DeploymentException: wsgen failed: error: The -wsdl option cannot be used with non-SOAP bindings. Class "HelloImpl" binding: "http://www.w3.org/2004/08/wsdl/http". at org.apache.geronimo.jaxws.builder.WsdlGenerator.generateWsdl(WsdlGenerator.java:354) at org.apache.geronimo.axis2.builder.Axis2Builder.initialize(Axis2Builder.java:318) at org.apache.geronimo.jaxws.builder.JAXWSServiceBuilder.configurePOJO(JAXWSServiceBuilder.java:358) -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.