axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andre Juffer <>
Subject Re: problem accessing WSDL for a Deployed WS.
Date Tue, 30 Oct 2001 19:02:36 GMT
Hi Quido,

it looks like a similar problem I had earlier.

Three things you could look at:

1. Check your WEB-INF/web.xml. There should be an entry like


The Alpha 2 release of Axis (September 21), the one I am currently 
using, apparently did not have that entry exactly in the way as above 
(the /* was missing).

2. Check your classpath. Under Linux I use

java -classpath $CP org.apache.axis.wsdl.Wsdl2java --verbose 



(You don't need to use crimson and jaxp, xerxes will do fine as well.)

After deploying the service, running the above in the top directory of 
Axis, you should get:

Parsing XML File: http://localhost:8080/axis/services/MyService?wsdl
Generating portType interface:
Generating client-side stub:
Generating service class:

3. If you just want to see the contents of the.wsdl file, you could 
point your browser to http://localhost:8080/axis/services/MyService?wsdl 
and view the source. With Netscape 6.1 I get a blank screen, but I can 
look at the wsdl file with view->page source.

Hopes this helps,


Guido Di Maio wrote:

> here is the problem:
> I'm not able to get the WSDL file for deployed Ws.
> neither for the sample URL
> http://localhost:8080/axis/services/MyService?wsdl
> (after deploing it, of course).
> It neither works with:
> % java org.apache.axis.wsdl.Wsdl2java
> http://localhost:8080/axis/services/MyService?wsdl
> the message error is:
> Parsing XML File: http://localhost:8080/axis/services/MyService?wsdl
> http://localhost:8080/axis/services/MyService?wsd
> l
>         at
> So
> urce)
>         at Source)
> .......................Error in parsing: null
> Any answer ?
> Thanks a lot.

Andre H. Juffer              | Phone: +358-8-553 1683
The Biocenter and            | Fax: +358-8-553-1141
     the Dep. of Biochemistry | Email:
University of Oulu, Finland  | WWW:

View raw message