[ https://issues.apache.org/jira/browse/AXIS2C-480?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12859173#action_12859173 ] Dimuthu Gamage commented on AXIS2C-480: --------------------------------------- This is a long standing issue, requesting lot of improvements. And most of the parts are already there in the tool for years. So I putting a comment mentioning those just for the record, Already implemented, xsd:all, xsd:union, anonymous complexTypes (nested at arbitrary depth), xml attributes Still to be implemented: 1. Multiple port types in one WSDL - We can probably do this by prefixing the port name to the method. But it will make the method longer. But we already have an option which port to use when generating code. 2. Restrictions of simple/builtin types, detection of presence/absence of optional xml attributes - These are mostly validation stuff required when parsing soap messages. These are used very rarely, but I agree it is important to have them. Thanks Dimuthu > improve support for XSD constructs > ---------------------------------- > > Key: AXIS2C-480 > URL: https://issues.apache.org/jira/browse/AXIS2C-480 > Project: Axis2-C > Issue Type: Improvement > Components: code generation > Affects Versions: 0.95, 0.96, Current (Nightly) > Environment: WIN2KSP4 VS6SP6 > Reporter: Franz Fehringer > Assignee: Dimuthu Gamage > > Current XSD support is rather limited (see excerpt from mail exchange Franz Fehringer <-> Milinda Pathirage below). > It should be improved to allow real world use of AXIS2C. > Are the following areas settlet with these tools: > * Multiple port types in one WSDL? > If there are multiple port types in WSDL Java tool (org.apache.axis2.wsdl.WSDL2C) generate source code for only one port type. You can give port name as a argument to WSDL2C tool and in this case port type is selected from the port binding for given port. > * xsd:all? > (WSDL2C Java tool)Not supported. > * xsd:union? > (WSDL2C Java tool)Not supported. > * anonymous complexTypes (nested at arbitrary depth)? > (WSDL2C Java tool)Support for anonymous complexTypes. > * restrictions of simple/builtin types? > * detection of presence/absence of optional xml attributes? > (WSDL2C Java tool)Not supported. > * xml attributes, whose types are userdefined? > (WSDL2C Java tool)Not supported. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: c-dev-unsubscribe@axis.apache.org For additional commands, e-mail: c-dev-help@axis.apache.org