Hi , 
 
Thanks for updating the tutorial 
I am able to access the page  http://localhost:8080/HelloWorld?wsdl and 
retrieve the WSDL of the webservice . 
 
But how do I access the webservice ? I tried giving 
http://localhost:8080/HelloWorld   but it gave me the below  exception 
 
<Exception>
org.apache.axis2.AxisFault: The endpoint reference (EPR) for the Operation not 
found is /HelloWorld and the WSA Action = null
 at 
org.apache.axis2.engine.DispatchPhase.checkPostConditions(DispatchPhase.java:86).
 
 at org.apache.axis2.engine.Phase.invoke(Phase.java:308)
 at org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:212)
 at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:132)
 at 
org.apache.axis2.transport.http.util.RESTUtil.invokeAxisEngine(RESTUtil.java:125)
 at 
org.apache.axis2.transport.http.util.RESTUtil.processURLRequest(RESTUtil.java:119)
 at 
org.apache.axis2.transport.http.AxisServlet$RestRequestProcessor.processURLRequest(AxisServlet.java:799)
 at org.apache.axis2.transport.http.AxisServlet.doGet(AxisServlet.java:242)
 at 
org.apache.tuscany.sca.binding.ws.axis2.Axis2ServiceServlet.doGet(Axis2ServiceServlet.java:257)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
 at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487)
 at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:362)
 at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
 at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:726)
 at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:139)
 at org.mortbay.jetty.Server.handle(Server.java:324)
 at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:505)
 at 
org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:828)
 at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:514)
 at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211)
 at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:380)
 at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:395)
 at org.apache.tuscany.sca.core.work.Jsr237Work.run(Jsr237Work.java:61)
 at 
org.apache.tuscany.sca.core.work.ThreadPoolWorkManager$DecoratingWork.run(ThreadPoolWorkManager.java:214)
 at 
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
 at java.lang.Thread.run(Thread.java:619)
</Exception>
 
 
Can anyone tell me how to access the web-service which is  created  ? 
 
Thanks and Regards,
Mithun

________________________________

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Sat 6/7/2008 3:52 PM
To: tuscany-user@ws.apache.org; [EMAIL PROTECTED]
Subject: Re: Error seen when deploying a web service using tuscany



I have updated the tutorial to fix this issue and to work with the 1.2 plugin.


On 6/7/08, ant elder <[EMAIL PROTECTED]> wrote:
> On Fri, Jun 6, 2008 at 6:54 PM, Mohan, Mithun <[EMAIL PROTECTED]> wrote:
>
>>
>> Hi,
>>
>> I am using the tutorial  to create a web service using  tuscany. Please
>> find below the tutorial I am referring
>>
>> http://incubator.apache.org/tuscany/build-your-first-web-services-with-t
>> uscany.html<http://incubator.apache.org/tuscany/build-your-first-web-services-with-tuscany.html>
>>
>> When I follow the same steps . I get the following error.
>>
>> SEVERE: Could not start composite
>> org.osoa.sca.ServiceRuntimeException:
>> javax.xml.stream.XMLStreamException: Non-default namespace can not map
>> to empty URI (as per Namespace 1.0 # 2) in XML 1.0 documents
>>        at
>> org.apache.tuscany.sca.workspace.admin.impl.DeployedCompositeCollectionI
>> mpl.writeCompositeCollection(DeployedCompositeCollectionImpl.java:395)
>>
>> Please find the complete logs for more information. Please note that I
>> am only using Tuscany with plugins for this .I am not using any server
>> like Axis with Tomcat.
>>
>> It will be great if you someone can spare time and guide me in this .
>>
>> Thanks and Regards,
>> Mithun
>>
>>
>
> What was the URL you used to install the Tuscany Eclipse plugin? That
> tutorial page you point to uses an old URL, the current one for the latest
> release of the Tuscany 1.2 code is
> http://archive.apache.org/dist/incubator/tuscany/java/sca/1.2-incubating/updatesite/(you
> can find this from the Tuscany downloads page at
> http://incubator.apache.org/tuscany/sca-java-releases.html.
>
>    ...ant
>


--
Luciano Resende
Apache Tuscany Committer
http://people.apache.org/~lresende
http://lresende.blogspot.com/


Reply via email to