You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@synapse.apache.org by "Evanthika Amarasiri (JIRA)" <ji...@apache.org> on 2008/05/09 09:24:55 UTC

[jira] Closed: (SYNAPSE-83) When addressing is enabled on an endpoint, the message sent from Synapse to Client has more than one tags

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

Evanthika Amarasiri closed SYNAPSE-83.
--------------------------------------


Now the <Relates-To>tag is displayed without duplicating. Fixed in 1.2_QA_B1. The issue will be closed

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