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 http://wiki.ocsinventory-ng.org. Read it before asking your question.

Problems with OCS Web Service (Using C#)

Hi all,

I'm trying to use the Ocs Inventory Soap Web sevice using C#, but i got some problems. Here's my code and my errors:

If you need more info, just tell me.

https://dotnetfiddle.net/LU0SM2

And my errors:

<?xml version="1.0" encoding="UTF-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" soap:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
    <soap:Body>
        <soap:Fault>
            <faultcode>soap:Client</faultcode>
            <faultstring>Denied access to method (get_computers_V1) in class (main) at /usr/local/share/perl/5.14.2/SOAP/Lite.pm line 2806.
            </faultstring>
        </soap:Fault>
    </soap:Body>
</soap:Envelope>

in OCS Inventory NG server for Unix by (120 points)
edited by

1 Answer

0 votes
I have the same error. Could anyone help me?
by (200 points)
 
Powered by Question2Answer
...