<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: send a xml file to another URL in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/send-a-xml-file-to-another-url/m-p/263059#M216189</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;this is more a java question, to post data to an url&amp;nbsp; code :&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;String xml = "Your xml here";&lt;BR /&gt;HttpURLConnection connection =&amp;nbsp; new HttpURLConnection("&lt;A href="http://www.yoururl.com" rel="nofollow noopener noreferrer"&gt;http://www.yoururl.com&lt;/A&gt;");&lt;BR /&gt;connection.setRequestMethod("POST");&lt;BR /&gt;connection.setRequestProperty("Content-Type", "text/xml; charset=\"utf-8\"");&lt;BR /&gt;connection.setDoOutput(true);&lt;BR /&gt;connection.OutputStreamWriter out = new OutputStreamWriter(c.getOutputStream(),&lt;BR /&gt;"UTF8");&lt;BR /&gt;out.write(xml);&lt;BR /&gt;out.close();&lt;BR /&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 02 Dec 2010 00:28:24 GMT</pubDate>
    <dc:creator>hsohaib</dc:creator>
    <dc:date>2010-12-02T00:28:24Z</dc:date>
    <item>
      <title>send a xml file to another URL</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/send-a-xml-file-to-another-url/m-p/263058#M216188</link>
      <description>hi all, Could you help me out with this issue? I need to send a xml file to another URL. I know how to build the xml file and I know the url, but how do I send it by post calling from Alfresco?thanks</description>
      <pubDate>Mon, 29 Nov 2010 10:47:13 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/send-a-xml-file-to-another-url/m-p/263058#M216188</guid>
      <dc:creator>iguanna</dc:creator>
      <dc:date>2010-11-29T10:47:13Z</dc:date>
    </item>
    <item>
      <title>Re: send a xml file to another URL</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/send-a-xml-file-to-another-url/m-p/263059#M216189</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;this is more a java question, to post data to an url&amp;nbsp; code :&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;String xml = "Your xml here";&lt;BR /&gt;HttpURLConnection connection =&amp;nbsp; new HttpURLConnection("&lt;A href="http://www.yoururl.com" rel="nofollow noopener noreferrer"&gt;http://www.yoururl.com&lt;/A&gt;");&lt;BR /&gt;connection.setRequestMethod("POST");&lt;BR /&gt;connection.setRequestProperty("Content-Type", "text/xml; charset=\"utf-8\"");&lt;BR /&gt;connection.setDoOutput(true);&lt;BR /&gt;connection.OutputStreamWriter out = new OutputStreamWriter(c.getOutputStream(),&lt;BR /&gt;"UTF8");&lt;BR /&gt;out.write(xml);&lt;BR /&gt;out.close();&lt;BR /&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Dec 2010 00:28:24 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/send-a-xml-file-to-another-url/m-p/263059#M216189</guid>
      <dc:creator>hsohaib</dc:creator>
      <dc:date>2010-12-02T00:28:24Z</dc:date>
    </item>
    <item>
      <title>Re: send a xml file to another URL</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/send-a-xml-file-to-another-url/m-p/263060#M216190</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;that's true, it's more a java question, sorry I didn't realize. Anyway thank you for your answer.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Dec 2010 08:50:38 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/send-a-xml-file-to-another-url/m-p/263060#M216190</guid>
      <dc:creator>iguanna</dc:creator>
      <dc:date>2010-12-02T08:50:38Z</dc:date>
    </item>
  </channel>
</rss>

