Jean-Marc Taillant wrote:
Hi,
I downloaded the last versioon apache-tuscany-sca-0.90. I played with
several composite sample and all looks ok. But what I need to do now
is to use tuscany into tomcat ( deployed in a war file). This
application will expose the ws binding. What I can't see is how to
invoke the Web Service, I mean what is the service endpoint to test it?
I tryed the following URL:
http://localhost:8080/myapp/services/MyService
http://localhost:8080/myapp/services/MyService?wsdl
But with no success.
I also having the following exception:
GRAVE: "Servlet.service()" pour la servlet TuscanyServlet a généré une
exception
java.lang.IllegalStateException: No servlet registered for path: null
at
org.apache.tuscany.sca.webapp.TuscanyServlet.service(TuscanyServlet.java:57)
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:210)
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.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:870)
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:685)
at java.lang.Thread.run(Thread.java:595)
When I try ot invoke the above URLs.
Your help will be appreciate.
Thanks in advance,
Jean-Marc
Hi
The URL should be http://localhost:8080/<web app name>/<path used to
register the Tuscany servlet in web.xml>/<uri specified in your
binding.ws element>.
If this does not work, could you please provide us with your .composite,
web.xml and .wsdl files? and we'll take a look. Just paste the files in
the body of the email (attachments are filtered out) or attach them to a
JIRA issue (http://issues.apache.org/jira/browse/TUSCANY).
Thanks.
--
Jean-Sebastien
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]