You can create a group of EGL parts based on a WSDL file to use when accessing
a Web service. Following is a list of EGL parts created from the elements
in the WSDL file:
- DataItem parts are created from the wsdl:types elements.
- Interface parts are created from the wsdl:porttype elements.
- Abstract functions are created from the wsdl:operation elements.
Also, if the WSDL file is in an EGL Web project, not an EGL project, the
following EGL parts are created in addition to the parts listed above:
- A service binding library is created from the wsdl:service elements.
- Interface variables are created in the service binding library from the
wsdl:port elements.
Follow these steps to create EGL parts from a WSDL file:
- In the Project Explorer view, right-click the WSDL file and then click Create
EGL Interfaces and Binding Library for an EGL Web project or Create
EGL Interfaces for an EGL project. The New EGL Part window opens.
- Select the interfaces from the file to be created by selecting the check
boxes next to the names of the interfaces.
- To create Web service binding libraries from the WSDL file, select the Create
Web Services Bindings check box. This option is available only
if the WSDL file is in an EGL Web project.
- To overwrite files with the same name as the new files being created,
select the Update existing files check box.
- Click Next.
- On the New EGL Interface page, identify a source folder, package, and
source file name for the new interface parts.
- Each interface you selected on the previous page is represented by a tab
on this page. For each interface, enter a name in the Interface
Name field. This name will be the name of the EGL interface part.
- For each interface, select the functions you want to include in the EGL
interface part by selecting or clearing the check box next to the function
name.
- If you selected Create Web Services Bindings, click Next.
Otherwise, click Finish.
- On the New EGL Service Binding Library page, identify a source folder,
package, and source file name for the new service binding library.
- Select the service binding variables to be created by selecting or clearing
the check box next to each variable.
- Click Finish.