users@jax-rpc.java.net

RE: JAX-RPC mapping file, really needed?

From: Merten Schumann <Merten.Schumann_at_asg.com>
Date: Fri, 8 Apr 2005 11:29:02 +0200

Hi Kevin,

into Tomcat? I guess you mean Axis under Tomcat? That's what I'm doing,
but I have to test against Sun AS and WebSphere and all too :-)

In the past, I deployed to Tomcat (without Axis) too, I used the
approach "add Sun J2EE stuff to Tomcat". I remember, there were some
emails from you regarding this stuff. At the end you deploy the "cooked"
war file (wsdeploy output) I guess. Here a lot of internal stuff get's
done by the Sun implementation. I cannot use this approach, I have to
create one war file for "any" JAX-RPC enabled container.

Things work fine so far, I have in my .war file my classes, the WSDL,
web.xml and webservices.xml and this mapping file. Now I want to omit
this mapping.xml file ...

BTW: in the Axis approach (Axis 1.2 has it's own JAX-RPC implementation)
I don't have to deal with this JAX-RPC mapping file too. So my hope is,
that it's not really needed ...

cu
   Merten

> -----Original Message-----
> From: Kevin Jones [mailto:kevinj_at_develop.com]
> Sent: Friday, April 08, 2005 10:57 AM
> To: users_at_jax-rpc.dev.java.net
> Subject: RE: JAX-RPC mapping file, really needed?
>
> 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
> >
> >
>
>
> ---------------------------------------------------------------------
> 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
>
>