Renew subscription on NMMi WS-E (4874 Views)
Reply
Occasional Visitor
otip
Posts: 1
Registered: ‎11-18-2013
Message 1 of 3 (4,874 Views)

Renew subscription on NMMi WS-E

Hello,

 

We don't manage to renew subscription on the incident notification service (NMMi WS-E).

 

The SOAP message that we send seems to respect the rule (http://www.w3.org/Submission/WS-Eventing/). But we receive an error :

"The message is not valid and cannot be processed: Cannot obtain subscription id."

 

The renew request that we send is :

<?xml version="1.0" encoding="UTF-8"?>
<env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:wse="http://schemas.xmlsoap.org/ws/2004/08/eventing">
 <env:Header>
  <wsa:Action xmlns:wsa="http://www.w3.org/2005/08/addressing">http://schemas.xmlsoap.org/ws/2004/08/eventing/Renew</wsa:Acti...>
  <wsa:MessageID xmlns:wsa="http://www.w3.org/2005/08/addressing">urn:e89ea4ab-d3a6-40e3-bbec-745b9b5028a9</wsa:MessageID>
  <wsa:ReplyTo xmlns:wsa="http://www.w3.org/2005/08/addressing">
   <wsa:Address>http://10.XX.XX.XX:8080/NnmNotificationClient/notifications</wsa:Address>
  </wsa:ReplyTo>
  <wsa:To xmlns:wsa="http://www.w3.org/2005/08/addressing">http://notification.sdk.nms.ov.hp.com/nms-sdk-notify/Subscript...>
  <wse:Identifier>urn:jbwse:bdca61f-55be-448f-bdb1-212536e6be32</wse:Identifier>
 </env:Header>
 <env:Body>
  <wse:Renew>
   <wse:Expires>2013-11-18T14:09:43.631+01:00</wse:Expires>
  </wse:Renew>
 </env:Body>
</env:Envelope>

 

 

The renew response that we obtain is :

<env:Envelope xmlns:env='http://schemas.xmlsoap.org/soap/envelope/'>
 <env:Header xmlns:wsa='http://www.w3.org/2005/08/addressing'>
  <wsa:To>http://10.XX.XX.XX:8080/NnmNotificationClient/notifications</wsa:To>
  <wsa:Action>http://www.w3.org/2005/08/addressing/fault</wsa:Action>
  <wsa:MessageID>urn:uuid:e1d1e6c-a222-4735-b649-fd9c9fcf0897</wsa:MessageID>
  <wsa:RelatesTo>urn:e89ea4ab-d3a6-40e3-bbec-745b9b5028a9</wsa:RelatesTo>
 </env:Header>
 <env:Body>
  <env:Fault xmlns:env='http://schemas.xmlsoap.org/soap/envelope/'>
   <faultcode>env:Server</faultcode>
   <faultstring>The message is not valid and cannot be processed: Cannot obtain subscription id.</faultstring>
  </env:Fault>
 </env:Body>
</env:Envelope>

 

 

Do you have an idea of what is wrong is our request?

 

Thank you.

HP Expert
Dave Young
Posts: 569
Registered: ‎09-27-2000
Message 2 of 3 (4,842 Views)

Re: Renew subscription on NMMi WS-E

Hello Otip,

 

  SDK questions and issues are normally handled by our CPE team.  I passed on your information to them for a quick review and they have suggested to check the system times on the client system and the NNMi host system.  Apparently if they are out of synch by too much then this can lead to the issue you are seeing.

 

  If this is not the case and you are still having problems then can I suggest you open a case with us so that we can properly track the issue and provide the support you need.

 

  all the best

 

Dave

HP Support

The views expressed in my contributions are my own and do not necessarily reflect the views and strategy of HP

If you find this or any post resolves your issue, please be sure to mark it as an accepted solution.
Frequent Visitor
Tamas Orosz
Posts: 1
Registered: ‎05-05-2010
Message 3 of 3 (4,801 Views)

Re: Renew subscription on NMMi WS-E

Hi Otip!

 

On the last week I got same error message... I think it's a very annoying problem.

 

The wse:Identifier xml tag has a required attribute: wsa:IsReferenceParameter='true'

and your request will be perfect!

 

Please read the WS Addressing - W3C Recommendation :) documentation:

http://www.w3.org/TR/ws-addr-soap/#additionalinfoset

 

 

Have a nice day!

 

Thomas

The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation.