cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Knut Ivar Skogland (JIRA)" <j...@apache.org>
Subject [jira] Created: (CXF-2395) The wsdl provided does not match the service.
Date Tue, 18 Aug 2009 08:17:14 GMT
The wsdl provided does not match the service.
---------------------------------------------

                 Key: CXF-2395
                 URL: https://issues.apache.org/jira/browse/CXF-2395
             Project: CXF
          Issue Type: Bug
    Affects Versions: 2.2.3
         Environment: Java 1.5.0_09, Tomcat 5.5.26
            Reporter: Knut Ivar Skogland
            Priority: Blocker


I've made a small testproject with CXF using XMLBeans and contract first (XSD). 

The project consist of two services; SumFacade and AppendFacade, but when I ask for WSDL,
only the wsdl for SumFacade appears (regardless of url).

SymTestFacade: 
http://localhost:8080/cxftest/published/ws/test/SumTestFacade?wsdl
AppendTestFacade:
http://localhost:8080/cxftest/published/ws/test/AppendTestFacade?wsdl

I even tried making the SoapRequest myself ... ;

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:app="http://cxftest.com/webservicetest/ws/test/append"
xmlns:typ="http://cxftest.com/webservicetest/ws/test/append/types">
   <soapenv:Header>
      <app:userCredentials>
         <app:userName>myuser</app:userName>
         <app:password>mypass</app:password>
      </app:userCredentials>
   </soapenv:Header>
   <soapenv:Body>
      <app:testAppendRequest>
         <typ:number1>string1</typ:number1>
         <typ:number2>string2</typ:number2>
      </app:testAppendRequest>
   </soapenv:Body>
</soapenv:Envelope>

but all I got was this stacktrace...;

 WARNING: Interceptor has thrown exception, unwinding now
 org.apache.cxf.interceptor.Fault: Message part {http://cxftest.com/webservicetest/ws/test/append}testAppendRequest
was not recognized.  (Does it exist in service WSDL?)
   at org.apache.cxf.interceptor.DocLiteralInInterceptor.handleMessage(DocLiteralInInterceptor.java:184)
   at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:236)
   at org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:104)
   at org.apache.cxf.transport.servlet.ServletDestination.invoke(ServletDestination.java:99)
   at org.apache.cxf.transport.servlet.ServletController.invokeDestination(ServletController.java:452)
   at org.apache.cxf.transport.servlet.ServletController.invoke(ServletController.java:196)
   at org.apache.cxf.transport.servlet.AbstractCXFServlet.invoke(AbstractCXFServlet.java:220)
   at org.apache.cxf.transport.servlet.AbstractCXFServlet.doPost(AbstractCXFServlet.java:153)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:767)
   at org.apache.cxf.transport.servlet.AbstractCXFServlet.service(AbstractCXFServlet.java:211)
   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
   at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
   at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174)
   at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
   at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
   at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:548)
   at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
   at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174)
   at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:874)
   at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
   at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
   at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
   at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
   at java.lang.Thread.run(Thread.java:595)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message