Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

This section explains the process of creating web service consumer activity for SOAP Web Service.

Steps to create SOAP Consumer activity

  1. Click Configure > WEB SERVICES > SOAP Consumer.

  2. Click Create SOAP Consumer

  3. On the Create New SOAP Consumer window, provide a name for SOAP Consumer. 

  4. Select the location of your Web Services Description Language (WSDL) file. WSDL is an XML-based interface definition language that is used for describing the functionality offered by a web service.

    • On Local Disk: Select this option if your WSDL file is on a local computer or on a LAN network.
    • Over HTTP: Select this option if your WSDL file is at an HTTP location.


  5. If you have selected On Local Disk option then do the following:
    1. Browse to and select the WSDL file.
    2. Select WSDL file references other files check box if your uploaded WSDL file is referring to other files. On selecting this check box, File References field appears. 
    3. Upload your referential WSDL or XSD file(s) in a single zip file only. Ensure to keep the folder structure of the zip file as per the references made by the WSDL or XSD file(s).


    If you have selected Over HTTP option then type the HTTP URL of the WSDL file, the endpoint URL of the SOAP web service.




  6. Click Process WSDL to fetch the information from the uploaded WSDL file. 
    The information about the service, binding, and endpoint URL are automatically populated.
    • Service NameService is defined as a collection of network endpoints or ports. If there is only one service name in the uploaded WSDL file, it will appear as default selected in the Service Name automatically. However, if there are multiple service names in the WSDL file then you need to select the service from the drop-down list. 

    • Binding NameBindings defines the message format and protocol details for a web service. If there is only one binding in the WSDL file then it will appear as default selected in the Binding Name automatically. However, if there are multiple bindings in the WSDL file then you need to select the binding from the drop-down list.
       
    • Endpoint URLThe operations and messages are described abstractly and then bound to a concrete network protocol and message format to define an endpoint. It is the URL where the web service will eventually hit. 



  7. Select the security policy activity from the Security Policy drop-down list box. You can also create security policy by clicking . For information on how to create a security policy, refer to Creating Security Policy for Web Services
  8. Select Maintain Session check box if web service is maintaining session through cookie.
  9. Select OneWay Communication check box to send a SOAP request and expects no SOAP response back (one-way communication).
  10. Select the format type from the Format Type drop-down list. The available options are None and Remove New Line.
  11. Select the Override SOAPAction check box if you want to override the soapaction from the context.
  12. Select Enable MTOM check box if you want to send and receive binary attachments (such as files and images) efficiently and in an inter-operable manner.

  13. If a web service you are accessing is secure then define the security settings. Select Enable client authentication check box to authenticate both server and client identity.
  14. On selecting the check box, you need to select the Keystore.



  15. Select authorization used in the web service. By default authorization is disabled, however, you may choose basic authorization for a web service. Basic authorization is a widely used protocol for simple username/password authentication. 



  16. Click Save.
  • No labels