Skip to main content

generating wsdl without imports

1 reply [Last post]
jkucharski
Offline
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

Thanks

Reply viewing options

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

Not yet. See here http://forums.java.net/jive/message.jspa?messageID=269899

Though you can achieve this by handcrafting your WSDL.

Thanks,
Vinod
http://blog.vinodsingh.com/