Return-Path: Delivered-To: apmail-ws-axis-dev-archive@www.apache.org Received: (qmail 93509 invoked from network); 25 Nov 2005 15:05:53 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 25 Nov 2005 15:05:53 -0000 Received: (qmail 45336 invoked by uid 500); 25 Nov 2005 15:05:37 -0000 Delivered-To: apmail-ws-axis-dev-archive@ws.apache.org Received: (qmail 45026 invoked by uid 500); 25 Nov 2005 15:05:35 -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 44851 invoked by uid 99); 25 Nov 2005 15:05:33 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 25 Nov 2005 07:05:33 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [194.139.105.20] (HELO ns3.isogmbh.de) (194.139.105.20) by apache.org (qpsmtpd/0.29) with SMTP; Fri, 25 Nov 2005 07:07:00 -0800 Received: (qmail 19611 invoked from network); 25 Nov 2005 15:05:05 -0000 Received: from unknown (HELO winpc89) (192.168.81.12) by mail.dmz.isogmbh.de with SMTP; 25 Nov 2005 15:05:04 -0000 From: "Franz Fehringer" To: "Axis-User@Ws. Apache. Org" , , , "Apache AXIS C Developers List" Subject: wsdl2xxx chokes on simple example from w3.org Date: Fri, 25 Nov 2005 16:01:43 +0100 Message-ID: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_NextPart_000_0000_01C5F1D9.87AFA680" X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0) X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1506 Importance: Normal X-ISOAntiVirus: scanned for viruses by ISO Mail-Scanner X-Spam-Checker-Version: SpamAssassin 3.0.2 (2004-11-16) on ns3.nbg.isogmbh.de X-Spam-Level: X-Virus-Checked: Checked by ClamAV on apache.org X-Old-Spam-Status: No, score=-104.5 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00, USER_IN_WHITELIST autolearn=ham version=3.0.2 X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N This is a multi-part message in MIME format. ------=_NextPart_000_0000_01C5F1D9.87AFA680 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit Hello, Both wsdl2ws (Axis C/C++ 1.5) and wsdl2java (Axis Java 1.3) fail on the first example (StockQuote; file attached) of http://www.w3.org/TR/wsdl The environmemnt for completeness is Win2K with Java 1.5.0_05. The problem is that the wsdl2xxx cannot cope with element tags without type attributes. The C/C++ wsdl2ws Tool first gives warnings (note the gt sign in front) java -cp C:\Programme\axis-c-1-5-win32\lib\axis\wsdl2ws.jar;... org.apache.axis.wsdl.wsdl2ws.WSDL2Ws -ocpp -sclient tro.wsdl ignoring anonymous type >TradePrice ignoring anonymous type >TradePriceRequest and then indeed doesn't generate any source code for TradePrice and TradePriceRequest. As i wrote in http://marc.theaimsgroup.com/?l=axis-c-dev&m=113273914320619&w=2 (with full example) with more complex WSDL corrupt C++ source code is generated in this case declaring and referencing items like (note again the gt sign) class >t_Warning_Description; With wsdl2java i get Java source code like (TradePrice.java) typeDesc.setXmlType(new javax.xml.namespace.QName("http://example.com/stockquote.xsd", ">TradePrice")); again with the infamous gt sign. To fix this, i can either change to or to and in that case change to Is this a known problem? Note, that in the W3 example i had to make two small corrections to get it working: - Change StockQuoteSoapBinding to StockQuoteBinding - Replace http://www.w3.org/2000/10/XMLSchema with http://www.w3.org/2001/XMLSchema Best regards Franz Dr. Franz Fehringer (Dipl. Math.) ____________________________________ ISO Software Systeme Eichendorffstrasse 29 90491 N�rnberg Deutschland Tel. : +49/(911) - 99594-0 Fax : +49/(911) - 99594-580 mailto:feh@isogmbh.de http://www.isogmbh.de ------=_NextPart_000_0000_01C5F1D9.87AFA680 Content-Type: text/xml; name="w3_ok.xml" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="w3_ok.xml" My first service ------=_NextPart_000_0000_01C5F1D9.87AFA680 Content-Type: text/xml; name="w3_nok.xml" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="w3_nok.xml" My first service ------=_NextPart_000_0000_01C5F1D9.87AFA680--