You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cxf.apache.org by cmoulliard <cm...@gmail.com> on 2008/12/10 16:04:32 UTC

org.apache.cxf.interceptor.Fault: Message part {http://reportincident.example.camel.apache.org}inputReportIncident was not recognized. (Does it exist in service WSDL?)

Hi,

How should I understand the following error reported by Cxf (running with
Camel) ? How to solve it ?

2008-12-10 15:10:42.046] server-tomcat-thread-17                                                       
System.err E org.apache.cxf.interceptor.Fault: Message part
{http://reportincident.example.camel.apache.org}inputReportIncident was not
recognized.  (Does it exist in service WSDL?)
[2008-12-10 15:10:42.046] server-tomcat-thread-17                                                       
System.err E 	at
org.apache.cxf.interceptor.DocLiteralInInterceptor.handleMessage(DocLiteralInInterceptor.java:179)
[2008-12-10 15:10:42.046] server-tomcat-thread-17                                                       
System.err E 	at
org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:220)
[2008-12-10 15:10:42.046] server-tomcat-thread-17                                                       
System.err E 	at
org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:78)
[2008-12-10 15:10:42.046] server-tomcat-thread-17                                                       
System.err E 	at
org.apache.cxf.transport.servlet.ServletDestination.invoke(ServletDestination.java:92)
[2008-12-10 15:10:42.046] server-tomcat-thread-17                                                       
System.err E 	at
org.apache.cxf.transport.servlet.ServletController.invokeDestination(ServletController.java:285)
[2008-12-10 15:10:42.046] server-tomcat-thread-17                                                       
System.err E 	at
org.apache.cxf.transport.servlet.ServletController.invoke(ServletController.java:168)
[2008-12-10 15:10:42.046] server-tomcat-thread-17                                                       
System.err E 	at
org.apache.cxf.transport.servlet.AbstractCXFServlet.invoke(AbstractCXFServlet.java:175)
[2008-12-10 15:10:42.046] server-tomcat-thread-17                                                       
System.err E 	at
org.apache.cxf.transport.servlet.AbstractCXFServlet.doPost(AbstractCXFServlet.java:153)
[2008-12-10 15:10:42.046] server-tomcat-thread-17                                                       
System.err E 	at
javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
[2008-12-10 15:10:42.046] server-tomcat-thread-17                                                       
System.err E 	at
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
[2008-12-10 15:10:42.046] server-tomcat-thread-17                                                       
System.err E 	at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
[2008-12-10 15:10:42.046] server-tomcat-thread-17                                                       
System.err E 	at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
[2008-12-10 15:10:42.046] server-tomcat-thread-17                                                       
System.err E 	at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
[2008-12-10 15:10:42.046] server-tomcat-thread-17                                                       
System.err E 	at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
[2008-12-10 15:10:42.046] server-tomcat-thread-17                                                       
System.err E 	at
org.apache.catalina.valves.CometConnectionManagerValve.invoke(CometConnectionManagerValve.java:248)
[2008-12-10 15:10:42.046] server-tomcat-thread-17                                                       
System.err E 	at
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:568)
[2008-12-10 15:10:42.046] server-tomcat-thread-17                                                       
System.err E 	at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
[2008-12-10 15:10:42.046] server-tomcat-thread-17                                                       
System.err E 	at
com.springsource.server.servlet.tomcat.internal.ApplicationNameTrackingValve.invoke(ApplicationNameTrackingValve.java:74)
[2008-12-10 15:10:42.046] server-tomcat-thread-17                                                       
System.err E 	at
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:568)
[2008-12-10 15:10:42.046] server-tomcat-thread-17                                                       
System.err E 	at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
[2008-12-10 15:10:42.046] server-tomcat-thread-17                                                       
System.err E 	at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
[2008-12-10 15:10:42.046] server-tomcat-thread-17                                                       
System.err E 	at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
[2008-12-10 15:10:42.046] server-tomcat-thread-17                                                       
System.err E 	at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:845)
[2008-12-10 15:10:42.046] server-tomcat-thread-17                                                       
System.err E 	at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
[2008-12-10 15:10:42.046] server-tomcat-thread-17                                                       
System.err E 	at
org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:354)
[2008-12-10 15:10:42.046] server-tomcat-thread-17                                                       
System.err E 	at
com.springsource.server.concurrent.core.ExecutorServiceDelegate$StatisticsGatheringRunnable.run(ExecutorServiceDelegate.java:137)
[2008-12-10 15:10:42.046] server-tomcat-thread-17                                                       
System.err E 	at
com.springsource.server.concurrent.core.ServerThreadPoolExecutor$1.run(ServerThreadPoolExecutor.java:145)
[2008-12-10 15:10:42.046] server-tomcat-thread-17                                                       
System.err E 	at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
[2008-12-10 15:10:42.046] server-tomcat-thread-17                                                       
System.err E 	at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
[2008-12-10 15:10:42.046] server-tomcat-thread-17                                                       
System.err E 	at java.lang.Thread.run(Thread.java:619)


  <?xml version="1.0" encoding="UTF-8" ?> 
  <beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:osgi="http://www.springframework.org/schema/osgi"
xmlns:cxf="http://activemq.apache.org/camel/schema/cxfEndpoint"
xmlns:jaxws="http://cxf.apache.org/jaxws"
xsi:schemaLocation="http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans-2.5.xsd
http://activemq.apache.org/camel/schema/spring
http://activemq.apache.org/camel/schema/spring/camel-spring.xsd
http://cxf.apache.org/jaxws http://cxf.apache.org/schemas/jaxws.xsd
http://www.springframework.org/schema/osgi
http://www.springframework.org/schema/osgi/spring-osgi-1.1.xsd
http://activemq.apache.org/camel/schema/cxfEndpoint
http://activemq.apache.org/camel/schema/cxf/cxfEndpoint.xsd
http://cxf.apache.org/jaxws http://cxf.apache.org/schemas/jaxws.xsd">
  <import resource="classpath:META-INF/cxf/cxf.xml" /> 
  <import resource="classpath:META-INF/cxf/cxf-extension-soap.xml" /> 
  <import resource="classpath:META-INF/cxf/cxf-servlet.xml" /> 
  <!--  implementation of the webservice  --> 
  <osgi:reference id="reportIncidentEndpoint"
interface="org.apache.camel.example.reportincident.ReportIncidentService" /> 
  <!--  export the webservice using jaxws  --> 
  <jaxws:endpoint id="reportIncident" implementor="#reportIncidentEndpoint"
address="/incident" wsdlLocation="/wsdl/report_incident.wsdl"
endpointName="s:ReportIncidentPort" serviceName="s:ReportIncidentService"
xmlns:s="http://reportincident.example.camel.apache.org" /> 
                    
 <camelContext id="camel"
xmlns="http://activemq.apache.org/camel/schema/spring">
  <package>org.apache.camel.example.reportincident</package> 
  <jmxAgent id="agent" createConnector="true" /> 
  </camelContext>
  </beans>

KR,

Charles Moulliard


-----
Charles Moulliard
SOA Architect

My Blog :  http://cmoulliard.blogspot.com/ http://cmoulliard.blogspot.com/  
-- 
View this message in context: http://www.nabble.com/org.apache.cxf.interceptor.Fault%3A-Message-part-%7Bhttp%3A--reportincident.example.camel.apache.org%7DinputReportIncident-was-not-recognized.--%28Does-it-exist-in-service-WSDL-%29-tp20937044p20937044.html
Sent from the cxf-user mailing list archive at Nabble.com.


Re: org.apache.cxf.interceptor.Fault: Message part {http://reportincident.example.camel.apache.org}inputReportIncident was not recognized. (Does it exist in service WSDL?)

Posted by Daniel Kulp <dk...@apache.org>.
On Wednesday 10 December 2008 10:04:32 am cmoulliard wrote:
> Hi,
>
> How should I understand the following error reported by Cxf (running with
> Camel) ? How to solve it ?

Basically, on the wire, it found an element named:
{http://reportincident.example.camel.apache.org}inputReportIncident

However, it couldn't find an operation in the wsdl that matches that input.    
Thus, the soap message doesn't match anything described in the wsdl contract 
and is invalid.   Check the wsdl to see what it is expecting.

Dan


>
> 2008-12-10 15:10:42.046] server-tomcat-thread-17
> System.err E org.apache.cxf.interceptor.Fault: Message part
> {http://reportincident.example.camel.apache.org}inputReportIncident was not
> recognized.  (Does it exist in service WSDL?)
> [2008-12-10 15:10:42.046] server-tomcat-thread-17
> System.err E 	at
> org.apache.cxf.interceptor.DocLiteralInInterceptor.handleMessage(DocLiteral
>InInterceptor.java:179) [2008-12-10 15:10:42.046] server-tomcat-thread-17
> System.err E 	at
> org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChai
>n.java:220) [2008-12-10 15:10:42.046] server-tomcat-thread-17
> System.err E 	at
> org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationO
>bserver.java:78) [2008-12-10 15:10:42.046] server-tomcat-thread-17
> System.err E 	at
> org.apache.cxf.transport.servlet.ServletDestination.invoke(ServletDestinati
>on.java:92) [2008-12-10 15:10:42.046] server-tomcat-thread-17
> System.err E 	at
> org.apache.cxf.transport.servlet.ServletController.invokeDestination(Servle
>tController.java:285) [2008-12-10 15:10:42.046] server-tomcat-thread-17
> System.err E 	at
> org.apache.cxf.transport.servlet.ServletController.invoke(ServletController
>.java:168) [2008-12-10 15:10:42.046] server-tomcat-thread-17
> System.err E 	at
> org.apache.cxf.transport.servlet.AbstractCXFServlet.invoke(AbstractCXFServl
>et.java:175) [2008-12-10 15:10:42.046] server-tomcat-thread-17
> System.err E 	at
> org.apache.cxf.transport.servlet.AbstractCXFServlet.doPost(AbstractCXFServl
>et.java:153) [2008-12-10 15:10:42.046] server-tomcat-thread-17
> System.err E 	at
> javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
> [2008-12-10 15:10:42.046] server-tomcat-thread-17
> System.err E 	at
> javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
> [2008-12-10 15:10:42.046] server-tomcat-thread-17
> System.err E 	at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applicatio
>nFilterChain.java:290) [2008-12-10 15:10:42.046] server-tomcat-thread-17
> System.err E 	at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterC
>hain.java:206) [2008-12-10 15:10:42.046] server-tomcat-thread-17
> System.err E 	at
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.j
>ava:233) [2008-12-10 15:10:42.046] server-tomcat-thread-17
> System.err E 	at
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.j
>ava:191) [2008-12-10 15:10:42.046] server-tomcat-thread-17
> System.err E 	at
> org.apache.catalina.valves.CometConnectionManagerValve.invoke(CometConnecti
>onManagerValve.java:248) [2008-12-10 15:10:42.046] server-tomcat-thread-17
> System.err E 	at
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:568)
> [2008-12-10 15:10:42.046] server-tomcat-thread-17
> System.err E 	at
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:12
>8) [2008-12-10 15:10:42.046] server-tomcat-thread-17
> System.err E 	at
> com.springsource.server.servlet.tomcat.internal.ApplicationNameTrackingValv
>e.invoke(ApplicationNameTrackingValve.java:74) [2008-12-10 15:10:42.046]
> server-tomcat-thread-17
> System.err E 	at
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:568)
> [2008-12-10 15:10:42.046] server-tomcat-thread-17
> System.err E 	at
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:10
>2) [2008-12-10 15:10:42.046] server-tomcat-thread-17
> System.err E 	at
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.jav
>a:109) [2008-12-10 15:10:42.046] server-tomcat-thread-17
> System.err E 	at
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
> [2008-12-10 15:10:42.046] server-tomcat-thread-17
> System.err E 	at
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:845)
> [2008-12-10 15:10:42.046] server-tomcat-thread-17
> System.err E 	at
> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Htt
>p11Protocol.java:583) [2008-12-10 15:10:42.046] server-tomcat-thread-17
> System.err E 	at
> org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java
>:354) [2008-12-10 15:10:42.046] server-tomcat-thread-17
> System.err E 	at
> com.springsource.server.concurrent.core.ExecutorServiceDelegate$StatisticsG
>atheringRunnable.run(ExecutorServiceDelegate.java:137) [2008-12-10
> 15:10:42.046] server-tomcat-thread-17
> System.err E 	at
> com.springsource.server.concurrent.core.ServerThreadPoolExecutor$1.run(Serv
>erThreadPoolExecutor.java:145) [2008-12-10 15:10:42.046]
> server-tomcat-thread-17
> System.err E 	at
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.j
>ava:885) [2008-12-10 15:10:42.046] server-tomcat-thread-17
> System.err E 	at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:
>907) [2008-12-10 15:10:42.046] server-tomcat-thread-17
> System.err E 	at java.lang.Thread.run(Thread.java:619)
>
>
>   <?xml version="1.0" encoding="UTF-8" ?>
>   <beans xmlns="http://www.springframework.org/schema/beans"
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> xmlns:osgi="http://www.springframework.org/schema/osgi"
> xmlns:cxf="http://activemq.apache.org/camel/schema/cxfEndpoint"
> xmlns:jaxws="http://cxf.apache.org/jaxws"
> xsi:schemaLocation="http://www.springframework.org/schema/beans
> http://www.springframework.org/schema/beans/spring-beans-2.5.xsd
> http://activemq.apache.org/camel/schema/spring
> http://activemq.apache.org/camel/schema/spring/camel-spring.xsd
> http://cxf.apache.org/jaxws http://cxf.apache.org/schemas/jaxws.xsd
> http://www.springframework.org/schema/osgi
> http://www.springframework.org/schema/osgi/spring-osgi-1.1.xsd
> http://activemq.apache.org/camel/schema/cxfEndpoint
> http://activemq.apache.org/camel/schema/cxf/cxfEndpoint.xsd
> http://cxf.apache.org/jaxws http://cxf.apache.org/schemas/jaxws.xsd">
>   <import resource="classpath:META-INF/cxf/cxf.xml" />
>   <import resource="classpath:META-INF/cxf/cxf-extension-soap.xml" />
>   <import resource="classpath:META-INF/cxf/cxf-servlet.xml" />
>   <!--  implementation of the webservice  -->
>   <osgi:reference id="reportIncidentEndpoint"
> interface="org.apache.camel.example.reportincident.ReportIncidentService"
> /> <!--  export the webservice using jaxws  -->
>   <jaxws:endpoint id="reportIncident" implementor="#reportIncidentEndpoint"
> address="/incident" wsdlLocation="/wsdl/report_incident.wsdl"
> endpointName="s:ReportIncidentPort" serviceName="s:ReportIncidentService"
> xmlns:s="http://reportincident.example.camel.apache.org" />
>
>  <camelContext id="camel"
> xmlns="http://activemq.apache.org/camel/schema/spring">
>   <package>org.apache.camel.example.reportincident</package>
>   <jmxAgent id="agent" createConnector="true" />
>   </camelContext>
>   </beans>
>
> KR,
>
> Charles Moulliard
>
>
> -----
> Charles Moulliard
> SOA Architect
>
> My Blog :  http://cmoulliard.blogspot.com/ http://cmoulliard.blogspot.com/



-- 
Daniel Kulp
dkulp@apache.org
http://dankulp.com/blog