Exposing the WSDL file in a deployed web service

From: Ryan LeCompte <>
Date: Tue, 13 Sep 2005 09:56:29 -0400

Hello all,


Normally you can access the WSDL file from a deployed web service (after
wsdeploy,etc.) by accessing it via http://localhost/Service?WSDL for
example. This seems to be working for me, however my WSDL document does a
schema import in order to import common data types defined in a .xsd
document. Although this .xsd file is included in the deployable WAR file for
the service, it doesn't seem to be accessible via the
http://localhost/Service?WSDL approach. Is there some extra step that I need
to do in order to make it available? If you point a tool such as wscompile
or .NET's "Wsdl.exe" utility to the http://localhost/Service?WSDL, it's not
able to download the entire WSDL since it can't seem to find the imported
schema file as well.


Any suggestions?