Hi everyone:
I am a complete beginner to the world or web services, cxf, and
spring and have been having some trouble with wsdl generation. I got an
example web service up and running to inspect and the wsdl that is
generated is perfect, but when I apply it to my own web service (with
the appropriate changes to the config xml files) the wsdl is far from
correct. These are the two different logs I get to the eclipse console:
For the working example:
Jul 14, 2008 8:19:58 AM
org.apache.cxf.service.factory.ReflectionServiceFactoryBean
buildServiceFromClass
INFO: Creating Service {http://contactus/}ContactUsServiceImplService
from class contactus.ContactUsServiceImpl
Jul 14, 2008 8:19:59 AM org.apache.cxf.endpoint.ServerImpl
initDestination
INFO: Setting the server's publish address to be /contactus
For my service:
Jul 14, 2008 8:19:54 AM
org.apache.cxf.service.factory.ReflectionServiceFactoryBean
buildServiceFromClass
INFO: Creating Service
{http://search.federatedsearch.nling.saic.com/}FederatedSearchImplService from
class com.saic.nling.federatedsearch.search.FederatedSearchImpl
Jul 14, 2008 8:19:55 AM org.apache.cxf.endpoint.ServerImpl
initDestination
INFO: Setting the server's publish address to be /federatedSearchService
Jul 14, 2008 8:19:55 AM org.apache.cxf.transport.servlet.CXFServlet
loadSpringBus
INFO: Load the bus with application context
Jul 14, 2008 8:19:56 AM org.apache.cxf.bus.spring.BusApplicationContext
getConfigResources
INFO: No cxf.xml configuration file detected, relying on defaults.
Jul 14, 2008 8:19:56 AM
org.apache.cxf.transport.servlet.AbstractCXFServlet
replaceDestinationFactory
INFO: Servlet transport factory already registered
I'm not quite sure why I am getting the additional log. I traced
through the code and the jar and from my set up there is no reason (that
I can see right away) that it wouldn't be finding the cxf.xml.
The wsdl for my service lacks all <xsd...> elements and also does not
even try the complex types. Any insight for the rookie would be greatly
appreciated!
Thanks,
Evan