Well, let me clarify a few things first -
-
The AttachToSharePointList command, on its own, requires an existing list item.
-
You can include attachments with the SubmitToSharePointList command.
-
List items allow multiple attachments.
So, with that in mind, it seems like you would not need a secondary list for your attachments - why not just save them with your primary list item?
To include attachments with your SubmitToSharePointList command, you need to include the following parameters:
o
dsname (optional): data source for AddAttachment Method (SharePoint Lists Web Service) – include if submitting attachments with your list items.
o
xpath (optional): XPath to attachment field.
If you are submitting repeating data to the list, the /xpath parameter needs to be relative to the repeating node (like the /id parameter).