You are viewing a plain text version of this content. The canonical link for it is here.
Posted to pubscribe-dev@ws.apache.org by Ian Springer <ip...@apache.org> on 2005/08/19 22:13:14 UTC

Re: how to add multiple resource in single topic in Subscribe SOAP, message

Hi Niraimathi,

I'm not entirely clear on what you'd like to do. Would you like to to 
simultaneously subscribe to the same topic on multiple resource 
instances? If so, this is not supported by the WSN specs. If you really 
wanted to do it, you could define a singleton producer resource that 
brokers all subscribe requests it receives to a set of other resources. 
The WS-BrokeredNotification spec could potentially be leveraged, though 
there is currently no explicit support for this spec in Pubscribe.

Regards,
Ian

Ramasamy, Niraimathi (Cognizant) wrote:


>>
>> hi,
>>
>> i am trying to add mutiple resource in single topic in Subscribe SOAP 
>> message.. can you suggest me to write SOAP request message.
>>
>> i have tried with single resource in examples it was working fine ..
>>
>> the following code has single topic and single resource..
>>
>> <Envelope xmlns="http://schemas.xmlsoap.org/soap/envelope/"
>>           xmlns:fs="http://ws.apache.org/resource/serena/safe"
>>           xmlns:wsa="http://schemas.xmlsoap.org/ws/2003/03/addressing"
>>           
>> xmlns:wsnt="http://docs.oasis-open.org/wsn/2004/06/wsn-WS-BaseNotification-1.2-draft-01.xsd" 
>>
>>           >
>>
>>    <Header>
>>       <wsa:To 
>> mustUnderstand="1">http://localhost:8080/pubscribe/services/serenasafe</wsa:To> 
>>
>>       <wsa:Action 
>> mustUnderstand="1">http://ws.apache.org/resource/serena/safe/MySerenaSafePortType/TriggerIssueRequest</wsa:Action>
>>
>>       <fs:ResourceIdentifier 
>> mustUnderstand="1">ALF1</fs:ResourceIdentifier>
>>    </Header>
>>
>>    <Body>
>>       <wsnt:Subscribe>
>>                                  
>>          <wsnt:ConsumerReference>
>>           
>>             
>> <wsa:Address>http://localhost:8080/pubscribe/services/serenaconsumer</wsa:Address> 
>>
>>             <wsa:ReferenceProperties/>                         
>>          </wsnt:ConsumerReference>
>>         
>>       *   <wsnt:TopicExpression 
>> Dialect="http://docs.oasis-open.org/wsn/2004/06/TopicExpression/Simple">fs:Comment</wsnt:TopicExpression>*
>>
>>         
>>          <wsnt:UseNotify>true</wsnt:UseNotify>
>>         
>>       </wsnt:Subscribe>
>>    </Body>
>>
>> </Envelope>
>>
>> */ /*
>>  Thanks& Regards,
>>  
>> Niraimathi R
>>
>> This e-mail and any files transmitted with it are for the sole use of 
>> the intended recipient(s) and may contain confidential and privileged 
>> information.
>> If you are not the intended recipient, please contact the sender by 
>> reply e-mail and destroy all copies of the original message.
>> Any unauthorised review, use, disclosure, dissemination, forwarding, 
>> printing or copying of this email or any action taken in reliance on 
>> this e-mail is strictly
>> prohibited and may be unlawful.
>>
>> Visit us at http://www.cognizant.com
>

---------------------------------------------------------------------
To unsubscribe, e-mail: pubscribe-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: pubscribe-dev-help@ws.apache.org