axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nina Kumar (JIRA)" <j...@apache.org>
Subject [jira] [Created] (AXIS2-5015) axis2-wsdl2code-maven-plugin-xmlbeans not validating schema restrictions
Date Wed, 27 Apr 2011 16:20:03 GMT
axis2-wsdl2code-maven-plugin-xmlbeans not validating schema restrictions
------------------------------------------------------------------------

                 Key: AXIS2-5015
                 URL: https://issues.apache.org/jira/browse/AXIS2-5015
             Project: Axis2
          Issue Type: Bug
          Components: codegen
    Affects Versions: 1.5
            Reporter: Nina Kumar


The gencode classes not validating the restriction in the schema. See below.

<groupId>org.apache.axis2</groupId>
				<artifactId>axis2-wsdl2code-maven-plugin</artifactId>
				<version>1.5</version>
				<executions>
					<execution>
						<goals>
							<goal>wsdl2code</goal>
						</goals>
					</execution>
				</executions>
				<configuration>
					<packageName>test</packageName>
					<wsdlFile>test.wsdl</wsdlFile>
					<databindingName>xmlbeans</databindingName>
					<generateServerSide>true</generateServerSide>
					<generateServerSideInterface>true</generateServerSideInterface>
					<generateServicesXml>true</generateServicesXml>
					<generateAllClasses>true</generateAllClasses>
				</configuration>
Schema 
<xs:element name="applicationDate" type="dateWithoutTimeZoneRestriction"/>
<xs:simpleType name="dateWithoutTimeZoneRestriction">
		<xs:restriction base="xs:date">
			<xs:pattern value="\d{4}-\d{2}-\d{2}"/>
		</xs:restriction>
	</xs:simpleType>

--
This message is automatically generated by JIRA.
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