title: "Could not unwrap Operation" with Apache CXF
body: <p>I'm trying to deploy a webservice using cxf.</p>
  
  <p>I use the following code to declare my endPoint</p>
  
  <pre><code>&lt;jaxws:endpoint
  xmlns:wsdl="com_documentation_service_standardfeatures_application_webservices_uc51_webserviceServer_WebServiceSearch"  
   id="webServiceSearchEndpoint"
      implementor="#com.documentation.service.standardfeatures.application.webservices.uc51_webserviceServer.WebServiceSearch"
      wsdlLocation="classpath:resources/schemas/wsdl/com_documentation_service_standardfeatures_application_webservices_uc51_webserviceServer_WebServiceSearch.wsdl"
      endpointName="wsdl:WebServiceSearchPort"
      serviceName="wsdl:com_documentation_service_standardfeatures_application_webservices_uc51_webserviceServer_WebServiceSearch"
      address="http://localhost:8888/service2"
      /&gt;
  </code></pre>
  
  <p>And my wsdl looks like that</p>
  
  <pre><code>[...]
  &lt;wsdl:types&gt;
  &lt;schema targetNamespace="com_documentation_service_standardfeatures_application_webservices_uc51_webserviceServer_WebServiceSearch_types" xmlns="http://www.w3.org/2001/XMLSchema"
   xmlns:team51="com_documentation_business_standardfeatures_application_webservices_uc51_webserviceClient_entities_Team51"    &gt;
      &lt;import namespace="com_documentation_business_standardfeatures_application_webservices_uc51_webserviceClient_entities_Team51" schemaLocation="classpath:resources/schemas/xsd/com_documentation_business_standardfeatures_application_webservices_uc51_webserviceClient_entities_Team51.xsd"/&gt;
      &lt;element name="team51" type="team51:team51"/&gt;
      &lt;element name="anyType" type="xsd:anyType"/&gt;
      &lt;element name="string" type="xsd:string"/&gt;
      &lt;element name="integer" type="xsd:integer"/&gt;
      &lt;element name="float" type="xsd:float"/&gt;
      &lt;element name="long" type="xsd:long"/&gt;
      &lt;element name="dateTime" type="xsd:dateTime"/&gt;
      &lt;element name="boolean" type="xsd:boolean"/&gt;        
      &lt;element name="collection" type="types:collectionType"/&gt;        
      &lt;complexType name="collectionType"&gt;
          &lt;sequence&gt;
              &lt;element type="xsd:anyType" minOccurs="0" maxOccurs="unbounded" name="element"/&gt;
          &lt;/sequence&gt;
      &lt;/complexType&gt;  
  &lt;/schema&gt;
  &lt;/wsdl:types&gt;
  
    &lt;wsdl:message name="team51FindByID"&gt;
      &lt;wsdl:part name="id" element="types:long"/&gt;
    &lt;/wsdl:message&gt;
    &lt;wsdl:message name="team51FindByIDResponse"&gt;
         &lt;wsdl:part name="return" element="types:team51"/&gt;
    &lt;/wsdl:message&gt;
  
    &lt;wsdl:portType name="WebServiceSearch"&gt;  
     &lt;wsdl:operation name="team51FindByID"&gt;
       &lt;wsdl:input name="team51FindByID" message="team51FindByID"&gt;
     &lt;/wsdl:input&gt;
      &lt;wsdl:output name="team51FindByIDResponse" message="team51FindByIDResponse"&gt;
     &lt;/wsdl:output&gt;
     &lt;/wsdl:operation&gt;    
   &lt;/wsdl:portType&gt;  
  [...]
  </code></pre>
  
  <p>When running tomcat server, the following message always appears.</p>
  
  <pre><code> ATTENTION: Could not unwrap Operation {documentation_service_standardfeatures_application_webservices_uc51_webserviceServer_WebServiceSearch}team51FindByID to match method "public abstract Type1 team51FindByID(java.lang.Long)"
  
   org.apache.cxf.endpoint.ServerImpl initDestination
  </code></pre>
  
  <p>What's wrong with my configuration ?</p>