users@jax-rpc.java.net

RE: JAX-RPC mapping file, really needed?

From: Kevin Jones <kevinj_at_develop.com>
Date: Fri, 8 Apr 2005 09:57:29 +0100

Merten,

looking at the JSR 109 spec I think the mapping file is used during
deployment time, so I guess whether you need the file or not depends on the
container you are deploying into. As I've said I've never used the mapping
file only the WSDL, but I'm deploying into Tomcat not into a 'full' J2EE
container,

Kevin Jones
http://kevinj.develop.com/weblog
 

> -----Original Message-----
> From: Merten Schumann [mailto:Merten.Schumann_at_asg.com]
> Sent: 08 April 2005 09:36
> To: users_at_jax-rpc.dev.java.net
> Subject: RE: JAX-RPC mapping file, really needed?
>
> Hi Kevin,
>
> I do use wscompile ant tasks like this
>
> <wscompile
> config="${IN_DIR}/wscompile-config-rpcenc.xml"
> verbose="true"
> base="${OUT_DIR}/wscompile_output"
> define="true"
> classpath="."
> keep="false"
> mapping="${OUT_DIR}/wscompile_output/mapping/mapping.xml"
> features=""
> />
>
> I do use wscompile (JAX-RPC) stuff which comes with Sun J2EE
> RI, but I guess it's the same in JWSDP, there's a switch (I
> tried wscompile from
> jwsdp1.4)
>
> -mapping <file> write the 109 mapping file to the
> given file
>
> cu
> Merten
>
> > -----Original Message-----
> > From: Kevin Jones [mailto:kevinj_at_develop.com]
> > Sent: Friday, April 08, 2005 10:30 AM
> > To: users_at_jax-rpc.dev.java.net
> > Subject: RE: JAX-RPC mapping file, really needed?
> >
> > Hey Merten,
> >
> > which version of JWSDP is this, and what wscompile options are you
> > using? I ask because I've never seen a mapping.xml file or
> a reference
> > to it. BTW, where is the reference?
> >
> > Kevin Jones
> > http://kevinj.develop.com/weblog
> >
> >
> > > -----Original Message-----
> > > From: Merten Schumann [mailto:Merten.Schumann_at_asg.com]
> > > Sent: 08 April 2005 09:18
> > > To: users_at_jax-rpc.dev.java.net
> > > Subject: JAX-RPC mapping file, really needed?
> > >
> > > Hello,
> > >
> > > I've got a question regarding this JAX-RPC mapping file
> you need to
> > > setup a JAX-RPC web service. I'm using wscompile from
> Sun's JAX-RPC
> > > implementation to generate the WSDL for a web service.
> Then I have
> > > this webservices.xml in the WEB-INF of my .war and there's the
> > > JAX-RPC mapping file (generated by wscompile too) referenced:
> > > <jaxrpc-mapping-file> WEB-INF/mapping.xml </jaxrpc-mapping-file>
> > >
> > > Is this JAX-RPC mapping file really needed or is the WSDL
> enough???
> > > Would be good, if I could omit this mapping file, for some reason:
> > >
> > > What I want is to take a java2wsdl tool which preserves
> the method
> > > parameter names. Maybe there's such a tool out there in
> the net (or
> > > I could hand write the WSDL). Now, there's more than one
> java2wsdl
> > > tool out there which I could probably use instead of
> Sun's wscompile
> > > to produce a WSDL file from my Java interface. But, it
> seems none of
> > > these tools generates this JAX-RPC mapping file!?!
> > >
> > > I think this mapping file is JAX-RPC specific, but maybe
> I'm wrong
> > > and it's a Sun JAX-RPC specific file???
> > >
> > > Thank you!
> > > Merten
> > >
> > >
> >
> ---------------------------------------------------------------------
> > > 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
> > >
> > >
> >
> >
> >
> ---------------------------------------------------------------------
> > 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
> >
> >
>
> ---------------------------------------------------------------------
> 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
>
>