Consumed Web Service
1 Introduction
This document describes the properties of an imported web service. For a general overview of imported web services, see the Consumed Web Services overview documentation.
2 WSDL Source
You can load the WSDL from a URL or from a WSDL file saved on your disk.
If you try to load a WSDL file from a URL that requires authentication, you will be asked for a user name and password.
A WSDL file may contain multiple services and a service may contain multiple ports. Upon loading a WSDL, a dialog box will ask you to select a port for each service that contains multiple ports.
3 Services
This part specifies the services to be found in the WSDL.
- Name – the name of the service
- Port – the selected port
- Location – where the service is located
- Location constant – can be used to add additional locations for a service in the case of, for example, when the URL of the SOAP service changes when moving from a development to a production environment; see also Constants
If there is a multiple-port service defined in the WSDL, a pop-up dialog box will enable you to select which of the ports to use.
4 Operations
This part shows all the operations found in the WSDL. You can expand the list and see additional information about individual operations in the right pane.
5 Advanced Settings
Check Send binary data as attachment (MTOM) to enable MTOM (Message Transmission Optimization Mechanism), a method of efficiently sending binary data to and from Web services. Read more about it at w3.org.
6 Calling Consumed Web Services
For details on how to call a consumed web service, see Call Web Service.