Web service with atachment

Hi,

I am .Net developer and a novice in domino. I have a requirement to create a web service provider in domino which will accept details of an email like: To, CC, BCC, Subject, Body, and an PDF file as an attachment. The domino service will call the mail server to send mail with all this.

Can I get some help in this context please. I have created a service which i can consume in .net but I am stuck in sending the pdf attachment.

Subject: Our approach

Hi, we are using providers in domino to transfer files between our vendors and ourselves. We have a very simply approach but it has limits of up to a 5.5 to 6.5mb file. Our large files we receive are about 2mb so no problem for us. We move about 1500 to 3000 files a day. We do not use Lotusscript for this as its to slow.

Regards the attachment, we receive a base64 encoded string in one of the properties and decode the content once we have received it.

This is what it looks like in soapui - we essentialy have 4 properties and thats it. Our fields are an xml string so we can add and remove without having to recompile or get the vendor to redo stuff on there side. Hope this helps you.

<soapenv:Envelope xmlns:xsi=“http://www.w3.org/2001/XMLSchema-instance” xmlns:xsd=“http://www.w3.org/2001/XMLSchema” xmlns:soapenv=“http://schemas.xmlsoap.org/soap/envelope/” xmlns:urn=“urn:DefaultNamespace”> soapenv:Header/ soapenv:Body <urn:SubmitDocument soapenv:encodingStyle=“http://schemas.xmlsoap.org/soap/encoding/”> xxxxx xxxxxx <![CDATA[]]> h0bWwKACAAAAAAAAEAGADAieRYkkXMAbygzRJuh88BvKDNEm6HzwFQSwUGAAAAALEBsQGs0gAAlZFhAAAA… </urn:SubmitDocument> </soapenv:Body> </soapenv:Envelope>