I have an InfoPath form in SharePoint that submits to a custom web service I've created, and this works fine for regular SharePoint fields (text, numeric, etc.)
However, I cannot figure out how to set up the web service to receive attachments from InfoPath. I've created a field in the web service called MyAttachmentField, and mapped the attachments field to it in InfoPath. However, when I add an attachment, all InfoPath sends (instead of the complete file) is:
I've tried various different types for MyAttachmentField: string, byte, and XmlElement - but none seem to work.