ws-pubscribe-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ramasamy, Niraimathi \(Cognizant\)" <Niraimathi.Ramas...@cognizant.com>
Subject how to add multiple resource in single topic in Subscribe SOAP message
Date Fri, 19 Aug 2005 09:14:33 GMT

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
Mime
View raw message