you should get a line WebService(wsdl=...) in the logs

*Romain Manni-Bucau*
*Twitter: @rmannibucau <https://twitter.com/rmannibucau>*
*Blog: **http://rmannibucau.wordpress.com/*<http://rmannibucau.wordpress.com/>
*LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
*Github: https://github.com/rmannibucau*



2013/2/23 James Green <james.mk.gr...@gmail.com>

> Yep - latest 1.6 snapshot in fact.
>
>
>
> On 23 February 2013 17:28, John D. Ament <john.d.am...@gmail.com> wrote:
>
> > Are you deploying to TomEE Plus?
> >
> >
> > On Sat, Feb 23, 2013 at 12:27 PM, James Green <james.mk.gr...@gmail.com
> > >wrote:
> >
> > > Decided to do some testing. Created the following and deployed to
> > localhost
> > > in a maven project named cdi-webcontext-1.0-SNAPSHOT:
> > >
> > > package com.github.jmkgreen.tomee;
> > >
> > > import javax.ejb.Stateless;
> > > import javax.jws.WebMethod;
> > > import javax.jws.WebService;
> > >
> > > @Stateless
> > > @WebService(portName = "Person", serviceName = "Person",
> targetNamespace
> > =
> > > "
> > > http://www.github.com/jmkgreen/tomee/cdi";)
> > > public class PersonSoap {
> > >
> > >     @WebMethod
> > >     public String hello() {
> > >         return "Hello";
> > >     }
> > >
> > > }
> > >
> > > The log shows:
> > >
> > > INFO: Creating Service
> > > {http://www.github.com/jmkgreen/tomee/cdi}Personfrom class
> > > com.github.jmkgreen.tomee.PersonSoap
> > > Feb 23, 2013 5:20:25 PM org.apache.cxf.endpoint.ServerImpl
> > initDestination
> > > INFO: Setting the server's publish address to be http://nopath:80
> > > Feb 23, 2013 5:20:25 PM org.apache.openejb.assembler.classic.Assembler
> > > createApplication
> > > INFO: Deployed
> > >
> > >
> >
> Application(path=/Users/jamesgreen/Downloads/apache-tomee-plus-1.6.0-SNAPSHOT/webapps/cdi-webcontext-1.0-SNAPSHOT)
> > > Feb 23, 2013 5:20:25 PM org.apache.cxf.endpoint.ServerImpl
> > initDestination
> > > INFO: Setting the server's publish address to be
> > > http://localhost:8080/cdi-webcontext-1.0-SNAPSHOT/
> > >
> > > But various urls such as
> > > http://localhost:8080/cdi-webcontext-1.0-SNAPSHOT/PersonSoap?wsdl all
> > 404.
> > > Where should I be going for the wsdl?
> > >
> > > Thanks,
> > >
> > > James
> > >
> >
>

Reply via email to