Skip Ribbon Commands
Skip to main content
SharePoint

Passing a base64 Encoded String to a Byte Array Web Service Method Parameter

In order to pass information to the web service method by using a data item, you will need to pass data to a data item that contains a base64 encoded string. This type of data item transforms into a byte array when the method is called.

To pass a base64 encoded string to a byte array web service method parameter, complete the following steps:
  1. Check out and open the process you want to edit.
     
  2. Double-click or open the Invoke Web Service activity that you previously configured and now want to edit.
     
  3. Click the Data Mappings: Input tab. The corresponding screen is displayed.
     
  4. Select the Manually Map Information from the Solution to the Web Service check box.
      
  5. Click the Web Service parameter editor. A drop down list is displayed.
     
  6. Select the desired parameter. The Type field is automatically populated.
      
  7. From the Source field, select the appropriate editor and set to a source that corresponds with the editor.

    Note:
    You can add more mappings by clicking the plus sign (+). Use the minus sign (-) to remove a mapping.

     
  8. Click OK. You saved a byte array web service method parameter to a data item.
     
Related Topics
Passing a File by File Location to a Byte Array Web Service Method Parameter

Source
BPM Designer Topics > Overview of Activities and Activity Topics > Internet Activities > Invoke Web Service
Last modified at 7/31/2020 11:49 AM