[ http://issues.apache.org/jira/browse/AXIS2C-222?page=comments#action_12425466 ] Michael Xiong commented on AXIS2C-222: --------------------------------------
The above description has some spelling error, corrected as the below: There has a WSDL2Code.bat for windows in nightly Axis2 to help us to generate C code from WSDL on windows platform. The generated C code can be built as playing together with Axis2/C. But it's pitiful that no shell script existing, which make unix/linux guys difficult to use. So I'd like to create a WSDL2Code.sh as attached, wish can make unix/linux guys happy. It's very simple, but it can surely make our life easy ! The below is some sample usage of this shell script: To generate a server skeleton in C: WSDL2Code.sh -D org.apache.adb.properties=/org/apache/axis2/schema/c-schema-compile.properties -uri test1.wsdl -o test1/Server -l c -t -d adb -u -ss -sd To generate a client stub in C: WSDL2Code.sh -D org.apache.adb.properties=/org/apache/axis2/schema/c-schema-compile.properties -uri test1.wsdl -o test1/Client -l c -t -d adb -u > WSDL2Code.sh created for Axis2/C on unix/linux world > ---------------------------------------------------- > > Key: AXIS2C-222 > URL: http://issues.apache.org/jira/browse/AXIS2C-222 > Project: Axis2-C > Issue Type: Improvement > Components: code generation > Affects Versions: Current (Nightly) > Environment: Linux FC3 > Axis2 nightly build > Reporter: Michael Xiong > Priority: Minor > Attachments: WSDL2Code.sh > > > There has a WSDL2Code.bat for windows in Axis2 to help us to generate C code > from WSDL on windows platform. The generated C code can be built as playing > together with Axis2/C. > But it's pityful that no shell script existing, which make unix/linux guys > difficult to use. > So I'd like to create a WSDL2Code.sh as attached, wish can make unix/linux > guys happy. > It's very simple, but it can surely make our life easy ! > The below is some sample usage of this shell script: > To generarte a server skeleton in C: > WSDL2Code.sh -D > org.apache.adb.properties=/org/apache/axis2/schema/c-schema-compile.properties > -uri test1.wsdl -o test1/Server -l c -t -d adb -u -ss -sd > To generate a client sbub in C: > WSDL2Code.sh -D > org.apache.adb.properties=/org/apache/axis2/schema/c-schema-compile.properties > -uri test1.wsdl -o test1/Client -l c -t -d adb -u > Thank you! -- 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]
