Welcome to OCS Inventory NG community support, where you can ask questions and receive answers from other members of the community.

Please ask questions only in English or French.

Release 2.12.3 available

The official documentation can be found on https://wiki.ocsinventory-ng.org. Read it before asking your question.

Comment accéder à ocs inventory à distance via soap?

Salut,

Je voudrais accéder à des informations répertoriées par ocs inventory installé sur un serveur distant.

J'ai utilisé le sample client de la documentation permettant d'invoquer le web service soap en indiquant le serveur distant, le nom d'utilisateur et le mot de passe mais je ne parviens à y accéder.

J'ai le message d'erreur suivant:

mismatched tag at line 10, column 300, byte 816 at C:/Perl/lib/XML/Parser.pm line 187.
<html>
            <head>
                <TITLE>OCS Inventory</TITLE>
                <LINK REL='shortcut icon' HREF='favicon.ico' />
                <LINK REL='StyleSheet' TYPE='text/css' HREF='css/ocsreports.css'><script language="javascript">
    var MonthName=["January","February","March","April","May","June","July","August","September","October","November","December"];
    var WeekDayName=["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"];
    </script>    
        <script language="javascript" type="text/javascript" src="js/datetimepicker.js">
    </script><script language='javascript' type='text/javascript' src='js/function.js'></script><script src='js/graph/jquery-1.6.2.js' type='text/javascript'></script><script src='js/graph/raphael.js' type='text/javascript'></script><script src='js/graph/elycharts.js' type='text/javascript'></script></head><body bottommargin='0' leftmargin='0' topmargin='0' rightmargin='0' marginheight='0' marginwidth='0'><table  border='0' class='headfoot' ><tr><td align=left><a onclick='clic("index.php?first","FIRST");'><img src='image/logo OCS-ng-96.png'></a></td><td width= 70%></td><td width= 10% align=center>
    Ver. <b>2.0.4</b><br></td></tr><tr><td colspan=20 align=right><img src='plugins/language/french/french.png' width="20" height="15" OnClick='pag("french","LANG","ACTION_CLIC");'>&nbsp;<img src='plugins/language/english/english.png' width="20" height="15" OnClick='pag("english","LANG","ACTION_CLIC");'>&nbsp;<img src='plugins/language/german/german.png' width="20" height="15" OnClick='pag("german","LANG","ACTION_CLIC");'>&nbsp;<img src='plugins/language/spanish/spanish.png' width="20" height="15" OnClick='pag("spanish","LANG","ACTION_CLIC");'>&nbsp;<img src='plugins/language/italian/italian.png' width="20" height="15" OnClick='pag("italian","LANG","ACTION_CLIC");'>&nbsp;<img src='plugins/language/brazilian_portuguese/brazilian_portuguese.png' width="20" height="15" OnClick='pag("brazilian_portuguese","LANG","ACTION_CLIC");'>&nbsp;<img src='plugins/language/polish/polish.png' width="20" height="15" OnClick='pag("polish","LANG","ACTION_CLIC");'>&nbsp;<img src='plugins/language/hungarian/hungarian.png' width="20" height="15" OnClick='pag("hungarian","LANG","ACTION_CLIC");'>&nbsp;<img src='plugins/language/portuguese/portuguese.png' width="20" height="15" OnClick='pag("portuguese","LANG","ACTION_CLIC");'>&nbsp;<img src='plugins/language/russian/russian.png' width="20" height="15" OnClick='pag("russian","LANG","ACTION_CLIC");'>&nbsp;<img src='plugins/language/slovenian/slovenian.png' width="20" height="15" OnClick='pag("slovenian","LANG","ACTION_CLIC");'>&nbsp;<img src='plugins/language/turkish/turkish.png' width="20" height="15" OnClick='pag("turkish","LANG","ACTION_CLIC");'>&nbsp;</td></tr></table><div class='fond'><br><form name='' id='' action='' method='POST'><div class="mlt_bordure" ><table align='center' border='0' cellspacing=20 ><tr><td colspan=10 align='center'><font color=red><b><i></i></b></font></td></tr><tr><td>User: </td><td><input type='text' name='LOGIN' id='LOGIN' SIZE='20' MAXLENGTH='255' value="" class='down'" ></td></tr><tr><td>Password:</td><td><input size='20' type='password' name='PASSWD' class='hi' \></td></tr><tr ><td colspan=10 align='center'><i></i></td></tr><tr><td colspan=2 align='center'><input title='Enable this alteration'  type='submit'  name='Valid_CNX' value='Send'></td></tr></table></div></form><br></div><table class='headfoot'><tr height=25px><td align='center'>&nbsp;</td></tr></table><form action='' name='ACTION_CLIC' id='ACTION_CLIC' method='POST'><input type='hidden' name='RESET' id='RESET' value=''><input type='hidden' id='LANG' name='LANG' value=''></form></body>
</html>
 at C:/Users/user/workspace/ocsweb/ocsweb.pl line 72.

Aidez-moi s'il vous plait!
in OCS Inventory NG agent for Windows by (160 points)

Please log in or register to answer this question.

 
Powered by Question2Answer
...