Skip Ribbon Commands
Skip to main content
SharePoint

Saving a Byte Array Web Service Method Parameter to a File Location

The Invoke Web Service activity supports web service methods that return a byte array. To save that byte array to a file, you will need to use the File Location editor, which is unique to the Invoke Web Service. The activity will take the array and save it to the file configured in the File Location editor. The editor supports literal value, expression, and data item editors.

To save a byte array web service method parameter to a file location, 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 and now want to edit.
     
  3. Click the Data Mappings: Output tab. The corresponding screen is displayed.
     
  4. Select the Manually Map Information from the Web Service to the Solution check box.
     
  5. In the Destination field, click the drop-down arrow. A drop-down list is displayed.
     
  6. Click the File Location editor. The File Location window is displayed.
      
  7. In the first field, use the File Browser editor or select a different editor to enter the location to which you want to save the name. The path should include the name of the file (included extension) to use.

    Note:
    If you select Run as BPM Server, access will be granted or rejected based on the BPM Server credentials.
    If you select Specify credentials, complete Username, Password, and Include domain fields using the appropriate input field editors. The Include domain check box is optional.

      
  8. Click OK.
     
  9. Click the Web Service parameter editor. From the drop-down list, select the appropriate parameter.
      
  10. Click OK. You configured the activity to save the byte array web service parameter to a file.
       
Related Topics
Saving a Byte Array Web Service Method Parameter to a Data Item

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