Hi Frank,

Thanks for your response. I have cross-checked the root directory setting and 
everything appears to be fine. I have also tried both the options of using 
/SearchDBs.xqy as well as SearchDBs.xqy still it seems that some configuration 
setting is missing.

Can you suggest anything additional?

Thanks,
Joy

From: [email protected] 
[mailto:[email protected]] On Behalf Of Frank Sanders
Sent: Monday, April 06, 2009 2:29 PM
To: General Mark Logic Developer Discussion
Cc: Sunil_Chengalva
Subject: RE: [MarkLogic Dev General] (no subject)

Make sure that your XDBC server root is set correctly, and that the path to 
SearchDBs.xqy is correct. If it's in the root directory specified by the XCC 
server, you should probably use: /SearchDBs.xqy instead of SearchDBs.xqy

-fs

From: [email protected] 
[mailto:[email protected]] On Behalf Of Joydeep_Sinha
Sent: Monday, April 06, 2009 7:52 AM
To: [email protected]; [email protected]
Cc: [email protected]; Sunil_Chengalva
Subject: [MarkLogic Dev General] (no subject)

Hi All,

I have a requirement of calling a Search module named "SearchDBs.xqy" from a 
dot net application using XCC.
This Search module has a function named fnSearch (takes one parameter 
'Keyword') which will talk to MLSQL ( An interface provided by marklogic to 
communicate with multiple databases).
>From CQ, I am able to execute fnSearch function using the following xqy 
>snippet.
import module namespace sch = "SearchDBs" at "SearchDBs.xqy"
sch:fnSearch("Accounting")
But, I am facing an issue of executing the above snippet using XCC from .net 
application. It is throwing an exception, "Module not found".
Please let me know how to call the above fnSearch function from application 
using XCC by passing a parameter to it.

Note : Please view the attachment for the exact module definition.

Joydeep Sinha
Media and Entertainment - Solution Offerings
Satyam Computer Services Limited.

c: +91-9986876190
t: +91-80-66575520
f: +91-80-28520304

[email protected]<mailto:[email protected]>
www.satyam.com<http://www.satyam.com>

[cid:[email protected]]


________________________________
DISCLAIMER:
This email (including any attachments) is intended for the sole use of the 
intended recipient/s and may contain material that is CONFIDENTIAL AND PRIVATE 
COMPANY INFORMATION. Any review or reliance by others or copying or 
distribution or forwarding of any or all of the contents in this message is 
STRICTLY PROHIBITED. If you are not the intended recipient, please contact the 
sender by email and delete all copies; your cooperation in this regard is 
appreciated.

________________________________
DISCLAIMER:
This email (including any attachments) is intended for the sole use of the 
intended recipient/s and may contain material that is CONFIDENTIAL AND PRIVATE 
COMPANY INFORMATION. Any review or reliance by others or copying or 
distribution or forwarding of any or all of the contents in this message is 
STRICTLY PROHIBITED. If you are not the intended recipient, please contact the 
sender by email and delete all copies; your cooperation in this regard is 
appreciated.

<<inline: image001.jpg>>

_______________________________________________
General mailing list
[email protected]
http://xqzone.com/mailman/listinfo/general

Reply via email to