Please find the debug log. 2006-11-01 01:03:42,515 DEBUG [org.mortbay.jetty] REQUEST /SoapService/ on [EMAIL PROTECTED] 2006-11-01 01:03:42,515 DEBUG [org.mortbay.jetty] servlet=jbiServlet 2006-11-01 01:03:42,515 DEBUG [org.mortbay.jetty] chain=null 2006-11-01 01:03:42,515 DEBUG [org.mortbay.jetty] servelet holder=jbiServlet 2006-11-01 01:03:42,515 DEBUG [org.mortbay.jetty] continuation [EMAIL PROTECTED] 2006-11-01 01:03:42,531 DEBUG [httpclient.wire.header] >> "POST /SoapService/ HTTP/1.1[\r][\n]" 2006-11-01 01:03:42,531 DEBUG [httpclient.wire.header] >> "Content-Type: text/xml[\r][\n]" 2006-11-01 01:03:42,531 DEBUG [httpclient.wire.header] >> "Content-Length: 204[\r][\n]" 2006-11-01 01:03:42,531 DEBUG [httpclient.wire.header] >> "User-Agent: Jakarta Commons-HttpClient/3.0[\r][\n]" 2006-11-01 01:03:42,531 DEBUG [httpclient.wire.header] >> "Host: localhost:8192[\r][\n]" 2006-11-01 01:03:42,531 DEBUG [httpclient.wire.header] >> "[\r][\n]" 2006-11-01 01:03:42,531 DEBUG [httpclient.wire.content] >> "<?xml version='1.0' encoding='UTF-8'?><doGoogleSearch xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><key>key</key><start>0</start><maxResults>10</maxResults><filter>true</filter></doGoogleSearch>" 2006-11-01 01:03:42,531 DEBUG [org.mortbay.jetty] REQUEST /SoapService/ on [EMAIL PROTECTED] 2006-11-01 01:03:42,531 DEBUG [org.mortbay.jetty] servlet=jbiServlet 2006-11-01 01:03:42,531 DEBUG [org.mortbay.jetty] chain=null 2006-11-01 01:03:42,531 DEBUG [org.mortbay.jetty] servelet holder=jbiServlet 2006-11-01 01:03:42,531 DEBUG [org.mortbay.jetty] RESPONSE /SoapService/ 400 2006-11-01 01:03:42,531 DEBUG [org.mortbay.jetty] continuation [EMAIL PROTECTED] 2006-11-01 01:03:42,531 DEBUG [httpclient.wire.header] << "HTTP/1.1 400 Bad Request[\r][\n]" 2006-11-01 01:03:42,531 DEBUG [httpclient.wire.header] << "Content-Type: text/xml[\r][\n]" 2006-11-01 01:03:42,531 DEBUG [httpclient.wire.header] << "Transfer-Encoding: chunked[\r][\n]" 2006-11-01 01:03:42,531 DEBUG [httpclient.wire.header] << "Server: Jetty(6.0.0rc4)[\r][\n]" 2006-11-01 01:03:42,531 DEBUG [httpclient.wire.content] << "1" 2006-11-01 01:03:42,531 DEBUG [httpclient.wire.content] << "9" 2006-11-01 01:03:42,531 DEBUG [httpclient.wire.content] << "6" 2006-11-01 01:03:42,531 DEBUG [httpclient.wire.content] << "[\r]" 2006-11-01 01:03:42,531 DEBUG [httpclient.wire.content] << "[\n]" 2006-11-01 01:03:42,531 DEBUG [httpclient.wire.content] << "<?xml version='1.0' encoding='UTF-8'?><env:Envelope xmlns:env="http://www.w3.org/2003/05/soap-envelope"><env:Body><env:Fault><env:Code><env:Value>env:Sender</env:Value><env:Subcode><env:Value>env:Sender</env:Value></env:Subcode></env:Code><env:Reason><env:Text xml:lang="en">Unrecognized element: doGoogleSearch at [1,39]. Expecting 'Envelope'.</env:Text></env:Reason></env:Fault></env:Body></env:Envelope>" 2006-11-01 01:03:42,531 DEBUG [httpclient.wire.content] << "[\r]" 2006-11-01 01:03:42,531 DEBUG [httpclient.wire.content] << "[\n]" 2006-11-01 01:03:42,531 DEBUG [httpclient.wire.content] << "0" 2006-11-01 01:03:42,531 DEBUG [httpclient.wire.content] << "[\r]" 2006-11-01 01:03:42,531 DEBUG [httpclient.wire.content] << "[\n]" 2006-11-01 01:03:42,531 DEBUG [httpclient.wire.content] << "[\r]" 2006-11-01 01:03:42,531 DEBUG [httpclient.wire.content] << "[\n]" 2006-11-01 01:03:42,531 ERROR [org.apache.servicemix.http.HttpSpringComponent] Error processing exchange InOnly[ id: ID:ThunderBird-1519-1162319929984-19:2 status: Active role: provider service: MySoapServer endpoint: MySoapServer in: <?xml version="1.0" encoding="UTF-8"?> ] java.lang.Exception: Invalid status response: 400 at org.apache.servicemix.http.processors.ProviderProcessor.process(ProviderProcessor.java:175) at org.apache.servicemix.common.AsyncBaseLifeCycle.processExchange(AsyncBaseLifeCycle.java:410) at org.apache.servicemix.common.BaseLifeCycle.onMessageExchange(BaseLifeCycle.java:43) at org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.processInBound(DeliveryChannelImpl.java:624) at org.apache.servicemix.jbi.nmr.flow.AbstractFlow.doRouting(AbstractFlow.java:169) at org.apache.servicemix.jbi.nmr.flow.seda.SedaFlow.doRouting(SedaFlow.java:177) at org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1.run(SedaQueue.java:227) at org.apache.geronimo.connector.work.WorkerContext.run(WorkerContext.java:291) at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:748) at java.lang.Thread.run(Thread.java:595)
gnodet wrote: > > Could you post a log file at debug level and > put a tcp monitor [1] to check the http request sent > by servicemix-http ? > > [1] > http://ws.apache.org/axis/java/user-guide.html#AppendixUsingTheAxisTCPMonitorTcpmon > > On 10/31/06, Raghul Nandagopal <[EMAIL PROTECTED]> wrote: >> >> Hi, >> >> Here is my sm.xml configuration deployed in JBoss >> >> <sm:activationSpec> >> <sm:component> >> <http:component> >> <http:endpoints> >> <http:endpoint >> service="sterling:MySoapClient" >> endpoint="MySoapClient" >> targetService="form:SoapProcessor" >> role="consumer" >> soap="true" >> >> locationURI="http://localhost:8192/SoapService/" >> >> defaultMep="http://www.w3.org/2004/08/wsdl/in-out" /> >> <http:endpoint >> service="sterling:MySoapServer" >> endpoint="MySoapServer" >> role="provider" >> >> locationURI="http://localhost:8192/SoapService/" /> >> </http:endpoints> >> </http:component> >> </sm:component> >> </sm:activationSpec> >> >> <sm:activationSpec componentName="SoapProcessor" >> service="form:SoapProcessor" destinationService="sterling:MySoapServer"> >> <sm:component><bean class="MyProcessor" /></sm:component> >> </sm:activationSpec> >> >> --------------------- >> >> Here is the error message - what's going wrong - help :( >> >> 00:09:11,984 ERROR [HttpSpringComponent] Error processing exchange >> InOnly[ >> id: ID:ThunderBird-1519-1162319929984-19:0 >> status: Active >> role: provider >> service: MySoapServer >> endpoint: MySoapServer >> in: <?xml version="1.0" encoding="UTF-8"?> >> ] >> java.lang.Exception: Invalid status response: 400 >> at >> org.apache.servicemix.http.processors.ProviderProcessor.process(ProviderProcessor.java:175) >> at >> org.apache.servicemix.common.AsyncBaseLifeCycle.processExchange(AsyncBaseLifeCycle.java:410) >> at >> org.apache.servicemix.common.BaseLifeCycle.onMessageExchange(BaseLifeCycle.java:43) >> at >> org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.processInBound(DeliveryChannelImpl.java:624) >> at >> org.apache.servicemix.jbi.nmr.flow.AbstractFlow.doRouting(AbstractFlow.java:169) >> at >> org.apache.servicemix.jbi.nmr.flow.seda.SedaFlow.doRouting(SedaFlow.java:177) >> at >> org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1.run(SedaQueue.java:227) >> at >> org.apache.geronimo.connector.work.WorkerContext.run(WorkerContext.java:291) >> at >> EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:743) >> at java.lang.Thread.run(Thread.java:595) >> 00:09:11,984 INFO [STDOUT] Completed Processing >> -- >> View this message in context: >> http://www.nabble.com/HTTP-EndPoint---response-getting-truncated.-tf2547553.html#a7099823 >> Sent from the ServiceMix - User mailing list archive at Nabble.com. >> >> > > > -- > Cheers, > Guillaume Nodet > > -- View this message in context: http://www.nabble.com/HTTP-EndPoint---response-getting-truncated.-tf2547553.html#a7101225 Sent from the ServiceMix - User mailing list archive at Nabble.com.
