Top down Web service using Area Service with non-default settings

  1. Part 1: Creating the Web Service with different service name and port name.

    Create top down Axis2 Web service using MultiPort.wsdl. Move slider to DEVELOP. In the skeleton page, use the service name drop-down combo to select the service name. Use the port name drop-down combo to select the port name. Click Finish to generate the Web service. Verify that only the Java beans corresponding to the selected service, port, binding, port type and operation are generated.

    1. Select "NewService" as the service name, "NewPort" as the port name.
    2. Select "MultiPort" as the service name, "SOAP11Port" as the port name.
    3. Select "MultiPort" as the service name, "SOAP12Port" as the port name.
    4. Select "MultiPort" as the service name, "HTTPPort" as the port name.

  2. Part 2: Creating the Web Service with custom package name.

    Create top down Axis2 Web service using AreaService.wsdl. Move slider to TEST.

    In the skeleton page, change the custom package name from "org.tempuri.areaservice" to "custom.pkg". Click Finish.

    Verify that the skeleton files are generated under the "custom.pkg" package, not the "org.tempuri.areaservice".

    Use the Web Services Explorer to Test the Web Service.

  3. Part 3: Creating the Web Service with Interface skeleton.

    Create top down Axis2 Web service using AreaService.wsdl. Move slider to DEVELOP.

    In the skeleton page, select the "Generate an interface for the skeleton" option. Click Finish.

    Verify that an interface file "AreaServiceSkeletonInterface is generated under the source folder.

  4. Part 4: Creating the Web Service with generate all types.

    Create top down Axis2 Web service using AreaServiceExtraTypes.wsdl. Move slider to TEST.

    In the skeleton page, select the "Generate all types for all elements referred by schemas" option. Click Finish.

    Verify that the NewXSDComplexType.java file is generated under the source folder.

    Use the Web Services Explorer to Test the Web Service.

  5. Part 5: Creating the Web Service with different namespace to package mappings.

    Create top down Axis2 Web service using Converter.wsdl. Move slider to TEST.

    In the skeleton page, select the Namespace "http://wtp/xsd", change the package name from "wtp.xsd" to "wtp1.xsd1". Click Finish.

    Verify that the skeleton files for the complex types are generated under the "wtp1.xsd1" package, not the "wtp.xsd".

    Use the Web Services Explorer to Test the Web Service.

  6. Also, any combination of Part 1 to Part 5 can be tested together in a single invocation.