Return-Path: Delivered-To: apmail-ws-axis-dev-archive@www.apache.org Received: (qmail 27272 invoked from network); 4 Jun 2006 21:06:32 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 4 Jun 2006 21:06:32 -0000 Received: (qmail 16584 invoked by uid 500); 4 Jun 2006 21:06:29 -0000 Delivered-To: apmail-ws-axis-dev-archive@ws.apache.org Received: (qmail 16547 invoked by uid 500); 4 Jun 2006 21:06:29 -0000 Mailing-List: contact axis-dev-help@ws.apache.org; run by ezmlm Precedence: bulk Reply-To: axis-dev@ws.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list axis-dev@ws.apache.org Received: (qmail 16536 invoked by uid 99); 4 Jun 2006 21:06:28 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 04 Jun 2006 14:06:28 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [209.237.227.198] (HELO brutus.apache.org) (209.237.227.198) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 04 Jun 2006 14:06:27 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 2AFFA7141F9 for ; Sun, 4 Jun 2006 21:05:30 +0000 (GMT) Message-ID: <25829498.1149455130146.JavaMail.jira@brutus> Date: Sun, 4 Jun 2006 21:05:30 +0000 (GMT+00:00) From: "Nadeem Hoda (JIRA)" To: axis-dev@ws.apache.org Subject: [jira] Updated: (AXIS2-798) WSDL2Java Fails on MTOM wsdls In-Reply-To: <20604798.1149279993365.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 X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/AXIS2-798?page=all ] Nadeem Hoda updated AXIS2-798: ------------------------------ Attachment: Axis2-MTOM.wsdl This is a simple MTOM WSDL attempt that gives the error indicated by the ticket: Exception in thread "main" org.apache.axis2.wsdl.codegen.CodeGenerationException : Error parsing WSDL at org.apache.axis2.wsdl.codegen.CodeGenerationEngine.(CodeGenerat ionEngine.java:96) at org.apache.axis2.wsdl.WSDL2Code.main(WSDL2Code.java:32) at org.apache.axis2.wsdl.WSDL2Java.main(WSDL2Java.java:21) Caused by: WSDLException (at /definitions/binding/operation/input/feature): faul tCode=INVALID_WSDL: Encountered illegal extension element '{http://schemas.xmlso ap.org/wsdl/}feature' in the context of a 'javax.wsdl.BindingInput'. Extension e lements must be in a namespace other than WSDL's.: at com.ibm.wsdl.xml.WSDLReaderImpl.parseExtensibilityElement(Unknown Sou rce) at com.ibm.wsdl.xml.WSDLReaderImpl.parseBindingInput(Unknown Source) at com.ibm.wsdl.xml.WSDLReaderImpl.parseBindingOperation(Unknown Source) at com.ibm.wsdl.xml.WSDLReaderImpl.parseBinding(Unknown Source) at com.ibm.wsdl.xml.WSDLReaderImpl.parseDefinitions(Unknown Source) at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(Unknown Source) at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(Unknown Source) at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(Unknown Source) at org.apache.axis2.wsdl.codegen.CodeGenerationEngine.readInTheWSDLFile( CodeGenerationEngine.java:238) at org.apache.axis2.wsdl.codegen.CodeGenerationEngine.(CodeGenerat ionEngine.java:81) ... 2 more > WSDL2Java Fails on MTOM wsdls > ----------------------------- > > Key: AXIS2-798 > URL: http://issues.apache.org/jira/browse/AXIS2-798 > Project: Apache Axis 2.0 (Axis2) > Type: Bug > Components: wsdl > Versions: 1.0 > Environment: Win32 > Reporter: Nadeem Hoda > Attachments: Axis2-MTOM.wsdl > > In wsdl bindings, the following MTOM construct fails when using WSDL2Java: > ..... > > > > Error: > Exception in thread "main" org.apache.axis2.wsdl.codegen.CodeGenerationException > : Error parsing WSDL > at org.apache.axis2.wsdl.codegen.CodeGenerationEngine.(CodeGenerat > ionEngine.java:96) > at org.apache.axis2.wsdl.WSDL2Code.main(WSDL2Code.java:32) > at org.apache.axis2.wsdl.WSDL2Java.main(WSDL2Java.java:21) > Caused by: WSDLException (at /definitions/binding/operation[1]/input/feature): f > aultCode=INVALID_WSDL: Encountered illegal extension element '{http://schemas.xm > lsoap.org/wsdl/}feature' in the context of a 'javax.wsdl.BindingInput'. Extensio > n elements must be in a namespace other than WSDL's.: > at com.ibm.wsdl.xml.WSDLReaderImpl.parseExtensibilityElement(Unknown Sou > rce) > at com.ibm.wsdl.xml.WSDLReaderImpl.parseBindingInput(Unknown Source) > at com.ibm.wsdl.xml.WSDLReaderImpl.parseBindingOperation(Unknown Source) > at com.ibm.wsdl.xml.WSDLReaderImpl.parseBinding(Unknown Source) > at com.ibm.wsdl.xml.WSDLReaderImpl.parseDefinitions(Unknown Source) > at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(Unknown Source) > at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(Unknown Source) > at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(Unknown Source) > at org.apache.axis2.wsdl.codegen.CodeGenerationEngine.readInTheWSDLFile( > CodeGenerationEngine.java:238) > at org.apache.axis2.wsdl.codegen.CodeGenerationEngine.(CodeGenerat > ionEngine.java:81) > ... 2 more -- 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 --------------------------------------------------------------------- To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org For additional commands, e-mail: axis-dev-help@ws.apache.org