Hi Haven't tested your code but the endpointInterface should point to the FQCN of the interface, that is " ve.com.tcs.codequality.services.ws. ICodeQualityService".
Regards Lars-Fredrik On 23 Aug 2014 17:10, "Néstor Boscán" <[email protected]> wrote: > Hi > > I have this very simple Web Service: > > @WebService > public interface ICodeQualityService { > String getRules(); > } > > @WebService(endpointInterface = "ICodeQualityService", > serviceName="CodeQualityService") > public class CodeQualityService implements ICodeQualityService { > public String getRules() { > ... > } > } > > And my Spring Configuration is: > > <bean id="codeQualityService" > class="ve.com.tcs.codequality.services.ws.CodeQualityService"> > <property name="codeQualityBf" ref="codeQualityBf"/> > </bean> > > <jaxws:endpoint id="codeQualityServiceEndpoint" > implementor="#codeQualityService" > address="/codeQualityServiceV1"> > </jaxws:endpoint> > > When I access the WSDL file from the web endpoint I get: > > <wsdl:definitions xmlns:xsd="http://www.w3.org/2001/XMLSchema" > xmlns:wsdl=" > http://schemas.xmlsoap.org/wsdl/" xmlns:tns=" > http://ws.services.codequality.tcs.com.ve/"xmlns:soap=" > http://schemas.xmlsoap.org/wsdl/soap/" xmlns:ns1=" > http://schemas.xmlsoap.org/soap/http > " name="CodeQualityServiceService"targetNamespace=" > http://ws.services.codequality.tcs.com.ve/"> > <wsdl:portType name="CodeQualityService"></wsdl:portType> > <wsdl:binding name="CodeQualityServiceServiceSoapBinding" > type="tns:CodeQualityService"> > <soap:binding style="document" transport=" > http://schemas.xmlsoap.org/soap/http"/> > </wsdl:binding> > <wsdl:service name="CodeQualityServiceService"> > <wsdl:port binding="tns:CodeQualityServiceServiceSoapBinding" > name="CodeQualityServicePort"> > <soap:address location=" > > http://127.0.0.1:7101/codequalityview-context-root/services/codeQualityServiceV1 > "/> > </wsdl:port> > </wsdl:service> > </wsdl:definitions> > > This is hapenning with CXF 2.5, 2.6 and 2.7. > > Any ideas? > > The debug information is: > > 23-08-2014 10:36:51,732|DEBUG|Could not determine bean name for instance of > class org.apache.cxf.transports.http.internal.QueryHandlerRegistryImpl. > 23-08-2014 10:36:51,853|DEBUG|Service http request on thread: > Thread[[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default > (self-tuning)',5,Pooled Threads] > 23-08-2014 10:36:51,854|DEBUG|Create a new message for processing > 23-08-2014 10:36:51,879|DEBUG|Request Headers: > > {Accept=[text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8], > accept-encoding=[gzip,deflate,sdch], > Accept-Language=[es-ES,es;q=0.8,en;q=0.6], Cache-Control=[max-age=0], > connection=[keep-alive], Content-Type=[null], > > Cookie=[JSESSIONID=chxZT4tHsGFh5BpTZgM5HbBvQJzSMyhgdY0VtF2pJW43s1nw3ly0!-408319623], > Host=[127.0.0.1:7101], User-Agent=[Mozilla/5.0 (Windows NT 6.2; WOW64) > AppleWebKit/537.36 (KHTML, like Gecko) Chrome/36.0.1985.143 Safari/537.36]} > 23-08-2014 10:36:51,925|DEBUG|Could not determine bean name for instance of > class org.apache.cxf.bus.managers.PhaseManagerImpl. > 23-08-2014 10:36:51,974|DEBUG|Adding interceptor > org.apache.cxf.ws.policy.PolicyInInterceptor@15704da to phase receive > 23-08-2014 10:36:51,975|DEBUG|Adding interceptor > org.apache.cxf.interceptor.ServiceInvokerInterceptor@1be0389 to phase > invoke > 23-08-2014 10:36:51,975|DEBUG|Adding interceptor > org.apache.cxf.interceptor.OutgoingChainInterceptor@1da2cc7 to phase > post-invoke > 23-08-2014 10:36:51,975|DEBUG|Adding interceptor > org.apache.cxf.interceptor.OneWayProcessorInterceptor@b1fb50 to phase > pre-logical > 23-08-2014 10:36:51,976|DEBUG|Adding interceptor > org.apache.cxf.jaxws.interceptors.WrapperClassInInterceptor@ea73cf to > phase > post-logical > 23-08-2014 10:36:51,976|DEBUG|Adding interceptor > org.apache.cxf.jaxws.interceptors.HolderInInterceptor@5924bc to phase > pre-invoke > 23-08-2014 10:36:51,976|DEBUG|Adding interceptor > org.apache.cxf.jaxws.interceptors.SwAInInterceptor@7ae308 to phase > pre-invoke > 23-08-2014 10:36:51,976|DEBUG|Adding interceptor > org.apache.cxf.frontend.WSDLGetInterceptor@1cf3a0f to phase read > 23-08-2014 10:36:51,977|DEBUG|Adding interceptor > org.apache.cxf.interceptor.AttachmentInInterceptor@1ecb1c3 to phase > receive > 23-08-2014 10:36:51,977|DEBUG|Adding interceptor > org.apache.cxf.interceptor.StaxInInterceptor@8aae82 to phase post-stream > 23-08-2014 10:36:51,977|DEBUG|Adding interceptor > org.apache.cxf.binding.soap.interceptor.SoapActionInInterceptor@c70c5f to > phase read > 23-08-2014 10:36:51,977|DEBUG|Adding interceptor > org.apache.cxf.interceptor.DocLiteralInInterceptor@1fd585a to phase > unmarshal > 23-08-2014 10:36:51,977|DEBUG|Adding interceptor > org.apache.cxf.binding.soap.interceptor.SoapHeaderInterceptor@1b38d1e to > phase unmarshal > 23-08-2014 10:36:51,978|DEBUG|Adding interceptor > org.apache.cxf.binding.soap.interceptor.ReadHeadersInterceptor@f5c610 to > phase read > 23-08-2014 10:36:51,978|DEBUG|Adding interceptor > org.apache.cxf.binding.soap.interceptor.StartBodyInterceptor@19e45f4 to > phase read > 23-08-2014 10:36:51,978|DEBUG|Adding interceptor > org.apache.cxf.binding.soap.interceptor.CheckFaultInterceptor@2c216 to > phase post-protocol > 23-08-2014 10:36:51,978|DEBUG|Adding interceptor > org.apache.cxf.binding.soap.interceptor.MustUnderstandInterceptor@114377c > to phase pre-protocol > 23-08-2014 10:36:51,978|DEBUG|Adding interceptor > org.apache.cxf.jaxb.attachment.JAXBAttachmentSchemaValidationHack@46cc31 > to > phase post-protocol > 23-08-2014 10:36:51,980|DEBUG|Adding interceptor > org.apache.cxf.transport.https.CertConstraintsInterceptor@1afa3b0 to phase > pre-stream > 23-08-2014 10:36:51,981|DEBUG|Chain > org.apache.cxf.phase.PhaseInterceptorChain@91bf2 was created. Current > flow: > receive [PolicyInInterceptor, AttachmentInInterceptor] > pre-stream [CertConstraintsInterceptor] > post-stream [StaxInInterceptor] > read [WSDLGetInterceptor, ReadHeadersInterceptor, > SoapActionInInterceptor, StartBodyInterceptor] > pre-protocol [MustUnderstandInterceptor] > post-protocol [CheckFaultInterceptor, JAXBAttachmentSchemaValidationHack] > unmarshal [DocLiteralInInterceptor, SoapHeaderInterceptor] > pre-logical [OneWayProcessorInterceptor] > post-logical [WrapperClassInInterceptor] > pre-invoke [SwAInInterceptor, HolderInInterceptor] > invoke [ServiceInvokerInterceptor] > post-invoke [OutgoingChainInterceptor] > > 23-08-2014 10:36:51,982|DEBUG|Invoking handleMessage on interceptor > org.apache.cxf.ws.policy.PolicyInInterceptor@15704da > 23-08-2014 10:36:51,984|DEBUG|Invoking handleMessage on interceptor > org.apache.cxf.interceptor.AttachmentInInterceptor@1ecb1c3 > 23-08-2014 10:36:51,984|DEBUG|AttachmentInInterceptor skipped in HTTP GET > method > 23-08-2014 10:36:51,984|DEBUG|Invoking handleMessage on interceptor > org.apache.cxf.transport.https.CertConstraintsInterceptor@1afa3b0 > 23-08-2014 10:36:51,984|DEBUG|Invoking handleMessage on interceptor > org.apache.cxf.interceptor.StaxInInterceptor@8aae82 > 23-08-2014 10:36:51,985|DEBUG|StaxInInterceptor skipped. > 23-08-2014 10:36:51,985|DEBUG|Invoking handleMessage on interceptor > org.apache.cxf.frontend.WSDLGetInterceptor@1cf3a0f > 23-08-2014 10:36:52,079|DEBUG|Could not determine bean name for instance of > class org.apache.cxf.catalog.OASISCatalogManager. > 23-08-2014 10:36:52,100|DEBUG|Interceptors contributed by endpoint: > [org.apache.cxf.interceptor.MessageSenderInterceptor@14a48cc, > org.apache.cxf.jaxws.interceptors.SwAOutInterceptor@1f16eab, > org.apache.cxf.jaxws.interceptors.WrapperClassOutInterceptor@198b316, > org.apache.cxf.jaxws.interceptors.HolderOutInterceptor@15a6b1] > 23-08-2014 10:36:52,100|DEBUG|Adding interceptor > org.apache.cxf.interceptor.MessageSenderInterceptor@14a48cc to phase > prepare-send > 23-08-2014 10:36:52,100|DEBUG|Adding interceptor > org.apache.cxf.jaxws.interceptors.SwAOutInterceptor@1f16eab to phase > pre-logical > 23-08-2014 10:36:52,101|DEBUG|Adding interceptor > org.apache.cxf.jaxws.interceptors.WrapperClassOutInterceptor@198b316 to > phase pre-logical > 23-08-2014 10:36:52,101|DEBUG|Adding interceptor > org.apache.cxf.jaxws.interceptors.HolderOutInterceptor@15a6b1 to phase > pre-logical > 23-08-2014 10:36:52,101|DEBUG|Interceptors contributed by service: [] > 23-08-2014 10:36:52,101|DEBUG|Interceptors contributed by bus: > [org.apache.cxf.ws.policy.PolicyOutInterceptor@172d476] > 23-08-2014 10:36:52,101|DEBUG|Adding interceptor > org.apache.cxf.ws.policy.PolicyOutInterceptor@172d476 to phase setup > 23-08-2014 10:36:52,101|DEBUG|Interceptors contributed by binding: > [org.apache.cxf.interceptor.AttachmentOutInterceptor@1dab9c7, > org.apache.cxf.interceptor.StaxOutInterceptor@dac40d, > > org.apache.cxf.binding.soap.interceptor.SoapHeaderOutFilterInterceptor@7d3e3a > , > org.apache.cxf.interceptor.WrappedOutInterceptor@8073f0, > org.apache.cxf.interceptor.BareOutInterceptor@13ba863, > > org.apache.cxf.binding.soap.interceptor.SoapPreProtocolOutInterceptor@1ac0ead > , > org.apache.cxf.binding.soap.interceptor.SoapOutInterceptor@f7b922] > 23-08-2014 10:36:52,101|DEBUG|Adding interceptor > org.apache.cxf.interceptor.AttachmentOutInterceptor@1dab9c7 to phase > pre-stream > 23-08-2014 10:36:52,101|DEBUG|Adding interceptor > org.apache.cxf.interceptor.StaxOutInterceptor@dac40d to phase pre-stream > 23-08-2014 10:36:52,101|DEBUG|Adding interceptor > > org.apache.cxf.binding.soap.interceptor.SoapHeaderOutFilterInterceptor@7d3e3a > to phase pre-logical > 23-08-2014 10:36:52,102|DEBUG|Adding interceptor > org.apache.cxf.interceptor.WrappedOutInterceptor@8073f0 to phase marshal > 23-08-2014 10:36:52,102|DEBUG|Adding interceptor > org.apache.cxf.interceptor.BareOutInterceptor@13ba863 to phase marshal > 23-08-2014 10:36:52,102|DEBUG|Adding interceptor > > org.apache.cxf.binding.soap.interceptor.SoapPreProtocolOutInterceptor@1ac0ead > to phase post-logical > 23-08-2014 10:36:52,102|DEBUG|Adding interceptor > org.apache.cxf.binding.soap.interceptor.SoapOutInterceptor@f7b922 to phase > write > 23-08-2014 10:36:52,103|DEBUG|Adding interceptor > org.apache.cxf.frontend.WSDLGetOutInterceptor@c0f670 to phase pre-stream > 23-08-2014 10:36:52,103|DEBUG|Invoking handleMessage on interceptor > org.apache.cxf.interceptor.OutgoingChainInterceptor@1da2cc7 > 23-08-2014 10:36:52,106|DEBUG|Chain > org.apache.cxf.phase.PhaseInterceptorChain@15e8653 was created. Current > flow: > prepare-send [MessageSenderInterceptor] > pre-stream [StaxOutInterceptor, WSDLGetOutInterceptor] > > 23-08-2014 10:36:52,106|DEBUG|Invoking handleMessage on interceptor > org.apache.cxf.interceptor.MessageSenderInterceptor@14a48cc > 23-08-2014 10:36:52,108|DEBUG|Adding interceptor > > org.apache.cxf.interceptor.MessageSenderInterceptor$MessageSenderEndingInterceptor@1fe9985 > to phase prepare-send-ending > 23-08-2014 10:36:52,108|DEBUG|Chain > org.apache.cxf.phase.PhaseInterceptorChain@15e8653 was modified. Current > flow: > prepare-send [MessageSenderInterceptor] > pre-stream [StaxOutInterceptor, WSDLGetOutInterceptor] > prepare-send-ending [MessageSenderEndingInterceptor] > > 23-08-2014 10:36:52,108|DEBUG|Invoking handleMessage on interceptor > org.apache.cxf.interceptor.StaxOutInterceptor@dac40d > 23-08-2014 10:36:52,165|DEBUG|Adding interceptor > org.apache.cxf.interceptor.StaxOutEndingInterceptor@12cc741 to phase > pre-stream-ending > 23-08-2014 10:36:52,165|DEBUG|Chain > org.apache.cxf.phase.PhaseInterceptorChain@15e8653 was modified. Current > flow: > prepare-send [MessageSenderInterceptor] > pre-stream [StaxOutInterceptor, WSDLGetOutInterceptor] > pre-stream-ending [StaxOutEndingInterceptor] > prepare-send-ending [MessageSenderEndingInterceptor] > > 23-08-2014 10:36:52,165|DEBUG|Invoking handleMessage on interceptor > org.apache.cxf.frontend.WSDLGetOutInterceptor@c0f670 > 23-08-2014 10:36:52,172|DEBUG|Invoking handleMessage on interceptor > org.apache.cxf.interceptor.StaxOutEndingInterceptor@12cc741 > 23-08-2014 10:36:52,173|DEBUG|Invoking handleMessage on interceptor > > org.apache.cxf.interceptor.MessageSenderInterceptor$MessageSenderEndingInterceptor@1fe9985 > 23-08-2014 10:36:52,174|DEBUG|Finished servicing http request on thread: > Thread[[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default > (self-tuning)',5,Pooled Threads] > > Regards, > > Néstor >
