Also, are you connecting with the same user via XCC and CQ? If not you'll
want to check the permissions on that module to ensure that the XCC user has
access to the file.

 

-fs

 

 

From: [email protected]
[mailto:[email protected]] On Behalf Of Frank Sanders
Sent: Monday, April 06, 2009 11:43 AM
To: General Mark Logic Developer Discussion
Cc: Sunil_Chengalva
Subject: RE: [MarkLogic Dev General] (Issue with ML XCC component)

 

I'd also make sure that the Modules database is set correctly for the XDBC
server, and that the SearchDBs.xqy file has been loaded to the appropriate
location. I'd suggest connecting CQ to the modules DB where your module is
stored, and running the query below just to make sure your paths match up:

 

for $doc in fn:doc()

return xdmp:node-uri($doc)

 

-fs

 

From: [email protected]
[mailto:[email protected]] On Behalf Of Joydeep_Sinha
Sent: Monday, April 06, 2009 10:41 AM
To: General Mark Logic Developer Discussion
Cc: Sunil_Chengalva
Subject: RE: [MarkLogic Dev General] (Issue with ML XCC component)

 

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

 

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

 

  _____  

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