Christian,

I am not able to use 7.2.1 with XQJ because of not supporting xquery 3.0 and other features. I am using basex 7.2 with old XQJ,

Erol Akarsu

On Tue, May 8, 2012 at 9:29 AM, Charles Foster <charles@cfoster.net> wrote:
Hi Erol,

I'm unsure of what you're trying to do.

The BaseX XQJ client connects to a BaseX Server, similar to an ODBC
connection to a Relational Database. It is a persistent connection and
the client/server protocol is light-weight as it is binary based [1].

Because the protocol is not HTTP based, you can not connect to it via
a HTTP proxy, you must connect to a BaseX Server directly which by
default listens on port 1984.

Regards,

Charles

[1] http://docs.basex.org/wiki/Server_Protocol

On 8 May 2012 14:19, Erol Akarsu <eakarsu@gmail.com> wrote:
> Christian,
>
> No.  I don't know how to set it through XQJ.
>
> But I tried to set system properties  "http.ProxyHost" and "http.proxyPort"
> in Java but it does not have any effect on xquery calling through XQJ.
>
> Erol Akarsu
>
>
> On Mon, May 7, 2012 at 5:49 PM, Christian Grün <christian.gruen@gmail.com>
> wrote:
>>
>> Have you already set user and password via XQJ? – I'm also cc'ing this
>> to Charles Foster, the developer of our latest XQJ implementation.
>>
>> Christian
>> ___________________________
>>
>> > Christian,
>> >
>> > No. I have not.
>> >
>> > But I am using basex through XQJ java interface and need to set proxy
>> > host&port and user name and password.
>> >
>> > Thanks
>> >
>> > Erol Akarsu
>> >
>> >
>> > On Mon, May 7, 2012 at 5:39 PM, Christian Grün
>> > <christian.gruen@gmail.com>
>> > wrote:
>> >>
>> >> > I would like basex to use Java proxy host & port & credentials when
>> >> > basexis
>> >> > making url request to pull binary data from a remote web site.
>> >> > How can I set these proxy settings?
>> >>
>> >> Did you already have a look at the proxy options (PROXYHOST,
>> >> PROXYPORT, NONPROXYHOSTS)[1]?
>> >> Christian
>> >>
>> >> [1] http://docs.basex.org/wiki/Options#PROXYHOST
>
>