You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@synapse.apache.org by "Lorenzo (JIRA)" <ji...@apache.org> on 2007/03/23 10:39:32 UTC

[jira] Created: (SYNAPSE-84) Synapse looses attachment simply routing a message

Synapse looses attachment simply routing a message
--------------------------------------------------

                 Key: SYNAPSE-84
                 URL: https://issues.apache.org/jira/browse/SYNAPSE-84
             Project: Synapse
          Issue Type: Bug
    Affects Versions: 0.91
            Reporter: Lorenzo


Client send this message:

------- TCPMon from client to Synapse  --------


POST /SincronoAttachment/SincronoAttachment HTTP/1.0

Content-Type: multipart/related; type="text/xml"; start="<A7FED167E1B7E81EAB6E7AB8A9317A9D>"; 	boundary="----=_Part_0_32755292.1174641907080"

Accept: application/soap+xml, application/dime, multipart/related, text/*

User-Agent: Axis/1.4

Host: 127.0.0.1:8888

Cache-Control: no-cache

Pragma: no-cache

SOAPAction: ""

Content-Length: 1443





------=_Part_0_32755292.1174641907080

Content-Type: text/xml; charset=UTF-8

Content-Transfer-Encoding: binary

Content-Id: <A7FED167E1B7E81EAB6E7AB8A9317A9D>
   <?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>
            <eseguiServizio xmlns="http://spcoop.it/cart/pdd-test">
               <Richiesta>&lt;persona nome=&quot;mario&quot; cognome=&quot;rossi&quot;/&gt;</Richiesta>
               <attachInZIP1 href="cid:5432D5411CBD46F1862DE8AE0A26A8E5" xmlns=""/>
               <attachInZIP2 href="cid:9E231975834035C2232A72AE50082FFE" xmlns=""/>
            </eseguiServizio>
         </soapenv:Body>
      </soapenv:Envelope>------=_Part_0_32755292.1174641907080Content-Type: application/octet-streamContent-Transfer-Encoding: binaryContent-Id: 
      <5432D5411CBD46F1862DE8AE0A26A8E5>PK

----- END of Message ----

Synapse route it with this simple configuration:

----- Synapse.xml ------

<synapse xmlns="http://ws.apache.org/ns/synapse">
     <rules>
        <in>
               <send>
                        <endpoint address="http://localhost:9999/SincronoAttachment/SincronoAttachment"/>
                </send>
            <drop/>
        </in>
        <out>
            <log level="custom">
                <property name="message" value="sending back the response"/>
            </log>
            <send/>
        </out>
    </rules>
</synapse> 

----- End of synapse.xml ------


Synapse outgoing message to server is this:


----- TCPMon from Synapse to server ------

POST /SincronoAttachment/SincronoAttachment HTTP/1.1

SOAPAction: "urn:__DYNAMIC_OPERATION__"

User-Agent: Axis2

Host: 127.0.0.1:9999

Content-Length: 920

Content-Type: text/xml; charset=UTF-8



<?xml version='1.0' encoding='UTF-8'?>
   <soapenv:Envelope xmlns:wsa="http://www.w3.org/2005/08/addressing" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
      <soapenv:Header>
         <wsa:To>http://localhost:9999/SincronoAttachment/SincronoAttachment</wsa:To>
         <wsa:ReplyTo>
            <wsa:Address>http://www.w3.org/2005/08/addressing/anonymous</wsa:Address>
         </wsa:ReplyTo>
         <wsa:MessageID>uuid:urn:uuid:33E8B28671937F42A91174641907809</wsa:MessageID>
         <wsa:Action>urn:__DYNAMIC_OPERATION__</wsa:Action>
      </soapenv:Header>
      <soapenv:Body>
         <eseguiServizio xmlns="http://spcoop.it/cart/pdd-test">
            <Richiesta>&lt;persona nome="mario" cognome="rossi"/>
         </Richiesta>
         <attachInZIP1 xmlns="" href="cid:5432D5411CBD46F1862DE8AE0A26A8E5" />
         <attachInZIP2 xmlns="" href="cid:9E231975834035C2232A72AE50082FFE" />
      </eseguiServizio>
   </soapenv:Body></soapenv:Envelope

--------------------------------------

Seems attachments are gone...








-- 
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: synapse-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: synapse-dev-help@ws.apache.org


[jira] Commented: (SYNAPSE-84) Synapse looses attachment simply routing a message

Posted by "Asankha C. Perera (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SYNAPSE-84?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12484559 ] 

Asankha C. Perera commented on SYNAPSE-84:
------------------------------------------

Hi Lorenzo

Do you see this with the latest code (i.e. 1.0-RC1 build 2 found at http://people.apache.org/~asankha/builds/)? The HTTP transport is totally different between these versions.

asankha

> Synapse looses attachment simply routing a message
> --------------------------------------------------
>
>                 Key: SYNAPSE-84
>                 URL: https://issues.apache.org/jira/browse/SYNAPSE-84
>             Project: Synapse
>          Issue Type: Bug
>    Affects Versions: 0.91
>            Reporter: Lorenzo
>         Attachments: Client-Synapse.png, Synapse-Server.png, SynapseLog.png
>
>
> Client send a message with attachment (see TCPMon Screenshot):
> Synapse route it with this simple configuration:
> ----- Synapse.xml ------
> <synapse xmlns="http://ws.apache.org/ns/synapse">
>      <rules>
>         <in>
>                <send>
>                         <endpoint address="http://localhost:9999/SincronoAttachment/SincronoAttachment"/>
>                 </send>
>             <drop/>
>         </in>
>         <out>
>             <send/>
>         </out>
>     </rules>
> </synapse> 
> ----- End of synapse.xml ------
> Synapse route message to server, but seems attachments are cutted away... (See TCPMon screenshot)

-- 
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: synapse-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: synapse-dev-help@ws.apache.org


[jira] Updated: (SYNAPSE-84) Synapse looses attachment simply routing a message

Posted by "Lorenzo (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SYNAPSE-84?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Lorenzo updated SYNAPSE-84:
---------------------------

    Attachment: client_to_synapse (with response)

Added tcpmon of client->synapse with synapse response (i forgot it in previous attachment)

> Synapse looses attachment simply routing a message
> --------------------------------------------------
>
>                 Key: SYNAPSE-84
>                 URL: https://issues.apache.org/jira/browse/SYNAPSE-84
>             Project: Synapse
>          Issue Type: Bug
>    Affects Versions: 0.91
>            Reporter: Lorenzo
>         Assigned To: Asankha C. Perera
>             Fix For: 1.0-RC1-B3
>
>         Attachments: Client-Synapse.png, client_to_synapse, client_to_synapse (with response), Synapse-Server.png, synapse_to_server, SynapseLog.png
>
>
> Client send a message with attachment (see TCPMon Screenshot):
> Synapse route it with this simple configuration:
> ----- Synapse.xml ------
> <synapse xmlns="http://ws.apache.org/ns/synapse">
>      <rules>
>         <in>
>                <send>
>                         <endpoint address="http://localhost:9999/SincronoAttachment/SincronoAttachment"/>
>                 </send>
>             <drop/>
>         </in>
>         <out>
>             <send/>
>         </out>
>     </rules>
> </synapse> 
> ----- End of synapse.xml ------
> Synapse route message to server, but seems attachments are cutted away... (See TCPMon screenshot)

-- 
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: synapse-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: synapse-dev-help@ws.apache.org


[jira] Updated: (SYNAPSE-84) Synapse looses attachment simply routing a message

Posted by "Lorenzo (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SYNAPSE-84?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Lorenzo updated SYNAPSE-84:
---------------------------

    Attachment: client_to_synapse

Message from CLIENT to SYNAPSE using 
synapse-1.0-RC2-SNAPSHOT    -     30-Apr-2007

> Synapse looses attachment simply routing a message
> --------------------------------------------------
>
>                 Key: SYNAPSE-84
>                 URL: https://issues.apache.org/jira/browse/SYNAPSE-84
>             Project: Synapse
>          Issue Type: Bug
>    Affects Versions: 0.91
>            Reporter: Lorenzo
>         Assigned To: Asankha C. Perera
>             Fix For: 1.0-RC1-B3
>
>         Attachments: Client-Synapse.png, client_to_synapse, Synapse-Server.png, SynapseLog.png
>
>
> Client send a message with attachment (see TCPMon Screenshot):
> Synapse route it with this simple configuration:
> ----- Synapse.xml ------
> <synapse xmlns="http://ws.apache.org/ns/synapse">
>      <rules>
>         <in>
>                <send>
>                         <endpoint address="http://localhost:9999/SincronoAttachment/SincronoAttachment"/>
>                 </send>
>             <drop/>
>         </in>
>         <out>
>             <send/>
>         </out>
>     </rules>
> </synapse> 
> ----- End of synapse.xml ------
> Synapse route message to server, but seems attachments are cutted away... (See TCPMon screenshot)

-- 
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: synapse-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: synapse-dev-help@ws.apache.org


[jira] Updated: (SYNAPSE-84) Synapse looses attachment simply routing a message

Posted by "Lorenzo (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SYNAPSE-84?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Lorenzo updated SYNAPSE-84:
---------------------------

    Attachment: synapse_to_server

Message from SYNAPSE to SERVER using
synapse-1.0-RC2-SNAPSHOT - 30-Apr-2007


synapse.xml

<definitions xmlns="http://ws.apache.org/ns/synapse">

    <!-- simple filtering of messages with XPath and regex matches -->
        <send>
            <endpoint>
                <address uri="http://localhost:9000/SincronoAttachment/SincronoAttachment"/>
            </endpoint>
        </send>
</definitions>


> Synapse looses attachment simply routing a message
> --------------------------------------------------
>
>                 Key: SYNAPSE-84
>                 URL: https://issues.apache.org/jira/browse/SYNAPSE-84
>             Project: Synapse
>          Issue Type: Bug
>    Affects Versions: 0.91
>            Reporter: Lorenzo
>         Assigned To: Asankha C. Perera
>             Fix For: 1.0-RC1-B3
>
>         Attachments: Client-Synapse.png, client_to_synapse, Synapse-Server.png, synapse_to_server, SynapseLog.png
>
>
> Client send a message with attachment (see TCPMon Screenshot):
> Synapse route it with this simple configuration:
> ----- Synapse.xml ------
> <synapse xmlns="http://ws.apache.org/ns/synapse">
>      <rules>
>         <in>
>                <send>
>                         <endpoint address="http://localhost:9999/SincronoAttachment/SincronoAttachment"/>
>                 </send>
>             <drop/>
>         </in>
>         <out>
>             <send/>
>         </out>
>     </rules>
> </synapse> 
> ----- End of synapse.xml ------
> Synapse route message to server, but seems attachments are cutted away... (See TCPMon screenshot)

-- 
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: synapse-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: synapse-dev-help@ws.apache.org


[jira] Commented: (SYNAPSE-84) Synapse looses attachment simply routing a message

Posted by "Asankha C. Perera (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SYNAPSE-84?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12497459 ] 

Asankha C. Perera commented on SYNAPSE-84:
------------------------------------------

Lorenzo

Please specify the [optimize="mtom|swa"] option on your endpoint. 

I am reconfirming that this works now, and you could verify this with the sample # 55 as given below

http://svn.apache.org/viewvc/webservices/synapse/trunk/java/src/site/resources/Synapse_Samples.html?content-type=text%2Fhtml&view=co#Sample51

If you still see an issue, could you get me updated full and complete TCPmon listings (you can cut down the binary chunks a bit)

asankha

> Synapse looses attachment simply routing a message
> --------------------------------------------------
>
>                 Key: SYNAPSE-84
>                 URL: https://issues.apache.org/jira/browse/SYNAPSE-84
>             Project: Synapse
>          Issue Type: Bug
>    Affects Versions: 0.91
>            Reporter: Lorenzo
>         Assigned To: Asankha C. Perera
>             Fix For: 1.0-RC1-B3
>
>         Attachments: Client-Synapse.png, client_to_synapse, client_to_synapse (with response), Synapse-Server.png, synapse_to_server, SynapseLog.png
>
>
> Client send a message with attachment (see TCPMon Screenshot):
> Synapse route it with this simple configuration:
> ----- Synapse.xml ------
> <synapse xmlns="http://ws.apache.org/ns/synapse">
>      <rules>
>         <in>
>                <send>
>                         <endpoint address="http://localhost:9999/SincronoAttachment/SincronoAttachment"/>
>                 </send>
>             <drop/>
>         </in>
>         <out>
>             <send/>
>         </out>
>     </rules>
> </synapse> 
> ----- End of synapse.xml ------
> Synapse route message to server, but seems attachments are cutted away... (See TCPMon screenshot)

-- 
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: synapse-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: synapse-dev-help@ws.apache.org


[jira] Resolved: (SYNAPSE-84) Synapse looses attachment simply routing a message

Posted by "Asankha C. Perera (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SYNAPSE-84?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Asankha C. Perera resolved SYNAPSE-84.
--------------------------------------

       Resolution: Fixed
    Fix Version/s: 1.0-RC1-B3
         Assignee: Asankha C. Perera

Fixed in trunk. Will be checking in updated sample client and service shortly

> Synapse looses attachment simply routing a message
> --------------------------------------------------
>
>                 Key: SYNAPSE-84
>                 URL: https://issues.apache.org/jira/browse/SYNAPSE-84
>             Project: Synapse
>          Issue Type: Bug
>    Affects Versions: 0.91
>            Reporter: Lorenzo
>         Assigned To: Asankha C. Perera
>             Fix For: 1.0-RC1-B3
>
>         Attachments: Client-Synapse.png, Synapse-Server.png, SynapseLog.png
>
>
> Client send a message with attachment (see TCPMon Screenshot):
> Synapse route it with this simple configuration:
> ----- Synapse.xml ------
> <synapse xmlns="http://ws.apache.org/ns/synapse">
>      <rules>
>         <in>
>                <send>
>                         <endpoint address="http://localhost:9999/SincronoAttachment/SincronoAttachment"/>
>                 </send>
>             <drop/>
>         </in>
>         <out>
>             <send/>
>         </out>
>     </rules>
> </synapse> 
> ----- End of synapse.xml ------
> Synapse route message to server, but seems attachments are cutted away... (See TCPMon screenshot)

-- 
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: synapse-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: synapse-dev-help@ws.apache.org


[jira] Reopened: (SYNAPSE-84) Synapse looses attachment simply routing a message

Posted by "Lorenzo (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SYNAPSE-84?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Lorenzo reopened SYNAPSE-84:
----------------------------


RC2-B3 still loose attachments

> Synapse looses attachment simply routing a message
> --------------------------------------------------
>
>                 Key: SYNAPSE-84
>                 URL: https://issues.apache.org/jira/browse/SYNAPSE-84
>             Project: Synapse
>          Issue Type: Bug
>    Affects Versions: 0.91
>            Reporter: Lorenzo
>         Assigned To: Asankha C. Perera
>             Fix For: 1.0-RC1-B3
>
>         Attachments: Client-Synapse.png, Synapse-Server.png, SynapseLog.png
>
>
> Client send a message with attachment (see TCPMon Screenshot):
> Synapse route it with this simple configuration:
> ----- Synapse.xml ------
> <synapse xmlns="http://ws.apache.org/ns/synapse">
>      <rules>
>         <in>
>                <send>
>                         <endpoint address="http://localhost:9999/SincronoAttachment/SincronoAttachment"/>
>                 </send>
>             <drop/>
>         </in>
>         <out>
>             <send/>
>         </out>
>     </rules>
> </synapse> 
> ----- End of synapse.xml ------
> Synapse route message to server, but seems attachments are cutted away... (See TCPMon screenshot)

-- 
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: synapse-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: synapse-dev-help@ws.apache.org


[jira] Updated: (SYNAPSE-84) Synapse looses attachment simply routing a message

Posted by "Lorenzo (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SYNAPSE-84?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Lorenzo updated SYNAPSE-84:
---------------------------

    Attachment: SynapseLog.png

Synapse shell screenshot

> Synapse looses attachment simply routing a message
> --------------------------------------------------
>
>                 Key: SYNAPSE-84
>                 URL: https://issues.apache.org/jira/browse/SYNAPSE-84
>             Project: Synapse
>          Issue Type: Bug
>    Affects Versions: 0.91
>            Reporter: Lorenzo
>         Attachments: Client-Synapse.png, Synapse-Server.png, SynapseLog.png
>
>
> Client send a message with attachment (see TCPMon Screenshot):
> Synapse route it with this simple configuration:
> ----- Synapse.xml ------
> <synapse xmlns="http://ws.apache.org/ns/synapse">
>      <rules>
>         <in>
>                <send>
>                         <endpoint address="http://localhost:9999/SincronoAttachment/SincronoAttachment"/>
>                 </send>
>             <drop/>
>         </in>
>         <out>
>             <send/>
>         </out>
>     </rules>
> </synapse> 
> ----- End of synapse.xml ------
> Synapse route message to server, but seems attachments are cutted away... (See TCPMon screenshot)

-- 
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: synapse-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: synapse-dev-help@ws.apache.org


[jira] Resolved: (SYNAPSE-84) Synapse looses attachment simply routing a message

Posted by "Lorenzo (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SYNAPSE-84?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Lorenzo resolved SYNAPSE-84.
----------------------------

    Resolution: Fixed

Yes, it was my configuration error. It works.

> Synapse looses attachment simply routing a message
> --------------------------------------------------
>
>                 Key: SYNAPSE-84
>                 URL: https://issues.apache.org/jira/browse/SYNAPSE-84
>             Project: Synapse
>          Issue Type: Bug
>    Affects Versions: 0.91
>            Reporter: Lorenzo
>         Assigned To: Asankha C. Perera
>             Fix For: 1.0-RC1-B3
>
>         Attachments: Client-Synapse.png, client_to_synapse, client_to_synapse (with response), Synapse-Server.png, synapse_to_server, SynapseLog.png
>
>
> Client send a message with attachment (see TCPMon Screenshot):
> Synapse route it with this simple configuration:
> ----- Synapse.xml ------
> <synapse xmlns="http://ws.apache.org/ns/synapse">
>      <rules>
>         <in>
>                <send>
>                         <endpoint address="http://localhost:9999/SincronoAttachment/SincronoAttachment"/>
>                 </send>
>             <drop/>
>         </in>
>         <out>
>             <send/>
>         </out>
>     </rules>
> </synapse> 
> ----- End of synapse.xml ------
> Synapse route message to server, but seems attachments are cutted away... (See TCPMon screenshot)

-- 
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: synapse-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: synapse-dev-help@ws.apache.org


[jira] Updated: (SYNAPSE-84) Synapse looses attachment simply routing a message

Posted by "Lorenzo (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SYNAPSE-84?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Lorenzo updated SYNAPSE-84:
---------------------------

    Description: 
Client send a message with attachment (see TCPMon Screenshot):

Synapse route it with this simple configuration:

----- Synapse.xml ------

<synapse xmlns="http://ws.apache.org/ns/synapse">
     <rules>
        <in>
               <send>
                        <endpoint address="http://localhost:9999/SincronoAttachment/SincronoAttachment"/>
                </send>
            <drop/>
        </in>
        <out>
            <send/>
        </out>
    </rules>
</synapse> 

----- End of synapse.xml ------


Synapse route message to server, but seems attachments are cutted away... (See TCPMon screenshot)








  was:
Client send this message:

------- TCPMon from client to Synapse  --------


POST /SincronoAttachment/SincronoAttachment HTTP/1.0

Content-Type: multipart/related; type="text/xml"; start="<A7FED167E1B7E81EAB6E7AB8A9317A9D>"; 	boundary="----=_Part_0_32755292.1174641907080"

Accept: application/soap+xml, application/dime, multipart/related, text/*

User-Agent: Axis/1.4

Host: 127.0.0.1:8888

Cache-Control: no-cache

Pragma: no-cache

SOAPAction: ""

Content-Length: 1443





------=_Part_0_32755292.1174641907080

Content-Type: text/xml; charset=UTF-8

Content-Transfer-Encoding: binary

Content-Id: <A7FED167E1B7E81EAB6E7AB8A9317A9D>
   <?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>
            <eseguiServizio xmlns="http://spcoop.it/cart/pdd-test">
               <Richiesta>&lt;persona nome=&quot;mario&quot; cognome=&quot;rossi&quot;/&gt;</Richiesta>
               <attachInZIP1 href="cid:5432D5411CBD46F1862DE8AE0A26A8E5" xmlns=""/>
               <attachInZIP2 href="cid:9E231975834035C2232A72AE50082FFE" xmlns=""/>
            </eseguiServizio>
         </soapenv:Body>
      </soapenv:Envelope>------=_Part_0_32755292.1174641907080Content-Type: application/octet-streamContent-Transfer-Encoding: binaryContent-Id: 
      <5432D5411CBD46F1862DE8AE0A26A8E5>PK

----- END of Message ----

Synapse route it with this simple configuration:

----- Synapse.xml ------

<synapse xmlns="http://ws.apache.org/ns/synapse">
     <rules>
        <in>
               <send>
                        <endpoint address="http://localhost:9999/SincronoAttachment/SincronoAttachment"/>
                </send>
            <drop/>
        </in>
        <out>
            <log level="custom">
                <property name="message" value="sending back the response"/>
            </log>
            <send/>
        </out>
    </rules>
</synapse> 

----- End of synapse.xml ------


Synapse outgoing message to server is this:


----- TCPMon from Synapse to server ------

POST /SincronoAttachment/SincronoAttachment HTTP/1.1

SOAPAction: "urn:__DYNAMIC_OPERATION__"

User-Agent: Axis2

Host: 127.0.0.1:9999

Content-Length: 920

Content-Type: text/xml; charset=UTF-8



<?xml version='1.0' encoding='UTF-8'?>
   <soapenv:Envelope xmlns:wsa="http://www.w3.org/2005/08/addressing" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
      <soapenv:Header>
         <wsa:To>http://localhost:9999/SincronoAttachment/SincronoAttachment</wsa:To>
         <wsa:ReplyTo>
            <wsa:Address>http://www.w3.org/2005/08/addressing/anonymous</wsa:Address>
         </wsa:ReplyTo>
         <wsa:MessageID>uuid:urn:uuid:33E8B28671937F42A91174641907809</wsa:MessageID>
         <wsa:Action>urn:__DYNAMIC_OPERATION__</wsa:Action>
      </soapenv:Header>
      <soapenv:Body>
         <eseguiServizio xmlns="http://spcoop.it/cart/pdd-test">
            <Richiesta>&lt;persona nome="mario" cognome="rossi"/>
         </Richiesta>
         <attachInZIP1 xmlns="" href="cid:5432D5411CBD46F1862DE8AE0A26A8E5" />
         <attachInZIP2 xmlns="" href="cid:9E231975834035C2232A72AE50082FFE" />
      </eseguiServizio>
   </soapenv:Body></soapenv:Envelope

--------------------------------------

Seems attachments are gone...









> Synapse looses attachment simply routing a message
> --------------------------------------------------
>
>                 Key: SYNAPSE-84
>                 URL: https://issues.apache.org/jira/browse/SYNAPSE-84
>             Project: Synapse
>          Issue Type: Bug
>    Affects Versions: 0.91
>            Reporter: Lorenzo
>
> Client send a message with attachment (see TCPMon Screenshot):
> Synapse route it with this simple configuration:
> ----- Synapse.xml ------
> <synapse xmlns="http://ws.apache.org/ns/synapse">
>      <rules>
>         <in>
>                <send>
>                         <endpoint address="http://localhost:9999/SincronoAttachment/SincronoAttachment"/>
>                 </send>
>             <drop/>
>         </in>
>         <out>
>             <send/>
>         </out>
>     </rules>
> </synapse> 
> ----- End of synapse.xml ------
> Synapse route message to server, but seems attachments are cutted away... (See TCPMon screenshot)

-- 
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: synapse-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: synapse-dev-help@ws.apache.org


[jira] Updated: (SYNAPSE-84) Synapse looses attachment simply routing a message

Posted by "Lorenzo (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SYNAPSE-84?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Lorenzo updated SYNAPSE-84:
---------------------------

    Attachment: Synapse-Server.png
                Client-Synapse.png

Screenshots of TCPMon

> Synapse looses attachment simply routing a message
> --------------------------------------------------
>
>                 Key: SYNAPSE-84
>                 URL: https://issues.apache.org/jira/browse/SYNAPSE-84
>             Project: Synapse
>          Issue Type: Bug
>    Affects Versions: 0.91
>            Reporter: Lorenzo
>         Attachments: Client-Synapse.png, Synapse-Server.png
>
>
> Client send a message with attachment (see TCPMon Screenshot):
> Synapse route it with this simple configuration:
> ----- Synapse.xml ------
> <synapse xmlns="http://ws.apache.org/ns/synapse">
>      <rules>
>         <in>
>                <send>
>                         <endpoint address="http://localhost:9999/SincronoAttachment/SincronoAttachment"/>
>                 </send>
>             <drop/>
>         </in>
>         <out>
>             <send/>
>         </out>
>     </rules>
> </synapse> 
> ----- End of synapse.xml ------
> Synapse route message to server, but seems attachments are cutted away... (See TCPMon screenshot)

-- 
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: synapse-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: synapse-dev-help@ws.apache.org


[jira] Commented: (SYNAPSE-84) Synapse looses attachment simply routing a message

Posted by "Lorenzo (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SYNAPSE-84?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12488409 ] 

Lorenzo commented on SYNAPSE-84:
--------------------------------

I tryed  with 1.0-RC1... same problems

> Synapse looses attachment simply routing a message
> --------------------------------------------------
>
>                 Key: SYNAPSE-84
>                 URL: https://issues.apache.org/jira/browse/SYNAPSE-84
>             Project: Synapse
>          Issue Type: Bug
>    Affects Versions: 0.91
>            Reporter: Lorenzo
>         Attachments: Client-Synapse.png, Synapse-Server.png, SynapseLog.png
>
>
> Client send a message with attachment (see TCPMon Screenshot):
> Synapse route it with this simple configuration:
> ----- Synapse.xml ------
> <synapse xmlns="http://ws.apache.org/ns/synapse">
>      <rules>
>         <in>
>                <send>
>                         <endpoint address="http://localhost:9999/SincronoAttachment/SincronoAttachment"/>
>                 </send>
>             <drop/>
>         </in>
>         <out>
>             <send/>
>         </out>
>     </rules>
> </synapse> 
> ----- End of synapse.xml ------
> Synapse route message to server, but seems attachments are cutted away... (See TCPMon screenshot)

-- 
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: synapse-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: synapse-dev-help@ws.apache.org