Return-Path: Delivered-To: apmail-axis-java-dev-archive@www.apache.org Received: (qmail 27634 invoked from network); 24 Apr 2010 07:36:17 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 24 Apr 2010 07:36:17 -0000 Received: (qmail 63332 invoked by uid 500); 24 Apr 2010 07:36:16 -0000 Delivered-To: apmail-axis-java-dev-archive@axis.apache.org Received: (qmail 62960 invoked by uid 500); 24 Apr 2010 07:36:15 -0000 Mailing-List: contact java-dev-help@axis.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: java-dev@axis.apache.org Delivered-To: mailing list java-dev@axis.apache.org Received: (qmail 62950 invoked by uid 99); 24 Apr 2010 07:36:14 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 24 Apr 2010 07:36:14 +0000 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.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 24 Apr 2010 07:36:12 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o3O7Zo2x017648 for ; Sat, 24 Apr 2010 07:35:51 GMT Message-ID: <27909422.173801272094550700.JavaMail.jira@thor> Date: Sat, 24 Apr 2010 03:35:50 -0400 (EDT) From: "Andreas Veithen (JIRA)" To: java-dev@axis.apache.org Subject: [jira] Commented: (AXIS2-4687) generated wsdl does not validate due to http binding In-Reply-To: <20896410.110031271837812302.JavaMail.jira@thor> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/AXIS2-4687?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12860500#action_12860500 ] Andreas Veithen commented on AXIS2-4687: ---------------------------------------- The commit in r937436 causes the following tests to fail in the integration module: org.apache.axis2.deployment.WSDL11ToAxisServiceBuilderTest org.apache.axis2.generics.GenericWSDLGenerationTest org.tempuri.complex.ComplexDataTypesTest They all fail with a similar error message: junit.framework.AssertionFailedError: org.custommonkey.xmlunit.Diff [different] Expected attribute value 'retUri' but was 'parameters' - comparing at /definitions[1]/binding[3]/operation[1]/input[1]/content[1] to at /definitions[1]/binding[3]/operation[1]/input[1]/content[1] Can you please investigate? > generated wsdl does not validate due to http binding > ---------------------------------------------------- > > Key: AXIS2-4687 > URL: https://issues.apache.org/jira/browse/AXIS2-4687 > Project: Axis2 > Issue Type: Bug > Components: codegen, wsdl > Affects Versions: 1.5.1, 1.5 > Reporter: Matthias Gaiser > Assignee: Lahiru Gunathilake > Priority: Minor > Attachments: testws-http.zip > > > I have a simple java test class: > package testws; > public class TestService { > public String test1() { > return ""; > } > > public String test2() { > return ""; > } > } > I generate a wsdl with java2wsdl and try to validate the wsdl with XMLSpy and it failed. It complained about the mime:content element which references a non-existing part in the defined message. > After I renamed all the parts in the httpBinding to "parameters" which is Axis' default for the message parts, it validated successfully. > I will attach the java class, my java2wsdl build script, the original wsdl and the corrected wsdl. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org For additional commands, e-mail: java-dev-help@axis.apache.org