Targeting /mlsql/mlsql responds with Invalid http response code: 404

Richard

________________________________
From: general-boun...@developer.marklogic.com 
[mailto:general-boun...@developer.marklogic.com] On Behalf Of Jason Hunter
Sent: Friday, June 22, 2012 3:06 AM
To: MarkLogic Developer Discussion
Subject: Re: [MarkLogic Dev General] MLSQL Invalid http response code

Odds are it's redirecting you to /mlsql/ which makes me think you really need 
to target /mlsql/mlsql.

-jh-

On Jun 21, 2012, at 1:35 PM, Gillingwater, Richard wrote:


We are trying to set up MLSQL following the instructions in the tutorial. I 
have the code:

import module namespace sql  = "http://xqdev.com/sql"; at "sql.xqy";
sql:execute("select 1 as test", "http://dev16:8080/mlsql";, ())

But it responds with an sql:exception <sql:reason>Invalid http response code: 
302</sql:reason>
I have tomcat 5 running on dev16. The database is on a third node.

Can you help?

Richard
_______________________________________________
General mailing list
General@developer.marklogic.com<mailto:General@developer.marklogic.com>
http://community.marklogic.com/mailman/listinfo/general

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

Reply via email to