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 "Ramasamy, Niraimathi (Cognizant)" <Ni...@cognizant.com> on 2005/08/19 11:09:28 UTC

how to add multiple resource in single topic in Subscribe SOAP message


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