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

 

 <mailto:[email protected]> [email protected]

 <http://www.satyam.com> 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.

<<image001.jpg>>

Attachment: smime.p7s
Description: S/MIME cryptographic signature

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

Reply via email to