<?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: XML File to network share in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/xml-file-to-network-share/m-p/851808#M46342</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Brian,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;just a option, which you didn't try:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;system_id = 'file://servername/test.out.xml'&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Some OS use forward slash, some backward. In Windows you use the backward slash ( &lt;BR /&gt;servername), but it seems your application server expects '/' in path definition.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Christian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 05 May 2005 05:20:36 GMT</pubDate>
    <dc:creator>christian_wohlfahrt</dc:creator>
    <dc:date>2005-05-05T05:20:36Z</dc:date>
    <item>
      <title>XML File to network share</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/xml-file-to-network-share/m-p/851807#M46341</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I'm following the instructions as laid out in the&lt;/P&gt;&lt;P&gt;"Rendering a DOM tree into an XML document" document via the SAP Library.  It basically lays out creating an XML DOM and writing out that DOM.  The example code works great if I want to write to the root drive of the application server using the following line of code:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;oStream = streamFactory-&amp;gt;create_ostream_uri ( system_id = 'file://test.out.xml' ).&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Let me repeat the above works fine if I want to write to the application servers root drive.  My problem is that I wish to write my XML file to a network share.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So far I've tried:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;oStream = streamFactory-&amp;gt;create_ostream_uri(
system_id = 'file:\servernametest.out.xml' ).&lt;/CODE&gt;&lt;/PRE&gt;&lt;PRE&gt;&lt;CODE&gt;oStream = streamFactory-&amp;gt;create_ostream_uri(
system_id = 'file://\servernametest.out.xml' ).&lt;/CODE&gt;&lt;/PRE&gt;&lt;PRE&gt;&lt;CODE&gt;oStream = streamFactory-&amp;gt;create_ostream_uri(
system_id = 'file:servernametest.out.xml' ).&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Nothing seems to work.  With each attempt a null is returned as reference to the oStream object.  Am I doing something wrong? Did I miss something? Is this possible?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help would be greatly appreciated...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Brian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 May 2005 21:46:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/xml-file-to-network-share/m-p/851807#M46341</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-05-04T21:46:08Z</dc:date>
    </item>
    <item>
      <title>Re: XML File to network share</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/xml-file-to-network-share/m-p/851808#M46342</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Brian,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;just a option, which you didn't try:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;system_id = 'file://servername/test.out.xml'&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Some OS use forward slash, some backward. In Windows you use the backward slash ( &lt;BR /&gt;servername), but it seems your application server expects '/' in path definition.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Christian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 May 2005 05:20:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/xml-file-to-network-share/m-p/851808#M46342</guid>
      <dc:creator>christian_wohlfahrt</dc:creator>
      <dc:date>2005-05-05T05:20:36Z</dc:date>
    </item>
    <item>
      <title>Re: XML File to network share</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/xml-file-to-network-share/m-p/851809#M46343</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the reply, I did try this:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;system_id = 'file://servername/test.out.xml'&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;But received the same results.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 May 2005 20:36:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/xml-file-to-network-share/m-p/851809#M46343</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-05-05T20:36:28Z</dc:date>
    </item>
    <item>
      <title>Re: XML File to network share</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/xml-file-to-network-share/m-p/851810#M46344</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it was worth a try. Otherwise I can't help much further, just one question (were I'm not any longer sure, if it's worth a try):&lt;/P&gt;&lt;P&gt;Can you access the network path from application server root, e.g. with LS (or DIR or CD) command? (Maybe your mounted volumes are linked on a different directory level.)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Christian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 May 2005 05:45:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/xml-file-to-network-share/m-p/851810#M46344</guid>
      <dc:creator>christian_wohlfahrt</dc:creator>
      <dc:date>2005-05-06T05:45:52Z</dc:date>
    </item>
    <item>
      <title>Re: XML File to network share</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/xml-file-to-network-share/m-p/851811#M46345</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can try the following instruction:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;oStream = streamFactory-&amp;gt;create_ostream_uri &lt;/P&gt;&lt;P&gt;( system_id = '&lt;BR /&gt;servername\filename.xml\' ).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is because the function uses URL Format.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, you can replace servername with an IP address like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;oStream = streamFactory-&amp;gt;create_ostream_uri &lt;/P&gt;&lt;P&gt;( system_id = '&lt;BR /&gt;10.3.1.2\filename.xml\' ).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 May 2005 15:44:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/xml-file-to-network-share/m-p/851811#M46345</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-05-23T15:44:29Z</dc:date>
    </item>
    <item>
      <title>Re: XML File to network share</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/xml-file-to-network-share/m-p/851812#M46346</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry, in my last post you have to remove the last '\' from the instructions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The real code for both instructions is:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;oStream = streamFactory-&amp;gt;create_ostream_uri &lt;/P&gt;&lt;P&gt;( system_id = '&lt;BR /&gt;servername\filename.xml' ).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;oStream = streamFactory-&amp;gt;create_ostream_uri &lt;/P&gt;&lt;P&gt;(  system_id = '&lt;BR /&gt;10.3.1.2\filename.xml' ). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sorry. &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 May 2005 15:47:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/xml-file-to-network-share/m-p/851812#M46346</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-05-23T15:47:36Z</dc:date>
    </item>
  </channel>
</rss>

