axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Davanum Srinivas <dava...@gmail.com>
Subject Re: wsdl2java - got the following exception
Date Sun, 06 Jun 2004 05:51:10 GMT
Fixed. Please try latest cvs.

-- dims

On Fri, 4 Jun 2004 07:50:09 -0400, Davanum Srinivas <davanum@gmail.com> wrote:
> 
> The following section:
> 
> ComputedKey <-> ComputedKeyOpenEnum <-> ComputedKeyEnum combination
> below throws off wsdl2java. Please open a bug report in jira.
> 
> thanks,
> dims
> 
>   <!-- WS-Trust Section 6.2 -->
>   <xs:element name='ComputedKey' type='wst:ComputedKeyOpenEnum' />
>   <xs:simpleType name='ComputedKeyEnum' >
>         <xs:restriction base='xs:anyURI' >
>           <xs:enumeration
> value='http://schemas.xmlsoap.org/ws/2004/04/security/trust/CK/PSHA1'
> />
>           <xs:enumeration
> value='http://schemas.xmlsoap.org/ws/2004/04/security/trust/CK/HASH'
> />
>         </xs:restriction>
>   </xs:simpleType>
> 
>   <xs:simpleType name='ComputedKeyOpenEnum' >
>         <xs:union memberTypes='wst:ComputedKeyEnum xs:anyURI' />
>   </xs:simpleType>
> 
> 
> 
> 
> ----- Original Message -----
> From: Asanka Priyanjitih <apriyanjitih@virtusa.com>
> Date: Fri, 4 Jun 2004 17:34:18 +0600
> Subject: RE: wsdl2java - got the following exception
> To: axis-user@ws.apache.org
> 
> Hi Team
> 
> I also face same thing, I don't know
> what a problem is.
> 
> Please help to us.
> 
> G J Asanka Priyanjith
> 
> -----Original Message-----
> 
> From: Malinda
> [mailto:kaushal@cse.mrt.ac.lk]
> 
> Sent: Friday, June 04, 2004 3:44 PM
> 
> To: axis-user@ws.apache.org
> 
> Subject: wsdl2java - got the
> following exception
> 
> Hi All,
> 
> I'm using wsdl2java to
> generate server side components for Security Token Service in WS-Trust
> (http://schemas.xmlsoap.org/ws/2004/04/trust/ws-trust.wsdl
> ) using the following command:
> 
> %java org.apache.axis.wsdl.WSDL2Java --server-side
> --skeletonDeploy true ws-trust.wsdl
> 
> I have downloaded all the XSD files required and
> change them properly to reference them locally.
> 
> I got the following exception
> 
> org.apache.axis.wsdl.toJava.DuplicateFileException:
> Duplicate file name: org\xml
> 
> soap\schemas\ws\_2004\_04\trust\ComputedKeyEnum.java.
> 
> Hint: you may have mapped two namespaces with elements
> of the same name to the s
> 
> ame package name.
> 
> at org.apache.axis.wsdl.toJava.JavaWriter.generate(JavaWriter.java:113)
> 
>         at
> org.apache.axis.wsdl.toJava.JavaTypeWriter.generate(JavaTypeWriter.ja
> 
> va:112)
> 
>         at
> org.apache.axis.wsdl.toJava.JavaGeneratorFactory$Writers.generate(Jav
> 
> aGeneratorFactory.java:409)
> 
>         at org.apache.axis.wsdl.gen.Parser.generateTypes(Parser.java:519)
> 
>         at
> org.apache.axis.wsdl.gen.Parser.generate(Parser.java:406)
> 
>         at
> org.apache.axis.wsdl.gen.Parser.access$000(Parser.java:45)
> 
>         at
> org.apache.axis.wsdl.gen.Parser$WSDLRunnable.run(Parser.java:336)
> 
>         at
> java.lang.Thread.run(Unknown Source)
> 
> Is this a fault in my .wsdl file
> and .xsd files or a problem in wsdl2java?
> 
> I couldn't find any error
> in those files. Please help me on this.
> 
> Thanks
> 
> Kaushalye
> 
> ________________________________
> 
> --------------------------------------------------------------------------------------------------
> 
> This message, including any attachments, contains confidential
> information intended for a specific individual and purpose, and is
> intended for the addressee only.  Any unauthorized disclosure, use,
> dissemination, copying, or distribution of this message or any of its
> attachments or the information contained in this e-mail, or the taking
> of any action based on it, is strictly prohibited.  If you are not the
> intended recipient, please notify the sender immediately by return
> e-mail and delete this message.
>

Mime
View raw message