Can you also post your synapse.xml? Juan Francisco del Peso (JIRA) wrote:
Problems routing services that return attachment ------------------------------------------------Key: SYNAPSE-395 URL: https://issues.apache.org/jira/browse/SYNAPSE-395 Project: Synapse Issue Type: Bug Components: Endpoints Affects Versions: 1.2 Environment: sparc, solaris, jdk1.5.0_07 Reporter: Juan Francisco del Peso When we routing a request to a service that return attachment, it is loose. I attach the messages capture by tcpmon: Sended message: POST /soap/srvGestorDocumentalService HTTP/1.0 Content-Type: text/xml; charset=utf-8 Accept: application/soap+xml, application/dime, multipart/related, text/* User-Agent: Axis/1.3 Authorization: Basic dXN1YXJpbzE6aW5kcmE= Host: 127.0.0.1:3333 Cache-Control: no-cache Pragma: no-cache SOAPAction: "recuperarDocumento" Content-Length: 540 Authorization: Basic YWRtaW5ucGE6aW5kcmE= <?xml version="1.0" encoding="UTF-8"?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><soapenv:Body><recuperarDocumento xmlns="http://servicios.gestorDocumental.npa.indra.es"><solicitud><idDocumento>86c0cce3-0147-4106-bb97-a26e83cbc671</idDocumento><version xsi:nil="true"/><bloqueo>false</bloqueo><fecha xsi:nil="true"/><usuario xsi:nil="true"/></solicitud></recuperarDocumento></soapenv:Body></soapenv:Envelope> Received message before synapse: HTTP/1.1 200 OK Server: Apache-Coyote/1.1 X-Powered-By: Servlet 2.4; JBoss-4.0.2 (build: CVSTag=JBoss_4_0_2 date=200505022023)/Tomcat-5.5 Content-Type: multipart/related; type="text/xml"; start="<062537FEA6AAA02D5FAA58B9B891132F>"; boundary="----=_Part_14_2051045952.1215525149151" Transfer-Encoding: chunked Date: Tue, 08 Jul 2008 13:52:29 GMT 36c ------=_Part_14_2051045952.1215525149151 Content-Type: text/xml; charset=UTF-8 Content-Transfer-Encoding: binary Content-Id: <062537FEA6AAA02D5FAA58B9B891132F> <?xml version="1.0" encoding="UTF-8"?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><soapenv:Body><recuperarDocumentoResponse xmlns="http://servicios.gestorDocumental.npa.indra.es"><recuperarDocumentoReturn><usuario>usuario1</usuario><fecha>2008-05-20T09:39:00.073Z</fecha><descripcion>Fichero Prueba Test ilomas</descripcion><contenido href="cid:C8C9AE67680E882C32B51EA4CAC034FF"/><nombre>FicheroPruebaTestilomas.pdf</nombre><idDocumento>86c0cce3-0147-4106-bb97-a26e83cbc671</idDocumento></recuperarDocumentoReturn></recuperarDocumentoResponse></soapenv:Body></soapenv:Envelope> c5 ------=_Part_14_2051045952.1215525149151 Content-Type: application/octet-stream Content-Transfer-Encoding: binary Content-Id: <C8C9AE67680E882C32B51EA4CAC034FF> Este es un fichero de prueba 2e ------=_Part_14_2051045952.1215525149151-- 0 Received Message after Synapse: HTTP/1.0 200 OK Content-Type: text/xml; charset=UTF-8 X-Powered-By: Servlet 2.4; JBoss-4.0.2 (build: CVSTag=JBoss_4_0_2 date=200505022023)/Tomcat-5.5 Date: Tue, 08 Jul 2008 13:51:58 GMT Server: Synapse-HttpComponents-NIO Connection: Close <?xml version='1.0' encoding='UTF-8'?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><soapenv:Body><recuperarDocumentoResponse xmlns="http://servicios.gestorDocumental.npa.indra.es"><recuperarDocumentoReturn><usuario>usuario1</usuario><fecha>2008-05-20T09:39:00.073Z</fecha><descripcion>Fichero Prueba Test ilomas</descripcion><contenido href="cid:C8C9AE67680E882C32B51EA4CAC034FF" /><nombre>FicheroPruebaTestilomas.pdf</nombre><idDocumento>86c0cce3-0147-4106-bb97-a26e83cbc671</idDocumento></recuperarDocumentoReturn></recuperarDocumentoResponse></soapenv:Body></soapenv:Envelope>
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
