Java proxy host & port & credentials

Monday, 7 May 2012 · 10 messages · last reply 9 May 2012
CG
Christian Grünin reply to Erol Akarsu, 8 May 2012, 01:367 May 2012 23:39 #
Quoted text · Erol Akarsu · 3 lines
> 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
CG
Christian Grünin reply to Erol Akarsu, 8 May 2012, 01:457 May 2012 23:49 #
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
Quoted text · Erol Akarsu · 25 lines
> 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 at 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
EA
Erol Akarsu8 May 2012 01:36 #
Hi 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? Erol Akarsu
EA
Erol Akarsuin reply to Christian Grün, 7 May 2012, 23:398 May 2012 01:45 #
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 at gmail.com>wrote:
Quoted text · Christian Grün · 11 lines
> > 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 >
CF
Charles Fosterin reply to Erol Akarsu, 8 May 2012, 17:208 May 2012 15:29 #
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
Quoted text · Erol Akarsu · 48 lines
On 8 May 2012 14:19, Erol Akarsu <eakarsu at 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 at 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 at 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 > >
CF
Charles Fosterin reply to Erol Akarsu, 8 May 2012, 17:478 May 2012 16:34 #
Erol, XQuery 3.0 + XQuery Update Facility + XQuery Full Text will be coming to the client/server XQJ, that is the current focus of development. Other than these features, what else is the client/server version of the BaseX XQJ missing which you would expect to see? Regards, Charles
Quoted text · Erol Akarsu · 82 lines
On 8 May 2012 14:47, Erol Akarsu <eakarsu at gmail.com> wrote: > 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 at 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 at 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 at 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 at 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 >> > >> > > >
EA
Erol Akarsuin reply to Christian Grün, 7 May 2012, 23:498 May 2012 17:20 #
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 at gmail.com>wrote:
Quoted text · Christian Grün · 33 lines
> 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 at 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 >
EA
Erol Akarsuin reply to Charles Foster, 8 May 2012, 15:298 May 2012 17:47 #
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
Quoted text · Charles Foster · 70 lines
On Tue, May 8, 2012 at 9:29 AM, Charles Foster <charles at 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 at 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 at 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 at 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 > > > > >
CG
Christian Grünin reply to Erol Akarsu, 9 May 2012, 19:089 May 2012 17:09 #
Hi Erol, did you manage to set the proxy with earlier versions of BaseX? Christian
Quoted text · Erol Akarsu · 98 lines
On Wed, May 9, 2012 at 5:07 PM, Erol Akarsu <eakarsu at gmail.com> wrote: > Christian, > > How can I set proxy settings with basex 7.2 through XQJ? > > You mentioned it in your previous emails. > > Thanks > > Erol Akarsu > > > On Tue, May 8, 2012 at 9:47 AM, Erol Akarsu <eakarsu at gmail.com> wrote: >> >> 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 at 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 at 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 at 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 at 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 >>> > >>> > >> >> >
EA
Erol Akarsuin reply to Erol Akarsu, 8 May 2012, 17:479 May 2012 19:08 #
Christian, How can I set proxy settings with basex 7.2 through XQJ? You mentioned it in your previous emails. Thanks Erol Akarsu
Quoted text · Erol Akarsu · 83 lines
On Tue, May 8, 2012 at 9:47 AM, Erol Akarsu <eakarsu at gmail.com> wrote: > 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 at 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 at 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 at 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 at 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 >> > >> > >> > >

⚡Generated with XQuery