|
Replies:
3
-
Last Post:
Jul 14, 2008 11:40 PM
by: jitu
|
|
|
|
|
|
|
Generate one physical wsdl file for a web service
Posted:
Apr 18, 2008 2:45 AM
|
|
|
Hi All,
The JAX-RPC used to generate only one physical WSDL file for a web service but JAX-WS generates multiple files (wsdl and xsd) for one web service. Though segregating different types of the stuff in different files looks logical but if one needs to distribute the WSDL then it is quite inconvenient to handle them.
Is there anyway to instruct JAX-WS to generate only one file?
Thanks, Vinod
|
|
|
|
|
|
|
Re: Generate one physical wsdl file for a web service
Posted:
Apr 21, 2008 9:02 PM
in response to: vinodsingh
|
|
|
Apparently not yet[1], but CXF's java2wsdl has a flag so you can choose either way. I would say splitting them out though is a cleaner, more modular design--all you need to do is load the wsdl's and xsd's into the WEB-INF/wsdl directory of your WAR file. The SOAP clients accessing your web service will automatically be able to download everything. For human distribution, a ZIP file containing everything also will work.
If you really want everything in one file though, make an enhancement request[2].
Glen
[1] https://metro.dev.java.net/nonav/1.0/docs/wsgen.html [2] https://jax-ws.dev.java.net/servlets/ProjectIssues
metro wrote: > > Hi All, > > The JAX-RPC used to generate only one physical WSDL file for a web service > but JAX-WS generates multiple files (wsdl and xsd) for one web service. > Though segregating different types of the stuff in different files looks > logical but if one needs to distribute the WSDL then it is quite > inconvenient to handle them. > > Is there anyway to instruct JAX-WS to generate only one file? > > Thanks, > Vinod > [Message sent by forum member 'vinodsingh' (vinodsingh)] > > http://forums.java.net/jive/thread.jspa?messageID=269899 > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe@metro.dev.java.net > For additional commands, e-mail: users-help@metro.dev.java.net > > >
-- View this message in context: http://www.nabble.com/Generate-one-physical-wsdl-file-for-a-web-service-tp16764084p16820917.html Sent from the Metro - Users mailing list archive at Nabble.com.
--------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@metro.dev.java.net For additional commands, e-mail: users-help@metro.dev.java.net
|
|
|
|
|
|
|
|
Re: Generate one physical wsdl file for a web service
Posted:
Apr 22, 2008 5:13 AM
in response to: vinodsingh
|
|
|
Looks like I am the only one who has this weird requirement 
Vinod
|
|
|
|
|
|
|
|
Re: Generate one physical wsdl file for a web service
Posted:
Jul 14, 2008 11:40 PM
in response to: vinodsingh
|
|
|
Not really. There are some clients like adobe flash cannot consume wsdl with imports. I guess we need to prioritize this enhancement.
|
|
|
|
|