Hi,

Could you explain ,how u tried webdav connection to ingest the data. What error 
message you got ….

Thanks and regards
Raja>>.

From: [email protected] 
[mailto:[email protected]] On Behalf Of SNEHASISH DUTTA
Sent: Wednesday, August 12, 2015 7:27 PM
To: MarkLogic Developer Discussion
Subject: Re: [MarkLogic Dev General] Error while trying to load a XML to a ML 
Server from network

Hi
I have already checked webDAV is not working

Regards,
Sneh

On Wed, Aug 12, 2015 at 2:13 PM, 
<[email protected]<mailto:[email protected]>> 
wrote:
Hi,
Then better you can try with webdav option .

Thanks and regards
Raja>>>

From: 
[email protected]<mailto:[email protected]>
 
[mailto:[email protected]<mailto:[email protected]>]
 On Behalf Of SNEHASISH DUTTA
Sent: Wednesday, August 12, 2015 2:02 PM
To: MarkLogic Developer Discussion
Subject: Re: [MarkLogic Dev General] Error while trying to load a XML to a ML 
Server from network

Hi,

This solution would work for small files only. When dealing with large xml 
documents copy pasting won't be a feasible option.
Even the information studio is unable to find the files from local system.

Regards,
Sneh

On Wed, Aug 12, 2015 at 1:35 PM, 
<[email protected]<mailto:[email protected]>> 
wrote:
Hi Sanjay,

Simply you can copy and paste the XML content in second param of  
xdmp:document-insert function .

xquery version "1.0-ml";
declare namespace html = "http://www.w3.org/1999/xhtml";;

xdmp:document-insert("/assignment/breakfast/breakfast.xml “, <xml>your 
contents</xml>)


Thanks and regards
Raja >>>


From: 
[email protected]<mailto:[email protected]>
 
[mailto:[email protected]<mailto:[email protected]>]
 On Behalf Of Sanjaya Keshari Dash
Sent: Tuesday, August 11, 2015 7:21 PM
To: MarkLogic Developer Discussion
Subject: [MarkLogic Dev General] Error while trying to load a XML to a ML 
Server from network

Hi All,

we have ML Server Enterprise Edition 8.0-3 installed one of the systems in our 
network. However, It worked fine while trying to load it from the same system 
where the server is running.

While trying to load a file from another system(Remote) on the same network, 
the command is not able to trace the path, which is local to the remote host.

XQuery:
xquery version "1.0-ml";
declare namespace html = "http://www.w3.org/1999/xhtml";;

xdmp:document-load("d:\MarkLogic\day2ExampleCodes\day2ExampleCodes\breakfast\breakfast.xml",
    <options xmlns="xdmp:document-load">
      <uri>/assignment/breakfast/breakfast.xml</uri>
      <repair>none</repair>
      <permissions>{xdmp:default-permissions()}</permissions>
    </options>)

Error Message:

[1.0-ml] SVC-FILOPN: 
xdmp:document-load("d:\MarkLogic\day2ExampleCodes\day2ExampleCodes\breakfast\breakfa...",
 <options 
xmlns="xdmp:document-load"><uri>/assignment/breakfast/breakfast.xml</uri><repair>none</repa...</options>)
 -- File open error: open 
'd:\MarkLogic\day2ExampleCodes\day2ExampleCodes\breakfast\breakfast.xml': No 
such file or directory
Stack Trace
At line 4 column 0:
In xdmp:eval("xquery version &quot;1.0-ml&quot;;&#10;declare namespace html = 
...", (), <options 
xmlns="xdmp:eval"><database>16075890108731410617</database><modules>10812663131527...</options>)
2. declare namespace html = "http://www.w3.org/1999/xhtml";;
3.
4. 
xdmp:document-load("d:\MarkLogic\day2ExampleCodes\day2ExampleCodes\breakfast\breakfast.xml",
5. <options xmlns="xdmp:document-load">
6. <uri>/assignment/breakfast/breakfast.xml</uri>
Please advise on the resolution if possible.

thanks
_ sanjaya

**************** CAUTION - Disclaimer *****************

This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended solely

for the use of the addressee(s). If you are not the intended recipient, please

notify the sender by e-mail and delete the original message. Further, you are 
not

to copy, disclose, or distribute this e-mail or its contents to any other 
person and

any such actions are unlawful. This e-mail may contain viruses. Infosys has 
taken

every reasonable precaution to minimize this risk, but is not liable for any 
damage

you may sustain as a result of any virus in this e-mail. You should carry out 
your

own virus checks before opening the e-mail or attachment. Infosys reserves the

right to monitor and review the content of all messages sent to or from this 
e-mail

address. Messages sent to or from this e-mail address may be stored on the

Infosys e-mail system.

***INFOSYS******** End of Disclaimer ********INFOSYS***


This e-mail and any files transmitted with it are for the sole use of the 
intended recipient(s) and may contain confidential and privileged information. 
If you are not the intended recipient(s), please reply to the sender and 
destroy all copies of the original message. Any unauthorized review, use, 
disclosure, dissemination, forwarding, printing or copying of this email, 
and/or any action taken in reliance on the contents of this e-mail is strictly 
prohibited and may be unlawful. Where permitted by applicable law, this e-mail 
and other e-mail communications sent to and from Cognizant e-mail addresses may 
be monitored.

_______________________________________________
General mailing list
[email protected]<mailto:[email protected]>
Manage your subscription at:
http://developer.marklogic.com/mailman/listinfo/general

This e-mail and any files transmitted with it are for the sole use of the 
intended recipient(s) and may contain confidential and privileged information. 
If you are not the intended recipient(s), please reply to the sender and 
destroy all copies of the original message. Any unauthorized review, use, 
disclosure, dissemination, forwarding, printing or copying of this email, 
and/or any action taken in reliance on the contents of this e-mail is strictly 
prohibited and may be unlawful. Where permitted by applicable law, this e-mail 
and other e-mail communications sent to and from Cognizant e-mail addresses may 
be monitored.

_______________________________________________
General mailing list
[email protected]<mailto:[email protected]>
Manage your subscription at:
http://developer.marklogic.com/mailman/listinfo/general

This e-mail and any files transmitted with it are for the sole use of the 
intended recipient(s) and may contain confidential and privileged information. 
If you are not the intended recipient(s), please reply to the sender and 
destroy all copies of the original message. Any unauthorized review, use, 
disclosure, dissemination, forwarding, printing or copying of this email, 
and/or any action taken in reliance on the contents of this e-mail is strictly 
prohibited and may be unlawful. Where permitted by applicable law, this e-mail 
and other e-mail communications sent to and from Cognizant e-mail addresses may 
be monitored.
_______________________________________________
General mailing list
[email protected]
Manage your subscription at: 
http://developer.marklogic.com/mailman/listinfo/general

Reply via email to