Path: news.mathworks.com!not-for-mail
From: <HIDDEN>
Newsgroups: comp.soft-sys.matlab
Subject: Re: ConnectKEGG and a password protected proxy
Date: Tue, 12 Aug 2008 19:51:02 +0000 (UTC)
Organization: The MathWorks, Inc.
Lines: 40
Message-ID: <g7spj6$n0t$1@fred.mathworks.com>
References: <fh994u$b29$1@fred.mathworks.com>
Reply-To: <HIDDEN>
NNTP-Posting-Host: webapp-03-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1218570662 23581 172.30.248.38 (12 Aug 2008 19:51:02 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Tue, 12 Aug 2008 19:51:02 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1463709
Xref: news.mathworks.com comp.soft-sys.matlab:485134



Hi All,

The message below led me to believe that I can use the
webservices client through a proxy (only not password
protected proxies). I have set Matlab to use a proxy, but
still webservice calls don't go through it; they attempt to
connect directly.

What am I doing wrong? Oh, I use Matlab 2006a.

Thanks for listening,
Leon.

"Christian Kuijlaars" <exhile@hotmail.com> wrote in message
<fh994u$b29$1@fred.mathworks.com>...
> Hi,
> 
> Recently I found this nice script to address the KEGG API 
> from matlab and retrieve information directly from the KEGG 
> database. However the company that I work for has a 
> password protected proxy and although matlab does ask for a 
> password when using its web browser, it does not prompt me 
> for a password if i want to go on the web using the command 
> prompt. This results in a 407 error:
> 
> 
> >> className = createClassFromWsdl(wsdlURL)
> ??? Error using ==> createClassFromWsdl>parseWsdl
> java.io.IOException: Server returned HTTP response code: 
> 407 for URL: http://soap.genome.jp/KEGG.wsdl
> 
> Error in ==> createClassFromWsdl at 32
> R = parseWsdl(wsdlUrl);
> 
> 
> The URL does work so it seems the proxy is the problem. I 
> read something about the datafeed toolbox not being able to 
> log into a password protected proxy server. I don't know if 
> this also counts towards the createClassfromwsdl function