Return-Path: Delivered-To: apmail-servicemix-dev-archive@www.apache.org Received: (qmail 64320 invoked from network); 6 Feb 2011 09:52:39 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 6 Feb 2011 09:52:39 -0000 Received: (qmail 23858 invoked by uid 500); 6 Feb 2011 09:52:37 -0000 Delivered-To: apmail-servicemix-dev-archive@servicemix.apache.org Received: (qmail 23795 invoked by uid 500); 6 Feb 2011 09:52:37 -0000 Mailing-List: contact dev-help@servicemix.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@servicemix.apache.org Delivered-To: mailing list dev@servicemix.apache.org Received: (qmail 22994 invoked by uid 99); 6 Feb 2011 09:52:36 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 06 Feb 2011 09:52:36 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 06 Feb 2011 09:52:34 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id B26D419223B for ; Sun, 6 Feb 2011 09:51:33 +0000 (UTC) Date: Sun, 6 Feb 2011 09:51:33 +0000 (UTC) From: =?utf-8?Q?Jean-Baptiste_Onofr=C3=A9_=28JIRA=29?= To: dev@servicemix.apache.org Message-ID: <2108126345.2558.1296985893727.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] Updated: (SMXCOMP-678) In-only http soap-producer does not work if an in-only consumer receives a message it sends MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/SMXCOMP-678?page=3Dcom.atlassi= an.jira.plugin.system.issuetabpanels:all-tabpanel ] Jean-Baptiste Onofr=C3=A9 updated SMXCOMP-678: ----------------------------------------- Fix Version/s: (was: 2011.01) 2011.02 > In-only http soap-producer does not work if an in-only consumer receives = a message it sends > -------------------------------------------------------------------------= ------------------ > > Key: SMXCOMP-678 > URL: https://issues.apache.org/jira/browse/SMXCOMP-678 > Project: ServiceMix Components > Issue Type: Bug > Affects Versions: servicemix-http-2009.01 > Reporter: Sergey Beryozkin > Priority: Minor > Fix For: 2011.02 > > > In-only http soap-producer attempts to read a response message so it fail= s if an in-only consumer receives the request on other end. Replacing it wi= th an in-only cxfbc:producer fixes the issue, thus I'm marking this issue a= s a minor one given that generally cfxbc:producer is a better SOAP provider > Note that the wsdl used by the http soap-producer has only input parts in= portType/binding. > Here's some log. > 18:02:09,087 | DEBUG | 32437185@qtp1-1 | PhaseInterceptorChain = | .soap.core.PhaseInterceptorChain 96 | Invoking handleFault on interce= ptor org.apache.servicemix.soap.interceptors.xml.StaxInInterceptor > 18:02:09,087 | DEBUG | 32437185@qtp1-1 | PhaseInterceptorChain = | .soap.core.PhaseInterceptorChain 96 | Invoking handleFault on interce= ptor org.apache.servicemix.soap.interceptors.mime.AttachmentsInInterceptor > 18:02:09,087 | DEBUG | 32437185@qtp1-1 | NMR = | .servicemix.nmr.core.ChannelImpl 274 | Channel org.apache.servicemix.n= mr.core.ChannelImpl@833d35 dispatching exchange: [ > id: 49757c3d-fae3-45f4-be58-e6ddfb484702 > mep: InOnly > status: Error > role: Provider > target: PropertyMatchingReference[{SERVICE_NAME=3D{http://servicemix= .apache.org/samples/wsdl-first}PersonService, ENDPOINT_NAME=3Dsoap2}] > operation: {http://servicemix.apache.org/samples/wsdl-first}GetPerson > properties: [ > javax.jbi.ServiceEndpoint =3D org.apache.servicemix.jbi.runtime.imp= l.ServiceEndpointImpl@f22456 > javax.jbi.messaging.MessageExchange =3D org.apache.servicemix.jbi.r= untime.impl.InOnlyImpl@12f95de > javax.jbi.messaging.sendSync =3D > javax.jbi.servicedesc.ServiceEndpoint =3D org.apache.servicemix.jbi= .runtime.impl.EndpointImpl@1a83597 > javax.jbi.ServiceName =3D {http://servicemix.apache.org/samples/wsd= l-first}PersonService > org.apache.servicemix.correlationId =3D 49757c3d-fae3-45f4-be58-e6d= dfb484702 > javax.jbi.transaction.jta =3D > org.apache.servicemix.soap.api.Message =3D > javax.jbi.InterfaceName =3D > org.apache.servicemix.senderEndpoint =3D {http://servicemix.apache.= org/samples/wsdl-first}PersonService:soap > ] > In: [ > content: org.apache.servicemix.soap.util.stax.StaxSource@c22b28 > properties: [ > javax.jbi.messaging.protocol.headers =3D {User-Agent=3DMozilla/5.0 = (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.15) Gecko/2009101601 Firefox/3= .0.15 (.NET CLR 3.5.30729), Host=3Dlocalhost:8192, Accept-Encoding=3Dgzip,d= eflate, Accept-Language=3Den-us,en;q=3D0.5, Accept-Charset=3DISO-8859-1,utf= -8;q=3D0.7,*;q=3D0.7, Pragma=3Dno-cache, Content-Type=3Dapplication/xml; ch= arset=3DUTF-8, REQUEST_METHOD=3DPOST, Cache-Control=3Dno-cache, Accept=3Dte= xt/html,application/xhtml+xml,application/xml;q=3D0.9,*/*;q=3D0.8, REQUEST_= URI=3Dhttp://localhost:8192/PersonService/, Content-Length=3D316, Connectio= n=3Dkeep-alive, Keep-Alive=3D300, CONTENT_TYPE=3Dapplication/xml; charset= =3DUTF-8} > ] > ] > error: [ > org.apache.servicemix.soap.api.Fault: com.ctc.wstx.exc.WstxIOExceptio= n: Stream closed > at org.apache.servicemix.soap.util.stax.StaxUtil.createReader(StaxU= til.java:59) > at org.apache.servicemix.soap.interceptors.xml.StaxInInterceptor.ha= ndleMessage(StaxInInterceptor.java:55) > at org.apache.servicemix.soap.core.PhaseInterceptorChain.doIntercep= t(PhaseInterceptorChain.java:85) > at org.apache.servicemix.http.endpoints.HttpSoapProviderMarshaler.h= andleResponse(HttpSoapProviderMarshaler.java:135) > at org.apache.servicemix.http.endpoints.HttpProviderEndpoint.handle= (HttpProviderEndpoint.java:249) > at org.apache.servicemix.http.endpoints.HttpProviderEndpoint$Exchan= ge.onResponseComplete(HttpProviderEndpoint.java:356) > at org.mortbay.jetty.client.HttpExchange$Listener.onResponseComplet= e(HttpExchange.java:584) --=20 This message is automatically generated by JIRA. - For more information on JIRA, see: http://www.atlassian.com/software/jira