how can i monitor a soap response with scom 2007 r2
hello i need to monitor a web application i'm trying to create the monitor using a web application template. after entering the url and i then changed the http method to POST instead of the GET, then i copy the xml request to the body and entered in the http headers name of Content-Type and value of application/soap+xml the response is an xml the i need to monitr somthing like <returncode>0</returncode> so i mark that in the content mach as contins and the line <returncode>0</returncode> it's not working :) i dont know why :) any help with be a appreciated thank you
May 2nd, 2012 7:10am

Hi, I think you may need to create a script based monitor to achieve this. Please also refer to: Monitor a web service in SCOM 2007 R2 Hope this helps. Thanks. Nicholas Li TechNet Community Support
Free Windows Admin Tool Kit Click here and download it now
May 3rd, 2012 5:18am

hi nicolas thanks for the replay but i viewed those articles and they use the get option while i need to post a xml pattern in my request i sae that the script in the link insdie of you replay uses a post metod but i didnt see how can i monitor the response string thank you
May 6th, 2012 2:21am

Shanoos, I think you are on the correct track. We are currently using the web templates to monitor REST and XMLRPC web services. I have even posted a simple how to here. If getting hung up on the response string is your main issue there is a Technet article for that as well. The are two limitations to this method. 1. You are limited to Head, GET and POST. The best information I have from my TAM so far is that other methods are not supported. If someone knows otherwise, please post here. If you have to use other methods, the a script based monitor or rule is your best option. 2. You are obviously limited to simple content matches, or regex . If you need to do complex queries or math/logic functions against the output of the API you will have to use a script. Let me know if either of these links are helpful, or if you have other questions.
Free Windows Admin Tool Kit Click here and download it now
June 3rd, 2012 10:18pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics