users@jax-rpc.java.net

Re: Creating a doc/literal server from interface/impl

From: Doug Kohlert <Doug.Kohlert_at_Sun.COM>
Date: Tue, 11 Nov 2003 10:07:15 -0800

Kevin,
For this release the steps you have taken are the only way to do this.
In JAXRPC 2.0 this will probably be different.

Kevin Jones wrote:
> 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
>
>


-- 
Doug Kohlert
Java Software Division
Sun Microsystems, Inc.
phone: 503 345-9806
---------------------------------------------------------------------
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