[ http://issues.apache.org/jira/browse/YOKO-65?page=all ]
Matteo Vescovi updated YOKO-65: ------------------------------- Attachment: wrapped_doc_style.diff WrappedDocStyle.idl expected_WrappedDocStyle.wsdl Attached is my patch to generated wrapped document style wsdl. This patch was generated by running `svn diff > wrapped_doc_style.diff' in trunk/tools directory. Apply by running `patch -p0 < wrapped_doc_style.diff' in the trunk/tools directory. Attached are two resources needed for the test I added. WrappedDocStyle.idl expected_WrappedDocStyle.wsdl They need to be added to trunk/tools/src/test/resources/idl/ directory. > Generate wrapped doc style wsdl. > -------------------------------- > > Key: YOKO-65 > URL: http://issues.apache.org/jira/browse/YOKO-65 > Project: Yoko - CORBA Server > Type: Improvement > Reporter: Matteo Vescovi > Priority: Minor > Attachments: WrappedDocStyle.idl, expected_WrappedDocStyle.wsdl, > wrapped_doc_style.diff > > Change the wsdl that is being generated currently to match a wrapped doc > style wsdl. > This doesn't make a difference with the corba binding but generally it s a > well accepted design. > For eg: Let's say the idl has the following operation: > string > greetMe( > in string return_message > ); > Then the types that get generated should be: > <element name="greetMe"> > <complexType> > <sequence> > <element name="return_message" type="string"/> > </sequence> > </complexType> > </element> > <element name="greetMeResult"> > <complexType> > <sequence> > <element name="return" type="string"/> > </sequence> > </complexType> > </element> > What we currently generate is: > <element name="greetMe" type="string"/> & <element name="greetMeResult" > type="string"/> which is correct but by default we should wrap it up > with a complex type. -- 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