Return-Path: Delivered-To: apmail-ws-kandula-dev-archive@www.apache.org Received: (qmail 94122 invoked from network); 17 May 2010 21:02:05 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 17 May 2010 21:02:05 -0000 Received: (qmail 58154 invoked by uid 500); 17 May 2010 21:02:04 -0000 Delivered-To: apmail-ws-kandula-dev-archive@ws.apache.org Received: (qmail 57969 invoked by uid 500); 17 May 2010 21:02:04 -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 57961 invoked by uid 99); 17 May 2010 21:02:04 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 17 May 2010 21:02:04 +0000 X-ASF-Spam-Status: No, hits=-1436.1 required=10.0 tests=ALL_TRUSTED,AWL 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; Mon, 17 May 2010 21:02:02 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o4HL1gSk028574 for ; Mon, 17 May 2010 21:01:42 GMT Message-ID: <12453333.91861274130102455.JavaMail.jira@thor> Date: Mon, 17 May 2010 17:01:42 -0400 (EDT) From: "Dmitriy (JIRA)" To: java-dev@axis.apache.org Subject: [jira] Created: (AXIS2-4718) Code generated by WSDL2JAVA is not compatible with original WSDL MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Code generated by WSDL2JAVA is not compatible with original WSDL ---------------------------------------------------------------- Key: AXIS2-4718 URL: https://issues.apache.org/jira/browse/AXIS2-4718 Project: Axis2 Issue Type: Bug Components: wsdl Affects Versions: 1.5.1 Environment: Windows XP / Solaris 10 Reporter: Dmitriy There is a WSDL file given. When using wsdl2java utilitu to generate service skeleton and necessary support classes (ADB bindings), the resulting server does not follow the originally used WSDL. Specifically, additional layer of elements in the "in" and "out" messages is present in the service, so the clients generated using the original WSDL can not communicate with the service. In the provided example, the expected message structure is: ? but the generated service skeleton expects the following: ? There is an additional level of "wrapping" for the in/out messages (element dvk:hello) exists in the generated code preventing the client from communicating with the service. The same problem is observed using the clients using ADB and XMLBEANS bindings. I have small project demonstrating the problem which I will try to attach to this ticket. Note: I have been able to invoke the generated service using SUAPUI utility using the WSDL exported by AXIS under http://?wsdl. The main problem is I seem to be unable to use "contract first" approach because the generated service is not compatible with originally designed contract. -- 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