Home

  

Product

  

Buy

  

Support

 First Line 
 FAQs 
 Tutorials 
 Registered Users 
 User Guide 
 Knowledge Base 

News

  

Press

  

Downloads

  

Contact

  

Company

  

Partners

  

Resources

 
 

User Guide - Web services

Index    Previous   <<>>  Next
  
11.1 Overview

11.2 Adding a web service

11.3 Editing a web service

11.4 Removing a web service

  11.1  OverviewTo top of page

JCodeBox allows you to add web services to your J2EE applications. You can connect these web services to business functionality defined in your session beans/facades.

JCodeBox currently supports 2 styles of web services:

  • JAX-RPC
  • Systinet
  11.2  Adding a web serviceTo top of page

  1. Adding a single web service
    • Right mouse click on Web Services Tier in the define application dialog
    • Select Add Web Service from the popup menu
    • Or

    • Select the Action=>Tier menu option from the main menu in the define application dialog
    • Select Web Services Tier and press next
    • Select Add Web Service and press finish
    • The define web service dialog is displayed.

    • Press the Select button. The select model source dialog is displayed.
    • Select a modelsource from the list
    • Press OK. The web service dialog will be populated from the selected modelsource.
    • Edit the web service name as required
    • Edit the web service package as required
    • Select the web service coding style to use
    • Select the methods to expose via the web service
    • If selected methods is selected, use the Add/Remove buttons to individually select methods from the modelsource to be exposed.

    • Press OK to save your web service
    • Your web service is now displayed in the Web Services Tier of the define application dialog.

  2. Adding multiple web services
    • Right mouse click on Web Services Tier in the define application dialog
    • Select Add multiple web services from the popup menu
    • Or

    • Select the Action=>Tier menu option from the main menu in the define application dialog
    • Select Web Services Tier and press next
    • Select Add multiple web services and press finish
    • The select modelsource dialog is displayed.

    • Select the required modelsources from the list (use the shift key to select multiple modelsources).
    • Press OK. Your web services will be automatically defined and displayed in the Web Services Tier of the define application dialog.

  11.3  Editing a web serviceTo top of page

  • Right mouse click on the web service in the define application dialog
  • Select Edit from the popup menu
  • Or

  • Select the Action=>Component menu option from the main menu in the define application dialog
  • Select Web Services Tier and press next
  • Select the web service you would like to edit and press next
  • Select Edit and press finish
  • The define web service dialog is displayed.

  • To change the modelsource of your web service press the select button. This will display the select modelsource dialog. Select the new modelsource. Press OK.
  • To modify the web service name type the new value in the web service name text field
  • To modify the web service package type the new value in the package text field
  • Select the web service coding style to use
  • Select the methods to expose via the web service
  • If selected methods is selected, use the Add/Remove buttons to individually select methods from the modelsource to be exposed.

  • Press OK to save your web service
  • Your web service has now been updated and is displayed in the Web Services Tier of the define application dialog.

  11.4  Removing a web serviceTo top of page

  • Right mouse click on the web service in the define application dialog
  • Select Remove from the popup menu
  • Press Yes if the remove component dialog is displayed
  • Or

  • Select the Action=>Component menu option from the main menu in the define application dialog
  • Select Web Services Tier and press next
  • Select the web service you would like to remove and press next
  • Select Remove and press finish
  • Press Yes if the remove component dialog is displayed
  • The web service will be removed from the Web Services Tier of the define application dialog.

Index    Previous   <<>>  Next

[an error occurred while processing this directive]