You have axis2 in your classpath somewhere.
On Wed, Aug 12, 2009 at 7:52 PM, bwd<[email protected]> wrote: > > I'm attempting to build and run a service from a WSDL file along the lines > described in http://cwiki.apache.org/CXF20DOC/a-simple-jax-ws-service.html > and http://cwiki.apache.org/CXF20DOC/developing-a-service.html (using CXF > 2.2.3) > > Steps that were taken: > > 1.) Compiled the WSDL using "wsdl2java -server -verbose -impl -validate -ant > -d ..." > 2.) Built the service using the generated ant build.xml file > 3.) Edit the generated *Impl class to provide a trivial test implementation. > 4.) Start the service via a *.bat file with "java > -Djava.util.logging.config.file=%CXF_HOME%\etc\logging.properties -classpath > %CLASSPATH% ...". > > The classpath in the *.bat file has all of the jar files found in > CFX_HOME/lib, and the service was launched via the main() in the generated > *Port_Server file. > > When I launch the server, I see the following in the console: > > Starting Server > Publishing ... > Exception in thread "main" > javax.xml.ws.spi.FactoryFinder$ConfigurationError: Provider > org.apache.axis2.jaxws.spi.Provider not found > at javax.xml.ws.spi.FactoryFinder$2.run(FactoryFinder.java:135) > at javax.xml.ws.spi.FactoryFinder.doPrivileged(FactoryFinder.java:264) > at javax.xml.ws.spi.FactoryFinder.newInstance(FactoryFinder.java:122) > at javax.xml.ws.spi.FactoryFinder.access$200(FactoryFinder.java:42) > at javax.xml.ws.spi.FactoryFinder$3.run(FactoryFinder.java:255) > at javax.xml.ws.spi.FactoryFinder.doPrivileged(FactoryFinder.java:264) > at javax.xml.ws.spi.FactoryFinder.find(FactoryFinder.java:165) > at javax.xml.ws.spi.Provider.provider(Provider.java:39) > at javax.xml.ws.Endpoint.publish(Endpoint.java:47) > > A search for this exception within Nabble and the web found the following > discussion, but it was client focused: > http://www.nabble.com/anybody-encount-this-problem--td21200201.html > > Is there some necessary step missing (or not obvious) from the > documentation? > > Thanks, > > Bentley > > -- > View this message in context: > http://www.nabble.com/Trouble-running-Simple-JAX-WS-Service-example-tp24943844p24943844.html > Sent from the cxf-user mailing list archive at Nabble.com. > >
