Return-Path: Delivered-To: apmail-incubator-cxf-user-archive@locus.apache.org Received: (qmail 74374 invoked from network); 8 Apr 2008 18:50:39 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 8 Apr 2008 18:50:39 -0000 Received: (qmail 83804 invoked by uid 500); 8 Apr 2008 18:50:38 -0000 Delivered-To: apmail-incubator-cxf-user-archive@incubator.apache.org Received: (qmail 83671 invoked by uid 500); 8 Apr 2008 18:50:37 -0000 Mailing-List: contact cxf-user-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: cxf-user@incubator.apache.org Delivered-To: mailing list cxf-user@incubator.apache.org Received: (qmail 83662 invoked by uid 99); 8 Apr 2008 18:50:37 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 Apr 2008 11:50:37 -0700 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of bimargulies@gmail.com designates 72.14.246.241 as permitted sender) Received: from [72.14.246.241] (HELO ag-out-0708.google.com) (72.14.246.241) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 Apr 2008 18:49:52 +0000 Received: by ag-out-0708.google.com with SMTP id 23so2553339agd.6 for ; Tue, 08 Apr 2008 11:50:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; bh=uxwv/tafcznyQmpoQ/gV5pEv4WsreVuv0QBwDPSG+yw=; b=XE8LLGtg8422SnW7lDZk9yR92jxRnxYeSz9wIJfnMUFX7Ju/BTvqwd7pGzURPy40Hs63V9P3sgB8LBVc4O32WvqqsCvEvk8pM9q0/AnItDJ12ODLdOppvuqiwh0tByyyI5KfixfKdccxE9EZSleQn4+Cf4QftjMN5Y8UGyaLcaw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=B5GI1g1taMKQlJOnuZF/o5LeBPHZMGsinRjO0XhGephkw/PTc+dex6gn+3nSPp22n8WvOYraCeQ0qPSX2YllRY7jEzaSX+kgR2nUJOwN5t8HxwIjJ0RPaoZ7wKrvwD79uH8AsCTudAdC9bfq4/nUp0KPxAsx0OE8F4XpO1QK4LA= Received: by 10.100.178.7 with SMTP id a7mr13536494anf.73.1207680603856; Tue, 08 Apr 2008 11:50:03 -0700 (PDT) Received: by 10.100.5.10 with HTTP; Tue, 8 Apr 2008 11:50:03 -0700 (PDT) Message-ID: <61b5d9410804081150r5fc4a6e6r746749a5bb3aa15@mail.gmail.com> Date: Tue, 8 Apr 2008 14:50:03 -0400 From: "Benson Margulies" To: cxf-user@incubator.apache.org Subject: Re: Need help with WSDL2Java In-Reply-To: <8F1355BE69A4F943B34CCA447F73E60588CA26@SPDCMX04.speak.local> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_22037_20228087.1207680603857" References: <8F1355BE69A4F943B34CCA447F73E60588CA26@SPDCMX04.speak.local> X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_22037_20228087.1207680603857 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline That's soap encoding. CXF 2.0.x doesn't support it at all. CXF 2.1 might support it enough, I don't recall how complete is the job Dain did on it. On Tue, Apr 8, 2008 at 2:44 PM, Syed Haq wrote: > Hi, > > > > We have been using Axis (1.3)'s in our project for quite some time now. > While trying to evaluate migration effort to cxf, I'm stuck right at the > first step - unable to generate Java source out of WSDL file. > > > > Here is the error that I get: > > > > WSDLToJava Error: Thrown by JAXB : undefined simple or complex type > 'SOAP-ENC:Array' > > > > I'm attaching the WSDL for reference. We use GSoap to generate it out of > C headers. > > > > When I remove the SOAP array reference, and just use the unbounded type, > it works find and generates code that uses List. > > Note that ArrayOfAlarmInfo and ArrayOfDbChangeInfo are defined both as > unbounded and bounded arrays. Removing the unbounded reference also > doesn't have any effect. > > Thanks for all the help. > > > > Regards, > > Syed > > > > WSDL: > > > > > > > targetNamespace="http://silverpeak.com/gms.wsdl" > > xmlns:tns="http://silverpeak.com/gms.wsdl" > > xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" > > xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" > > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" > > xmlns:xsd="http://www.w3.org/2001/XMLSchema" > > xmlns:ns="urn:soap:silverpeak:com" > > xmlns:SOAP="http://schemas.xmlsoap.org/wsdl/soap/" > > xmlns:MIME="http://schemas.xmlsoap.org/wsdl/mime/" > > xmlns:DIME="http://schemas.xmlsoap.org/ws/2002/04/dime/wsdl/" > > xmlns:WSDL="http://schemas.xmlsoap.org/wsdl/" > > xmlns="http://schemas.xmlsoap.org/wsdl/"> > > > > > > > > > xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" > > xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" > > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" > > xmlns:xsd="http://www.w3.org/2001/XMLSchema" > > xmlns:ns="urn:soap:silverpeak:com" > > xmlns="http://www.w3.org/2001/XMLSchema" > > elementFormDefault="unqualified" > > attributeFormDefault="unqualified"> > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > maxOccurs="1" nillable="true"/> > > maxOccurs="1" nillable="true"/> > > nillable="true"/> > > maxOccurs="1" nillable="true"/> > > > > > > > > > > nillable="true"/> > > nillable="true"/> > > maxOccurs="1" nillable="true"/> > > maxOccurs="1" nillable="true"/> > > > > maxOccurs="1"/> > > > > > > maxOccurs="1"/> > > maxOccurs="1"/> > > maxOccurs="1"/> > > maxOccurs="1"/> > > maxOccurs="1"/> > > > > > > > > > > > > > > maxOccurs="unbounded"/> > > > > WSDL:arrayType="ns:AlarmInfo[]"/> > > > > > > > > > > > > maxOccurs="1"/> > > maxOccurs="1" nillable="true"/> > > maxOccurs="1" nillable="true"/> > > > > > > > > > > > > > > maxOccurs="unbounded"/> > > > > WSDL:arrayType="ns:DbChangeInfo[]"/> > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > Service definition of function > ns__registerSystem > > > > > > > > > > Service definition of function > ns__notifyAlarmEvent > > > > > > > > > > Service definition of function > ns__notifyAlarmEvents > > > > > > > > > > Service definition of function > ns__notifyDbChangeEvent > > > > > > > > > > > > > > transport="http://schemas.xmlsoap.org/soap/http"/> > > > > > > > > namespace="urn:soap:silverpeak:com"/> > > > > > > namespace="urn:soap:silverpeak:com"/> > > > > > > > > > > > > namespace="urn:soap:silverpeak:com"/> > > > > > > namespace="urn:soap:silverpeak:com"/> > > > > > > > > > > > > namespace="urn:soap:silverpeak:com"/> > > > > > > namespace="urn:soap:silverpeak:com"/> > > > > > > > > > > > > namespace="urn:soap:silverpeak:com"/> > > > > > > namespace="urn:soap:silverpeak:com"/> > > > > > > > > > > > > Silver-Peak GMS service > > > > > > > > > > > > > > . > > ------=_Part_22037_20228087.1207680603857--