My guess would be that the "xs:" name space is not
defined in your soap message but that is a wild guess.
 Have you tried running the service directly on the
tomcat web server without going throug servicemix just
to make sure that your web service can  handle the
message ?  Can you run servicemix in debug mode (see
log4j.xml) that way you will have dump of the various
in and out messages provided by the ESB endpoints.

--- markpittsnh <[EMAIL PROTECTED]> wrote:

> 
> Here is the latest payload I am sending to my
> tomcat-hosted web service....
> 
> <?xml version="1.0"?>
> <env:Envelope
>
xmlns:env="http://schemas.xmlsoap.org/soap/envelope/";
>              
> xmlns:tns="http://servicemix.org/test/";>
>     <env:Body>
> <simpleMethod>
>   <tns:parameters>
>   <arg0 type="xs:int">1</arg0>
>   <arg1 type="xs:int">2</arg1>
>   </tns:parameters>
> </simpleMethod>
>     </env:Body>
> </env:Envelope>
> 
> Here is the stack I am seeing in tomcat. Any
> suggestions would be
> appreciated.....
> 
> INFO: Server startup in 6125 ms
> May 26, 2006 9:38:51 AM
>
com.sun.xml.ws.protocol.soap.server.SOAPMessageDispatcher
> toMessageInfo
> SEVERE: Error in decoding SOAP Message
> Error in decoding SOAP Message
>         at
>
com.sun.xml.ws.encoding.soap.server.SOAPXMLDecoder.toInternalMessage(SOAPXMLDecoder.java:86)
>         at
>
com.sun.xml.ws.protocol.soap.server.SOAPMessageDispatcher.toMessageInfo(SOAPMessageDispatcher.java:168)
>         at
>
com.sun.xml.ws.protocol.soap.server.SOAPMessageDispatcher$SoapInvoker.invoke(SOAPMessageDispatcher.java:533)
>         at
>
com.sun.xml.ws.protocol.soap.server.SOAPMessageDispatcher.receive(SOAPMessageDispatcher.java:140)
>         at
> com.sun.xml.ws.server.Tie.handle(Tie.java:88)
>         at
>
com.sun.xml.ws.transport.http.servlet.WSServletDelegate.handle(WSServletDelegate.java:279)
>         at
>
com.sun.xml.ws.transport.http.servlet.WSServletDelegate.doPost(WSServletDelegate.java:232)
>         at
>
com.sun.xml.ws.transport.http.servlet.WSServlet.doPost(WSServlet.java:77)
>         at
>
javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
>         at
>
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>         at
>
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
>         at
>
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>         at
>
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
>         at
>
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
>         at
>
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
>         at
>
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
>         at
>
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
>         at
>
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
>         at
>
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
>         at
>
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:667)
>         at
>
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
>         at
>
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
>         at
>
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
>         at java.lang.Thread.run(Thread.java:595)
> Caused by: javax.xml.ws.soap.SOAPFaultException:
> Cannot find the dispatch
> method
>         at
>
com.sun.xml.ws.encoding.soap.SOAPDecoder.raiseFault(SOAPDecoder.java:662)
>         at
>
com.sun.xml.ws.encoding.soap.server.SOAPXMLDecoder.decodeDispatchMethod(SOAPXMLDecoder.java:151)
>         at
>
com.sun.xml.ws.encoding.soap.SOAPDecoder.decodeBodyContent(SOAPDecoder.java:335)
>         at
>
com.sun.xml.ws.encoding.soap.SOAPDecoder.decodeBody(SOAPDecoder.java:325)
>         at
>
com.sun.xml.ws.encoding.soap.SOAPDecoder.decodeEnvelope(SOAPDecoder.java:248)
>         at
>
com.sun.xml.ws.encoding.soap.server.SOAPXMLDecoder.toInternalMessage(SOAPXMLDecoder.java:78)
>         ... 23 more
> 
> --
> View this message in context:
>
http://www.nabble.com/Need+help+to+invoke+external+web+service-t1683202.html#a4576356
> Sent from the ServiceMix - User forum at Nabble.com.
> 
> 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

Reply via email to