KS-Soft. Network Management Solutions
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister    ProfileProfile    Log inLog in 

Help with SOAP/XML Test

 
Post new topic   Reply to topic    KS-Soft Forum Index -> Configuration, Maintenance, Troubleshooting
View previous topic :: View next topic  
Author Message
Christiane



Joined: 15 Nov 2011
Posts: 12

PostPosted: Fri Nov 18, 2016 6:36 am    Post subject: Help with SOAP/XML Test Reply with quote

Hi!
I do not know much about SOAP, but I need to grap and compare a single value from a XML webpage.
Unfortunately the URL from your sample in hostmonitor help (http://www.mathertel.de/CalcFactors/) is broken and it is difficult for me to understand what to do.
It would be nice to have another sample?

Christiane
Back to top
View user's profile Send private message
KS-Soft Europe



Joined: 16 May 2006
Posts: 2832

PostPosted: Fri Nov 18, 2016 9:03 am    Post subject: Reply with quote

You may try the following SOAP setvice for testing:
http://www.dataaccess.com/webservicesserver/numberconversion.wso?op=NumberToWords

Sample HostMonitor SOAP/XML test settings:
URL: http://www.dataaccess.com/webservicesserver/numberconversion.wso
Request: POST
Parameters:
<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
<soap12:Body>
<NumberToWords xmlns="http://www.dataaccess.com/webservicesserver/">
<ubiNum>22</ubiNum>
</NumberToWords>
</soap12:Body>
</soap12:Envelope>

SOAP version 1.2

Check XML value:
XPath: //m:NumberToWordsResult
Alert when 1st row DOESN'T CONTAIN two

Please check for XPath tutorial at:
http://www.w3schools.com/xml/xml_xpath.asp
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Christiane



Joined: 15 Nov 2011
Posts: 12

PostPosted: Sat Nov 19, 2016 3:41 pm    Post subject: Reply with quote

Thank you very much! This sample works
And I now realized that in our case (XML page, not service) I do not have to use SOAP parameters but only XPATH and that does our job very nice.

Happy - Christiane
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    KS-Soft Forum Index -> Configuration, Maintenance, Troubleshooting All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

KS-Soft Forum Index