axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sanjiva Weerawarana" <sanj...@watson.ibm.com>
Subject Re: building requires network connection
Date Tue, 06 Nov 2001 16:50:22 GMT
An easy thing to do would be to write a program to download the
WSDL from that URL and copy it to the local drive before running
the test. If the download fails, then go with the cached copy.
This way you have the best of both worlds.

The program to download from a URL is like a 2 line Java program
obviously.

Sanjiva.

----- Original Message -----
From: "Glen Daniels" <gdaniels@macromedia.com>
To: <axis-dev@xml.apache.org>
Sent: Tuesday, November 06, 2001 10:15 PM
Subject: RE: building requires network connection


>
> If testing this stuff is going to be part of the Axis unit or functional
> tests, it should be local, or at least fail gracefully in the face of no
> network connection.
>
> My preference would be to have local WSDL which tests all the features,
and
> include the networked interop tests as samples which aren't integrated
with
> our test platform.
>
> --Glen
>
> > -----Original Message-----
> > From: Russell Butek [mailto:butek@us.ibm.com]
> > Sent: Tuesday, November 06, 2001 11:05 AM
> > To: axis-dev@xml.apache.org
> > Subject: Re: building requires network connection
> >
> >
> > The reason the tests depend on the network is that some of
> > our test WSDL
> > are 'out there', like the interop tests.  We COULD make copies of them
> > locally, but then if the original WSDL changes, we'd never
> > test the new
> > stuff.
> >
> > Russell Butek
> > butek@us.ibm.com
> >
> >
> > Doug Davis/Raleigh/IBM@IBMUS on 11/06/2001 09:57:10 AM
> >
> > Please respond to axis-dev@xml.apache.org
> >
> > To:   axis-dev@xml.apache.org
> > cc:
> > Subject:  building requires network connection
> >
> >
> >
> > The build now requires a network connection - in particular
> > it looks like hosts like: www.xmethod.net are needed.
> >
> > main:
> > [wsdl2java] java.net.UnknownHostException: www.xmethods.net
> >
> > Is this really needed or is there a work around?  Can we switch
> > it to use localhost instead?
> > -Dug
> >
> >
> >
> >


Mime
View raw message