Return-Path: X-Original-To: apmail-camel-users-archive@www.apache.org Delivered-To: apmail-camel-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 2966A11953 for ; Mon, 4 Aug 2014 10:40:31 +0000 (UTC) Received: (qmail 88750 invoked by uid 500); 4 Aug 2014 10:40:30 -0000 Delivered-To: apmail-camel-users-archive@camel.apache.org Received: (qmail 88698 invoked by uid 500); 4 Aug 2014 10:40:30 -0000 Mailing-List: contact users-help@camel.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@camel.apache.org Delivered-To: mailing list users@camel.apache.org Received: (qmail 88687 invoked by uid 99); 4 Aug 2014 10:40:30 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 04 Aug 2014 10:40:30 +0000 X-ASF-Spam-Status: No, hits=2.3 required=5.0 tests=SPF_SOFTFAIL,URI_HEX X-Spam-Check-By: apache.org Received-SPF: softfail (nike.apache.org: transitioning domain of contactreji@gmail.com does not designate 216.139.236.26 as permitted sender) Received: from [216.139.236.26] (HELO sam.nabble.com) (216.139.236.26) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 04 Aug 2014 10:40:28 +0000 Received: from [192.168.236.26] (helo=sam.nabble.com) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1XEFgR-0003W6-GX for users@camel.apache.org; Mon, 04 Aug 2014 03:40:03 -0700 Date: Mon, 4 Aug 2014 03:40:03 -0700 (PDT) From: contactreji To: users@camel.apache.org Message-ID: <1407148803504-5754764.post@n5.nabble.com> Subject: WSDL2Java error in Camel Project MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Hi Guys I just tried creating web service using WSDL first approach. I have created wsdl successfully but while i import the same into my camel project and try to generate classes using wsdl2java plugin, I get following errors. * Execution generate-sources of goal org.apache.cxf:cxf-codegen-plugin:2.6.0.fuse-71-047:wsdl2java failed: file:/C:/Users/re267981/Training/stub-mes-bw-WaterConsumption/src/main/resources/wsdl/SyncSupplierPartyMaster.wsdl [3879,7]: Property "Type" is already defined. Use <jaxb:property> to resolve this conflict. file:/C:/Users/re267981/Training/stub-mes-bw-WaterConsumption/src/main/resources/wsdl/SyncSupplierPartyMaster.wsdl [3914,6]: The following location is relevant to the above error file:/C:/Users/re267981/Training/stub-mes-bw-WaterConsumption/src/main/resources/wsdl/SyncSupplierPartyMaster.wsdl [3598,6]: Property "Type" is already defined. Use <jaxb:property> to resolve this conflict. file:/C:/Users/re267981/Training/stub-mes-bw-WaterConsumption/src/main/resources/wsdl/SyncSupplierPartyMaster.wsdl [3693,5]: The following location is relevant to the above error file:/C:/Users/re267981/Training/stub-mes-bw-WaterConsumption/src/main/resources/wsdl/SyncSupplierPartyMaster.wsdl [3453,6]: Property "Type" is already defined. Use <jaxb:property> to resolve this conflict. file:/C:/Users/re267981/Training/stub-mes-bw-WaterConsumption/src/main/resources/wsdl/SyncSupplierPartyMaster.wsdl [3472,5]: The following location is relevant to the above error (org.apache.cxf:cxf-codegen-plugin:2.6.0.fuse-71-047:wsdl2java:generate-sources:generate-sources)* Attaching WSDL file for your reference. SyncSupplierPartyMaster.wsdl This WSDL is created by a OAGIS open standards schema defined for Manufacturing Domain. Its a widely used set of schemas in production environment around the globe by various manufacturing companies. Any ideas would be helpful Cheers Reji -- View this message in context: http://camel.465427.n5.nabble.com/WSDL2Java-error-in-Camel-Project-tp5754764.html Sent from the Camel - Users mailing list archive at Nabble.com.