[ http://issues.apache.org/jira/browse/AXIS2-837?page=all ]
Venkatakrishnan updated AXIS2-837: ---------------------------------- Attachment: Axis2-Java2WSDL-Patch-30-Jun.diff Hi, Here is a patch that fixes this issue. I have also refactored the code in SchemaGenerator to look more neat atleast in my eyes. Have tested this. This patch also fixes the issue raised in JIRA-756. Now there are two more options 'efd' and 'afd' for setting the elementFormDefault and attributeFormDefault values to the xmlschemas. These will default to 'qualified' when none of these options are specified. HOWEVER.... -------------------- - Several attempts to do a complete build of Axis2 has failed since yesterday. The java2wsdl module builds successfully though. So I have not done a complete build with this fix. I have posted the problem I am facing in the mailing list and hope to get it resolved. - Since all changes have to do with the internals of the class abstractions in the java2wsdl module, I expect there will be no build crashes because of this patch. i.e. I have kept all possible external interfaces (public methods) and contracts (in terms of return types) intact. So I strongly feel that this patch will not 'stun' any of the other modules using them. - Meanwhile I have attached this patch just in case any of you would like to try it after all this - When I get the Axis2 build thro, I shall update over this JIRA if there has been any modifications to the this patch. ( I am sure there is going to be none) "Dims, I know you are searching for some blunt object to strike me... but then there is something jinxed about me and this Axis2 build.. I simply don't seem to be getting it thro. Any leads will be really helpful here. Thanks." > Java2WSDL should generate a WSDL interface that accepts an empty SOAP Body > -------------------------------------------------------------------------- > > Key: AXIS2-837 > URL: http://issues.apache.org/jira/browse/AXIS2-837 > Project: Apache Axis 2.0 (Axis2) > Type: Bug > Reporter: Davanum Srinivas > Assignee: Deepal Jayasinghe > Attachments: Axis2-Java2WSDL-Patch-30-Jun.diff > > Java code: > public class TestAxis { > public String getDate(){ > return new java.util.Date().toString(); > } > } > Quote from Anne at > http://marc.theaimsgroup.com/?l=axis-user&m=115089935000189&w=2: > Java2WSDL should generate a WSDL interface that accepts an empty SOAP Body. > e.g., > <wsdl:message name="getDateMessage"/> > But based on a bunch of recent messages I've seen, Axis2 barfs on an empty > SOAP Body. This is a bug that needs to be fixed. I don't know if anyone has > created a JIRA for it. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]