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

joydeep_si...@satyam.com<mailto:joydeep_si...@satyam.com>
www.satyam.com<http://www.satyam.com>

[cid:image001.jpg@01C9B6B2.57955C50]


________________________________
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>>

Attachment: SearchDBs.xqy
Description: SearchDBs.xqy

_______________________________________________
General mailing list
General@developer.marklogic.com
http://xqzone.com/mailman/listinfo/general

Reply via email to