Generate code from a WSDL using Axis2/C

We use the SRM WSDL as example:

wget http://sdm.lbl.gov/srm-wg/srm.v2.2.wsdl

  • Set up your environment.

Follow the instructions here.

  • Generate the client stub and the data binding code

$AXIS2C_HOME/bin/tools/wsdl2c/WSDL2C.sh -uri srm.v2.2.wsdl -u -t -f -o srmClient

The code is generated in the srmClient directory.

  • Generate the service skeleton and the data binding code

$AXIS2C_HOME/bin/tools/wsdl2c/WSDL2C.sh -uri srm.v2.2.wsdl -u -t -f -ss  -o srmService

The code is generated in the srmService directory.

Edit | Attach | Watch | Print version | History: r4 < r3 < r2 < r1 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r4 - 2009-02-19 - ZsoltMolnar
 
    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    EGEE All webs login

This site is powered by the TWiki collaboration platform Powered by Perl This site is powered by the TWiki collaboration platformCopyright & by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Ask a support question or Send feedback