You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@synapse.apache.org by "Juan Francisco del Peso (JIRA)" <ji...@apache.org> on 2008/07/08 16:08:40 UTC
[jira] Created: (SYNAPSE-395) Problems routing services that return
attachment
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>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@synapse.apache.org
For additional commands, e-mail: dev-help@synapse.apache.org
Re: [jira] Created: (SYNAPSE-395) Problems routing services that
return attachment
Posted by "Asankha C. Perera" <as...@wso2.com>.
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: dev-unsubscribe@synapse.apache.org
For additional commands, e-mail: dev-help@synapse.apache.org
[jira] Updated: (SYNAPSE-395) Problems routing services that return
attachment
Posted by "Juan Francisco del Peso (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SYNAPSE-395?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Juan Francisco del Peso updated SYNAPSE-395:
--------------------------------------------
Attachment: synapse.xml
synapse.xml file. In this call we are using the srvGestorDocumentalService proxy and endpoint.
> 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
> Attachments: synapse.xml
>
>
> 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>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@synapse.apache.org
For additional commands, e-mail: dev-help@synapse.apache.org
[jira] Commented: (SYNAPSE-395) Problems routing services that
return attachment
Posted by "Andreas Veithen (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SYNAPSE-395?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12629288#action_12629288 ]
Andreas Veithen commented on SYNAPSE-395:
-----------------------------------------
I think that the HTTP transport uses HTTPTransportUtils.doWriteSwA to determine whether it is going to send SwA. The response received from the target service will only have doingSwA=true. According to the code in doWriteSwA that's not enough: The property "enableSwA" must be set to "true" or "optional" on the proxy service to enable SwA in that case.
> 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
> Attachments: synapse.xml
>
>
> 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>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@synapse.apache.org
For additional commands, e-mail: dev-help@synapse.apache.org
[jira] Commented: (SYNAPSE-395) Problems routing services that
return attachment
Posted by "Asankha C. Perera (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SYNAPSE-395?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12611747#action_12611747 ]
Asankha C. Perera commented on SYNAPSE-395:
-------------------------------------------
Can you also post your synapse.xml?
> 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>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@synapse.apache.org
For additional commands, e-mail: dev-help@synapse.apache.org
[jira] Resolved: (SYNAPSE-395) Problems routing services that
return attachment
Posted by "Andreas Veithen (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SYNAPSE-395?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andreas Veithen resolved SYNAPSE-395.
-------------------------------------
Resolution: Incomplete
No further feedback from the user => closing this issue.
> 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
> Attachments: synapse.xml
>
>
> 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>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@synapse.apache.org
For additional commands, e-mail: dev-help@synapse.apache.org