axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <axis-...@ws.apache.org>
Subject [jira] [Commented] (AXIS-2378) Running WSDL2Java on the included WSDL generated uncompilable code
Date Thu, 27 Feb 2014 00:03:19 GMT

    [ https://issues.apache.org/jira/browse/AXIS-2378?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13913774#comment-13913774
] 

Hudson commented on AXIS-2378:
------------------------------

FAILURE: Integrated in axis-trunk #257 (See [https://builds.apache.org/job/axis-trunk/257/])
Added test cases for AXIS-2378 and AXIS-2901. (veithen: rev 1572282)
* /axis/axis1/java/trunk/axis-ant/pom.xml
* /axis/axis1/java/trunk/axis-ant/src/test/ant/axis2378
* /axis/axis1/java/trunk/axis-ant/src/test/ant/axis2378/build.xml
* /axis/axis1/java/trunk/axis-ant/src/test/ant/axis2901
* /axis/axis1/java/trunk/axis-ant/src/test/ant/axis2901/build.xml
* /axis/axis1/java/trunk/axis-ant/src/test/wsdl/axis2378
* /axis/axis1/java/trunk/axis-ant/src/test/wsdl/axis2378/sample.wsdl
* /axis/axis1/java/trunk/axis-ant/src/test/wsdl/axis2901
* /axis/axis1/java/trunk/axis-ant/src/test/wsdl/axis2901/sample.wsdl


> Running WSDL2Java on the included WSDL generated uncompilable code
> ------------------------------------------------------------------
>
>                 Key: AXIS-2378
>                 URL: https://issues.apache.org/jira/browse/AXIS-2378
>             Project: Axis
>          Issue Type: Bug
>          Components: WSDL processing
>    Affects Versions: 1.3
>         Environment: Win XP sp 2, jdk 1.4.2.10
>            Reporter: Dan van Leeuwen
>            Priority: Minor
>
> 2. ERROR in C:\WINDOWS\temp\ServiceTestWizard\org\example\www\NewXMLSchema\ContactInfo_Type.java
>  (at line 11)
> 	private java.lang.String_Element URL;
> Note that it seems confusing to have a simple type and element named URL.  The WSDL does
appear to validate with Eclipse WST 1.0 validator as does the underlying XSD.
> <?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">
> 	<xsd:simpleType name="URL">
> 		<xsd:restriction base="string">
> 			<xsd:maxLength value="1024"/>
> 		</xsd:restriction>
> 	</xsd:simpleType>	
> 	
> 	<xsd:simpleType name="URL_Type">
> 		<xsd:restriction base="tns:URL"/>
> 	</xsd:simpleType>
> 	
> 	<xsd:element name="URL" type="tns:URL_Type"/>
> 	
> 	<xsd:complexType name="ContactInfo_Type">
> 		<xsd:sequence>
> 			<xsd:element minOccurs="0" ref="tns:URL"/>
> 		</xsd:sequence>
> 	</xsd:complexType>
> 	
> </schema>
>   </wsdl:types>
>   <wsdl:message name="transformTransformServiceWithURLRequest">
>     <wsdl:part name="NewXMLSchema" element="tns1:URL"/>
>   </wsdl:message>
>   <wsdl:message name="transformTransformServiceWithURLResponse">
>     <wsdl:part name="NewXMLSchema2" element="tns1:URL"/>
>   </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 was sent by Atlassian JIRA
(v6.1.5#6160)

---------------------------------------------------------------------
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