6 Replies Latest reply on Jul 16, 2013 9:14 PM by imen

    Can't Run "bean-service quick start" under JBDS

    imen

      Hello,

       

      I've been trying to run the bean-service quickstart (first in the list of quickstarts) under the JBoss Developer Studio.

      But whenever i execute a request from the SoapUI i guet the following error on the SoapUIlog:

       

      Error getting response for [OrderServiceBinding.submitOrder:Request 1]; org.apache.http.conn.HttpHostConnectException: Connection to http://localhost:18001 refused

       

      I tried to change the port to 8080 (right click on "orderService" in the "switchyard.xml" Desing > Properties > Bindings > ServerPort) and of course i changed the endPoint On the soapUI.

      The error "disappeared" but i've got nothing!!!

      I've got on the soapUIlog:  Got response for [OrderServiceBinding.submitOrder:Request 1] in 41ms (979 bytes)

      On the httplog:

      Tue Jul 16 05:44:06 GMT+01:00 2013:DEBUG:>> "POST /test HTTP/1.1[\r][\n]"

      Tue Jul 16 05:44:06 GMT+01:00 2013:DEBUG:>> "Accept-Encoding: gzip,deflate[\r][\n]"

      Tue Jul 16 05:44:06 GMT+01:00 2013:DEBUG:>> "Content-Type: application/soap+xml;charset=UTF-8;action="urn:switchyard-quickstart:bean-service:1.0"[\r][\n]"

      Tue Jul 16 05:44:06 GMT+01:00 2013:DEBUG:>> "Content-Length: 414[\r][\n]"

      Tue Jul 16 05:44:06 GMT+01:00 2013:DEBUG:>> "Host: localhost:8080[\r][\n]"

      Tue Jul 16 05:44:06 GMT+01:00 2013:DEBUG:>> "Connection: Keep-Alive[\r][\n]"

      Tue Jul 16 05:44:06 GMT+01:00 2013:DEBUG:>> "User-Agent: Apache-HttpClient/4.1.1 (java 1.5)[\r][\n]"

      Tue Jul 16 05:44:06 GMT+01:00 2013:DEBUG:>> "[\r][\n]"

      Tue Jul 16 05:44:06 GMT+01:00 2013:DEBUG:>> "<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope" xmlns:urn="urn:switchyard-quickstart:bean-service:1.0">[\r][\n]"

      Tue Jul 16 05:44:06 GMT+01:00 2013:DEBUG:>> "   <soap:Header/>[\r][\n]"

      Tue Jul 16 05:44:06 GMT+01:00 2013:DEBUG:>> "   <soap:Body>[\r][\n]"

      Tue Jul 16 05:44:06 GMT+01:00 2013:DEBUG:>> "      <urn:submitOrder>[\r][\n]"

      Tue Jul 16 05:44:06 GMT+01:00 2013:DEBUG:>> "         <order>[\r][\n]"

      Tue Jul 16 05:44:06 GMT+01:00 2013:DEBUG:>> "<orderId>PO-19838-XYZ</orderId>  [\n]"

      Tue Jul 16 05:44:06 GMT+01:00 2013:DEBUG:>> "                   <accepted>true</accepted>  [\n]"

      Tue Jul 16 05:44:06 GMT+01:00 2013:DEBUG:>> "                   <status>Order Accepted</status> [\n]"

      Tue Jul 16 05:44:06 GMT+01:00 2013:DEBUG:>> "         </order>[\r][\n]"

      Tue Jul 16 05:44:06 GMT+01:00 2013:DEBUG:>> "      </urn:submitOrder>[\r][\n]"

      Tue Jul 16 05:44:06 GMT+01:00 2013:DEBUG:>> "   </soap:Body>[\r][\n]"

      Tue Jul 16 05:44:06 GMT+01:00 2013:DEBUG:>> "</soap:Envelope>"

      Tue Jul 16 05:44:06 GMT+01:00 2013:DEBUG:<< "HTTP/1.1 404 Introuvable[\r][\n]"

      Tue Jul 16 05:44:06 GMT+01:00 2013:DEBUG:<< "Server: Apache-Coyote/1.1[\r][\n]"

      Tue Jul 16 05:44:06 GMT+01:00 2013:DEBUG:<< "Content-Type: text/html;charset=utf-8[\r][\n]"

      Tue Jul 16 05:44:06 GMT+01:00 2013:DEBUG:<< "Content-Length: 979[\r][\n]"

      Tue Jul 16 05:44:06 GMT+01:00 2013:DEBUG:<< "Date: Tue, 16 Jul 2013 04:44:06 GMT[\r][\n]"

      Tue Jul 16 05:44:06 GMT+01:00 2013:DEBUG:<< "[\r][\n]"

      Tue Jul 16 05:44:06 GMT+01:00 2013:DEBUG:<< "<html><head><title>JBoss Web/7.0.13.Final - Rapport d'erreur</title><style><!--H1 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:22px;} H2 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:16px;} H3 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:14px;} BODY {font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;} B {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;} P {font-family:Tahoma,Arial,sans-serif;background:white;color:black;font-size:12px;}A {color : black;}A.name {color : black;}HR {color : #525D76;}--></style> </head><body><h1>Etat HTTP 404 - /test</h1><HR size="1" noshade="noshade"><p><b>type</b> Rapport d'[0xc3][0xa9]tat</p><p><b>message</b> <u>/test</u></p><p><b>description</b> <u>La ressource demand[0xc3][0xa9]e (/test) n'est pas disponible.</u></p><HR size="1" noshade="noshade"><h3>JBoss Web/7.0.13.Final</h3></body></html>"

       

      and the following on the headers (:

      DateTue, 16 Jul 2013 04:45:47 GMT
      Content-Length979
      #status#HTTP/1.1 404 Introuvable
      Content-Typetext/html;charset=utf-8
      ServerApache-Coyote/1.1

       

      PS: "Introuvable" means "not found"

       

      Can any one help me please?

       

      Thank you