To create a doc/literal starting with Java I do the following
Define the itf/impl classes
Run wscompile like this
<wscompile
config="${descriptor.dir}/config.xml"
verbose="true"
define="true"
classpathref="local.project.classpath"
keep="true"
nonclassdir="${generated.dir}"
model="${generated.dir}/model.gz"
f="documentliteral"/>
(it's the ant task but I think it's an obvious mapping to the cmd line)
This task creates a model file.
I then create a war with the compiled itf/impl and other classes and add
the model file to web-inf in the war.
I then run wsdeploy on the intermediate war to create a war that
contains the web service code. I don't need to put the WSDL file
generated in the wscompile step into the intermediate war, just the
model file. This gives me a doc/lit web service.
Is this the only way, or can I do this directly with wsdeploy?
Kevin Jones
http://kevinj.develop.com
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_jax-rpc.dev.java.net
For additional commands, e-mail: users-help_at_jax-rpc.dev.java.net