synapse-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Asankha C. Perera (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (SYNAPSE-83) When addressing is enabled on an endpoint, the message sent from Synapse to Client has more than one </wsa:RelatesTo> tags
Date Sat, 24 Mar 2007 06:38:32 GMT

     [ https://issues.apache.org/jira/browse/SYNAPSE-83?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Asankha C. Perera resolved SYNAPSE-83.
--------------------------------------

       Resolution: Fixed
    Fix Version/s: 1.0-RC1-B3

Fixed 

Reply to client will have a RelatesTo to the original message from the client

The message exchange between Synapse and any backend service will have seperate relationships
if addressing is engaged

> When addressing is enabled on an endpoint, the message sent from Synapse to Client has
more than one </wsa:RelatesTo> tags
> --------------------------------------------------------------------------------------------------------------------------
>
>                 Key: SYNAPSE-83
>                 URL: https://issues.apache.org/jira/browse/SYNAPSE-83
>             Project: Synapse
>          Issue Type: Bug
>    Affects Versions: 1.0-RC1-B2
>         Environment: Windows XP, j2sdk1.4.2_13
>            Reporter: Evanthika Amarasiri
>             Fix For: 1.0-RC1-B3
>
>
> Sent a request through the following sequence with addressing engaged.
> <definitions xmlns="http://ws.apache.org/ns/synapse">
> <localEntry key="div_prop" src="file:repository/conf/sample/resources/transform/div_response.xslt"/>
> <in>
> 	<log level="full" separator=",">
> 		<property name="test" expression="get-property('transport','To')"/>
> 	</log>
> 	<filter xmlns:ns1="http://div.math.com/xsd" xpath="//ns1:divide">
> 		<send>
> 			<endpoint> 
> 				<address uri="http://localhost:9001/axis2/services/Division"/>
> 			</endpoint>
> 		</send>
> 	</filter>
> 	<filter xmlns:ns1="http://subt.math.com/xsd" xpath="//ns1:subt">
> 		<send>
> 			<endpoint> 
> 				<address uri="http://localhost:9001/axis2/services/Subtraction">
> 					<enableAddressing/>
> 				</address>
> 			</endpoint>
> 		</send>
> 	</filter>
> </in>
> <out>
> 	<send/>
> </out>
> </definitions>
> When sending the request through TPCMon, the response received from the Synapse to the
client has three <wsa:RelatesTo> tags in the soap header as below.
>    <?xml version='1.0' encoding='UTF-8'?>
>    <soapenv:Envelope xmlns:wsa="http://www.w3.org/2005/08/addressing" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
>       <soapenv:Header>
>          <wsa:Action>urn:subt</wsa:Action>
>          <wsa:RelatesTo>uuid:urn:uuid:37E88F8DAE84DB18A31174293112954</wsa:RelatesTo>
>          <wsa:MessageID>uuid:urn:uuid:37E88F8DAE84DB18A31174293112954</wsa:MessageID>
>          <wsa:RelatesTo>uuid:urn:uuid:37E88F8DAE84DB18A31174293112954</wsa:RelatesTo>
>          <wsa:RelatesTo>uuid:urn:uuid:37E88F8DAE84DB18A31174293112954</wsa:RelatesTo>
>       </soapenv:Header>
>       <soapenv:Body>
>          <ns:subtResponse xmlns:ns="http://subt.math.com/xsd">
>             <ns:return>4</ns:return>
>          </ns:subtResponse>
>       </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: synapse-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: synapse-dev-help@ws.apache.org


Mime
View raw message