You can use the Program Call wizard to create a Java bean and PCML file from an iSeries program or service program procedure, and then use the Web Services wizard to create a Web service from the Java bean and PCML file.
The Program Call wizard generates three classes. One of the classes is a Java bean which can be used by the Web Services wizard to create a Web service. Its name is <YourBeanName>Services.java. The other two classes are named <YourBeanName>Input.java and <YourBeanName>Result.java. These classes are required by the Java bean class for input and output parameters.
For every program that you define in the Program Call wizard, two methods are generated. You can use either one of the methods to get the data returned from the remote program call.
The Web browser is launched. If you selected Generate proxy, the WebSphere test environment executes a sample JSP that the Web Services wizard creates to test the Web service.
If there is a complex structure in the PCML, the Web Services wizard might not be able to generate the Test Client properly. You can use the Web Services Explorer to test the generated Web Services. Right-click on the generated WSDL file in the WebContent/wsdl folder, then select
.(C) Copyright IBM Corporation 1992, 2006. All Rights Reserved.