axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andreas Veithen (JIRA)" <axis-...@ws.apache.org>
Subject [jira] [Updated] (AXIS-2377) Included WSDL causes org.apache.axis.wsdl.toJava.DuplicateFileException: Duplicate file name: org\example\www\NewXMLSchema\MyBooleanType.java
Date Sat, 13 Oct 2012 07:37:02 GMT

     [ https://issues.apache.org/jira/browse/AXIS-2377?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Andreas Veithen updated AXIS-2377:
----------------------------------

    Labels: DuplicateFileException  (was: )
    
> Included WSDL causes org.apache.axis.wsdl.toJava.DuplicateFileException: Duplicate file
name: org\example\www\NewXMLSchema\MyBooleanType.java
> ---------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: AXIS-2377
>                 URL: https://issues.apache.org/jira/browse/AXIS-2377
>             Project: Axis
>          Issue Type: Bug
>          Components: WSDL processing
>    Affects Versions: 1.3
>         Environment: Windows XP, JDK 1.4.2.10
>            Reporter: Dan van Leeuwen
>            Priority: Minor
>              Labels: DuplicateFileException
>
> Note that by changing <restriction base="string"> to <restriction base="tns:StringType">
> the problem is resolved.
> I have run WSDL validator in the Eclipse WTP 1.0 and have am able to use the Web Services
Explorer against this WSDL.
> <?xml version="1.0" encoding="UTF-8"?>
> <wsdl:definitions targetNamespace="urn:mycompany:/crCarl/TransformServiceWithURL"
xmlns:tns="urn:mycompany:/crCarl/TransformServiceWithURL" xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
xmlns:tns1="http://www.example.org/NewXMLSchema" xmlns="http://schemas.xmlsoap.org/wsdl/">
>   <wsdl:types>
>     <schema targetNamespace="http://www.example.org/NewXMLSchema" xmlns="http://www.w3.org/2001/XMLSchema"
xmlns:tns="http://www.example.org/NewXMLSchema" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
> 	
> 	<simpleType name="myBooleanType">
> 		<restriction base="string">
> 			<enumeration value="0"></enumeration>
> 			<enumeration value="1"></enumeration>
> 		</restriction>
> 	</simpleType>
> 	
> 	<simpleType name="SuppressEcho_Type">
> 		<restriction base="tns:myBooleanType"/>
> 	</simpleType>
> 	<simpleType name="StringType">
> 		<restriction base="string"></restriction>
> 	</simpleType>
> 	<xsd:element name="SomeBoolean" type="tns:myBooleanType"/>
> </schema>
>   </wsdl:types>
>   <wsdl:message name="transformTransformServiceWithURLRequest">
>     <wsdl:part name="NewXMLSchema" element="tns1:SomeBoolean"/>
>   </wsdl:message>
>   <wsdl:message name="transformTransformServiceWithURLResponse">
>     <wsdl:part name="NewXMLSchema2" element="tns1:SomeBoolean"/>
>   </wsdl:message>
>   <wsdl:portType name="TransformServiceWithURL">
>     <wsdl:operation name="transformTransformServiceWithURL">
>       <wsdl:input name="transformTransformServiceWithURLRequest" message="tns:transformTransformServiceWithURLRequest"/>
>       <wsdl:output name="transformTransformServiceWithURLResponse" message="tns:transformTransformServiceWithURLResponse"/>
>     </wsdl:operation>
>   </wsdl:portType>
>   <wsdl:binding name="TransformServiceWithURLHTTP_Binding" type="tns:TransformServiceWithURL">
>     <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
>     <wsdl:operation name="transformTransformServiceWithURL">
>       <soap:operation soapAction="urn:mycompany:/crCarl/TransformServiceWithURL/TransformServiceWithURL/transformTransformServiceWithURLRequest#"/>
>       <wsdl:input name="transformTransformServiceWithURLRequest">
>         <soap:body use="literal"/>
>       </wsdl:input>
>       <wsdl:output name="transformTransformServiceWithURLResponse">
>         <soap:body use="literal"/>
>       </wsdl:output>
>     </wsdl:operation>
>   </wsdl:binding>
>   <wsdl:service name="TransformServiceWithURL">
>     <wsdl:port name="TransformServiceWithURL_SOAP_HTTP_Port" binding="tns:TransformServiceWithURLHTTP_Binding">
>       <soap:address location="http://DANIELVA.sybase.com:8080/TransformServiceWithURL/services/SOAPHandler/HTTPTransport/urn~3Amycompany~3A/crCarl/TransformServiceWithURL/TransformServiceWithURL"/>
>     </wsdl:port>
>   </wsdl:service>
> </wsdl:definitions>

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


Mime
View raw message