Hi,

Now the sample is failing with the following error. It seems the endpoint address is not matching.

Caused by: org.apache.axis2.AxisFault: Transport error: 404 Error: /HelloWorldSe
rviceComponent
at org.apache.axis2.transport.http.CommonsHTTPTransportSender.writeMessa
geWithCommons(CommonsHTTPTransportSender.java:314)
at org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke(Com
monsHTTPTransportSender.java:201)
       ... 46 more
Caused by: org.apache.axis2.AxisFault: Transport error: 404 Error: /HelloWorldSe
rviceComponent
at org.apache.axis2.transport.http.HTTPSender.sendViaPost(HTTPSender.jav
a:179)
at org.apache.axis2.transport.http.HTTPSender.send(HTTPSender.java:73) at org.apache.axis2.transport.http.CommonsHTTPTransportSender.writeMessa
geWithCommons(CommonsHTTPTransportSender.java:305)
       ... 47 more
Caused by: org.apache.axis2.AxisFault: Transport error: 404 Error: /HelloWorldSe
rviceComponent
at org.apache.axis2.transport.http.HTTPSender.handleResponse(HTTPSender.
java:320)
at org.apache.axis2.transport.http.HTTPSender.sendViaPost(HTTPSender.jav
a:177)
       ... 49 more

Thanks,
Raymond
----- Original Message ----- From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, June 05, 2007 3:13 PM
Subject: svn commit: r544658 - in /incubator/tuscany/java/sca/samples: helloworld-ws-reference/src/main/java/helloworld/ helloworld-ws-reference/src/main/resources/ helloworld-ws-service/src/main/resources/


Author: antelder
Date: Tue Jun  5 15:13:03 2007
New Revision: 544658

URL: http://svn.apache.org/viewvc?view=rev&rev=544658
Log:
Remove the accidental commit on the binding.console stuff

Modified:

incubator/tuscany/java/sca/samples/helloworld-ws-reference/src/main/java/helloworld/HelloWorldClient.java

incubator/tuscany/java/sca/samples/helloworld-ws-reference/src/main/resources/helloworldwsclient.composite

incubator/tuscany/java/sca/samples/helloworld-ws-service/src/main/resources/helloworldws.composite

Modified: incubator/tuscany/java/sca/samples/helloworld-ws-reference/src/main/java/helloworld/HelloWorldClient.java URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/samples/helloworld-ws-reference/src/main/java/helloworld/HelloWorldClient.java?view=diff&rev=544658&r1=544657&r2=544658
==============================================================================
--- incubator/tuscany/java/sca/samples/helloworld-ws-reference/src/main/java/helloworld/HelloWorldClient.java (original) +++ incubator/tuscany/java/sca/samples/helloworld-ws-reference/src/main/java/helloworld/HelloWorldClient.java Tue Jun 5 15:13:03 2007
@@ -30,10 +30,8 @@
SCADomain scaDomain = SCADomain.newInstance("helloworldwsclient.composite"); HelloWorldService helloWorldService = scaDomain.getService(HelloWorldService.class, "HelloWorldServiceComponent");

-//        String value = helloWorldService.getGreetings("World");
-//        System.out.println(value);
-
-        Thread.sleep(900000);
+        String value = helloWorldService.getGreetings("World");
+        System.out.println(value);

        scaDomain.close();
    }

Modified: incubator/tuscany/java/sca/samples/helloworld-ws-reference/src/main/resources/helloworldwsclient.composite URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/samples/helloworld-ws-reference/src/main/resources/helloworldwsclient.composite?view=diff&rev=544658&r1=544657&r2=544658
==============================================================================
--- incubator/tuscany/java/sca/samples/helloworld-ws-reference/src/main/resources/helloworldwsclient.composite (original) +++ incubator/tuscany/java/sca/samples/helloworld-ws-reference/src/main/resources/helloworldwsclient.composite Tue Jun 5 15:13:03 2007
@@ -22,18 +22,13 @@
 xmlns:hw="http://helloworld";
 name="helloworldwsclient">

- <service name="HelloWorldService" promote="HelloWorldServiceComponent">
-        <interface.java interface="helloworld.HelloWorldService" />
-        <binding.console/>
-    </service>
-
    <component name="HelloWorldServiceComponent">
      <implementation.java class="helloworld.HelloWorldServiceComponent"/>
    </component>

<reference name="HelloWorldService" promote="HelloWorldServiceComponent/helloWorldService">
        <interface.java interface="helloworld.HelloWorldService" />
-        <binding.console/>
+ <binding.ws wsdlElement="http://helloworld#wsdl.port(HelloWorldService/HelloWorldSoapPort)"/>
    </reference>

</composite>

Modified: incubator/tuscany/java/sca/samples/helloworld-ws-service/src/main/resources/helloworldws.composite URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/samples/helloworld-ws-service/src/main/resources/helloworldws.composite?view=diff&rev=544658&r1=544657&r2=544658
==============================================================================
--- incubator/tuscany/java/sca/samples/helloworld-ws-service/src/main/resources/helloworldws.composite (original) +++ incubator/tuscany/java/sca/samples/helloworld-ws-service/src/main/resources/helloworldws.composite Tue Jun 5 15:13:03 2007
@@ -22,12 +22,11 @@
 xmlns:hw="http://helloworld";
    name="helloworldws">

- <service name="HelloWorldService" promote="HelloWorldServiceComponent">
+    <component name="HelloWorldServiceComponent">
+     <service name="HelloWorldService">
<interface.wsdl interface="http://helloworld#wsdl.interface(HelloWorld)" />
         <binding.ws />
     </service>
-
-    <component name="HelloWorldServiceComponent">
        <implementation.java class="helloworld.HelloWorldImpl" />
    </component>




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to