Hi Bhaskar, which servicemix-http version do you use ?
Regards JB On 08/02/2010 07:40 PM, Bhaskar Orbitz wrote:
Hi, I am facing an issue with the servicemix http-consumer. It's working fine when I am doing a POST request using WizTools REST client. But it's not working with simple Java HttpURLConnection client or Ruby client. I am seeing the following lines in the servicemix log. 2010-08-02 12:38:13,693 | DEBUG | x.http.jetty.JettyContextManager$ThreadPoolWrapper 467 | Dispatching job: s...@33273308[d=true,io=0,w=true,b=false|false] 2010-08-02 12:38:20,625 | DEBUG | org.apache.servicemix.http.jetty.JCLLogger 70 | REQUEST /service/hotelpublish on org.mortbay.jetty.httpconnect...@32558d 2010-08-02 12:38:20,626 | DEBUG | org.apache.servicemix.http.jetty.JCLLogger 70 | RESPONSE /service/hotelpublish 302 2010-08-02 12:38:20,627 | DEBUG | x.http.jetty.JettyContextManager$ThreadPoolWrapper 467 | Dispatching job: s...@33273308[d=true,io=1,w=true,b=false|false] 2010-08-02 12:38:21,761 | DEBUG | org.apache.servicemix.http.jetty.JCLLogger 70 | EOF I am not sure what's going wrong with these 2 clients(Java, Ruby). Here is my xbean configuration. <beans xmlns:bean="http://servicemix.apache.org/bean/1.0" xmlns:http="http://servicemix.apache.org/http/1.0" xmlns:hp="http://services.hotel.orbitz.com/hotel-publish"> <http:consumer service="hp:hotelPublishHttpConsumerService" endpoint="hotelPublishHttpConsumerEndpoint" locationURI="http://0.0.0.0:8192/service/hotelpublish" targetService="hp:hotelPublishService" targetEndpoint="hotelPublishEndpoint" defaultMep="http://www.w3.org/2004/08/wsdl/in-out" marshaler="#publishXmlMarshaler" /> <bean id="publishXmlMarshaler" class="com.orbitz.hotel.publish.PublishXmlMarshaler" /> </beans>
