AnsweredAssumed Answered

How can I send document data to a web service from a nintex

Question asked by inehme on Dec 23, 2015
Latest reply on Jan 10, 2016 by andrewg@intellinet.com

Hi,
I have a SharePoint Nintex 2010 workflow activity on a item in a document library that send a metadata and document data to a web service. The metadata is going through correctly, but I am having problem sending the document data/content. Any help will be greatly appreciated

 

Web method: UploadDocument

Soap editior (content):

 

<?xml version="1.0" encoding="utf-8"?>

<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">

    <soap:Body>

        <UploadDocument xmlns="http://WebService/1.0.0

           <request>

                 <Id>{ItemProperty:ID}</Id>

                 <Name>{ItemProperty:FileLeafRef}</Name>

                 <Modified>{ItemProperty:Modified}</Modified>

                <Metadata>

                   <Attribute>

                     <Key>Title</Key>

                     <Value>{ItemProperty:Title}</Value>

                  </Attribute>

                  <Attribute>

                     <Key>Group</Key>

                     <Value>{ItemProperty:Group}</Value>

                  </Attribute>

                   <Attribute>

                     <Key>Document Type</Key>

                     <Value>Other</Value>

                  </Attribute>

                  </Metadata>

                  <Data>[FileData]</Data>

            </request>

        </UploadDocument>

    </soap:Body>

</soap:Envelope>

---------------------

I am not sure how to include file content between the tags <Data></Data>.

 

Thanks,

Abraham

Outcomes