Skip to main content

generating wsdl without imports

1 reply [Last post]
Joined: 2008-07-15

Has anyone come up with a work around for generating flat wsdl files for deployed web services (instead of x number of xsd imports)? In dealing with developers who may use older tools or need to implement clients manually, its helps to have a single wsdl file to work from. You generally dont see imported schemas in wsdl for widely used web services, and it seems to cause more problems/questions than it does any good.

Ive tried specifying a wsdl file (flattened manually) in /WEB-INF/wsdl/ to be returned to clients (http://..../service?wsdl) by adding the wsdl attribute to the endpoint tag in sun-jaxws.xml but this seems to have no effect.

Using Glassfish UR2/JSE6


Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Joined: 2004-04-16

Not yet. See here

Though you can achieve this by handcrafting your WSDL.