users@jax-rpc.java.net

Re: Document-Literal Service

From: Sam D <bytecode_at_PHREAKER.NET>
Date: Fri, 08 Aug 2003 01:45:54 -0400

This is all so confusing.

What I want to do is this.
Start with Java code and deploy a document/literal service.

Can someone please outline the steps and ant tasks I need ?

Thanks
=sam



Doug Kohlert wrote:

> Sam,
> First use wscompile with the -f:documentliteral option together
> with the -model option to create a model file. You then can
> add the model to your war file that you pass to wsdeploy and
> all should work. Make sure to add the model attribute to the
> endpoint in the jaxrpc-ri.xml in the war file. Here is a
> sample endpoint.
>
> <endpoint
> name="Hello"
> displayName="Hello Service"
> description="A simple web service"
> interface="stub_tie_generator_test.Hello"
> implementation="stub_tie_generator_test.HelloImpl"
> model="/WEB-INF/model.gz"/>
>
> Sam D wrote:
> > Hi.
> >
> > How do I do this in JWSDP 1.2 ? There seems to be no option in wsdeploy to
> >
> > tell it how to do it.
> >
> > ( I start with Java code, deploy service and generate WSDL)
> >
> > Thanks
> >
> >
> >
> >
> > Doug Kohlert wrote:
> >
> >
> >>Samuel,
> >>The JWSDP 1.1 does not generate document-literal or rpc-literal WSDLS.
> >>However, JWSDP 1.2 generates both.
> >>
> >>Samuel D Jackson wrote:
> >>
> >>>Does the JWSDP 1.1 generate WSDL files that are document-literal ?
> >>>Does the JWSDP 1.2 do that ?
> >>>
> >>>Thanks
> >>>=samuel
> >>
> >>--
> >>Doug Kohlert
> >>Java Software Division
> >>Sun Microsystems, Inc.
> >>phone: 503 345-9806
> >
>
> --
> Doug Kohlert
> Java Software Division
> Sun Microsystems, Inc.
> phone: 503 345-9806