0 Replies Latest reply on May 5, 2009 4:33 AM by wang zhao

    jbossws-native-3.1.1.GA  and jbossws-CXF incompatible error

    wang zhao Newbie

      @WebMethod
      @WebResult(name = "Candidate", targetNamespace = "http://model.ontraq.nl")
      public CandidateDTO saveMyCandidate(
      @WebParam(partName = "candidate", name = "Candidate", targetNamespace="http://model.ontraq.nl")
      CandidateDTO candidate);

      on jbossws-CXF the service runs ok, but on jbossws-native-3.1.1.GA it runs error

      error message:
      16:29:18,700 ERROR [SOAPFaultHelperJAXWS] SOAP request exception
      org.jboss.ws.core.CommonSOAPFaultException: Endpoint {http://model.ontraq.nl}Can
      didateModelServiceImplPort does not contain operation meta data for: saveMyCandi
      date
      at org.jboss.ws.core.server.ServiceEndpointInvoker.getDispatchDestinatio
      n(ServiceEndpointInvoker.java:476)
      at org.jboss.ws.core.server.ServiceEndpointInvoker.invoke(ServiceEndpoin
      tInvoker.java:178)
      at org.jboss.wsf.stack.jbws.RequestHandlerImpl.processRequest(RequestHan
      dlerImpl.java:474)
      at org.jboss.wsf.stack.jbws.RequestHandlerImpl.handleRequest(RequestHand
      lerImpl.java:295)
      at org.jboss.wsf.stack.jbws.RequestHandlerImpl.doPost(RequestHandlerImpl
      .java:205)
      at org.jboss.wsf.stack.jbws.RequestHandlerImpl.handleHttpRequest(Request
      HandlerImpl.java:131)
      at org.jboss.wsf.common.servlet.AbstractEndpointServlet.service(Abstract
      EndpointServlet.java:85)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
      icationFilterChain.java:290)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
      ilterChain.java:206)
      at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFi
      lter.java:96)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
      icationFilterChain.java:235)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
      ilterChain.java:206)
      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
      alve.java:230)
      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
      alve.java:175)
      at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(Securit
      yAssociationValve.java:182)
      at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValv
      e.java:84)
      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
      ava:127)
      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
      ava:102)
      at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedC
      onnectionValve.java:157)
      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
      ve.java:109)
      at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.jav
      a:262)
      at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java
      :844)
      at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.proce
      ss(Http11Protocol.java:583)
      at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:44
      6)
      at java.lang.Thread.run(Thread.java:595)
      16:29:18,716 ERROR [SOAPFaultHelperJAXRPC] SOAP request exception
      javax.xml.rpc.soap.SOAPFaultException: Endpoint {http://model.ontraq.nl}Candidat
      eModelServiceImplPort does not contain operation meta data for: saveMyCandidate
      at org.jboss.ws.core.jaxrpc.SOAPFaultHelperJAXRPC.exceptionToFaultMessag
      e(SOAPFaultHelperJAXRPC.java:189)
      at org.jboss.ws.core.jaxws.SOAPFaultHelperJAXWS.exceptionToFaultMessage(
      SOAPFaultHelperJAXWS.java:183)
      at org.jboss.ws.core.jaxws.binding.SOAP11BindingJAXWS.createFaultMessage
      FromException(SOAP11BindingJAXWS.java:102)
      at org.jboss.ws.core.CommonSOAPBinding.bindFaultMessage(CommonSOAPBindin
      g.java:671)
      at org.jboss.ws.core.server.ServiceEndpointInvoker.invoke(ServiceEndpoin
      tInvoker.java:285)
      at org.jboss.wsf.stack.jbws.RequestHandlerImpl.processRequest(RequestHan
      dlerImpl.java:474)
      at org.jboss.wsf.stack.jbws.RequestHandlerImpl.handleRequest(RequestHand
      lerImpl.java:295)
      at org.jboss.wsf.stack.jbws.RequestHandlerImpl.doPost(RequestHandlerImpl
      .java:205)
      at org.jboss.wsf.stack.jbws.RequestHandlerImpl.handleHttpRequest(Request
      HandlerImpl.java:131)
      at org.jboss.wsf.common.servlet.AbstractEndpointServlet.service(Abstract
      EndpointServlet.java:85)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
      icationFilterChain.java:290)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
      ilterChain.java:206)
      at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFi
      lter.java:96)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
      icationFilterChain.java:235)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
      ilterChain.java:206)
      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
      alve.java:230)
      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
      alve.java:175)
      at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(Securit
      yAssociationValve.java:182)
      at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValv
      e.java:84)
      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
      ava:127)
      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
      ava:102)
      at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedC
      onnectionValve.java:157)
      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
      ve.java:109)
      at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.jav
      a:262)
      at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java
      :844)
      at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.proce
      ss(Http11Protocol.java:583)
      at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:44
      6)
      at java.lang.Thread.run(Thread.java:595)