axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tevoi Andrea" <te...@cad.it>
Subject R: wsdl:import URL
Date Tue, 15 Apr 2003 15:58:45 GMT
Many thanks Rodrigo,

adding <mime-mapping> to axis web.xml has solved my problem that was infact that content-type
wasn't set. That is what wsdl2java expects.

thanks again,

A.T.

> -----Messaggio originale-----
> Da: Rodrigo Ruiz [mailto:rruiz@gridsystems.com]
> Inviato: martedì 15 aprile 2003 17.46
> A: axis-user@ws.apache.org
> Oggetto: Re: wsdl:import URL
> 
> 
> > With this URL axis servlet doesn't responde (because of 
> servlet patterns
> in web.xml).
> > If the servlet container make it possible, with a browser 
> you can see file
> list and so the wsdl file too, but wsdl2java tool throws an exception
> because the content-type isn't set.
> 
> AFAIK, Axis web.xml file does not include the mime mapping 
> for wsdl files.
> 
> Try to add an entry in your web.xml like
> 
>     <mime-mapping>
>         <extension>wsdl</extension>
>         <mime-type>text/wsdl</mime-type>
>     </mime-mapping>
> 
> Well, I'm not sure about the mime type that wsdl2java expects.
> 
> Hope it helps,
> Rodrigo
> 
> 

Mime
View raw message