Hi,

The SOAP (Generic Interface) functionality for the FAQ module is only available from OTRS 3.2 on.Please refer to the Generic Interface documentation and the WSDL for more details:
http://source.otrs.org/viewvc.cgi/FAQ/scripts/webservices/GenericFAQConnector.wsdl?revision=1.1&view=co

However, there is also a FAQImport.pl script that you can use to import directly, I think it will be the easiest way for you.

--
Michiel Beijen
Senior Consultant

OTRS BV
Schipholweg 103
2316 XC Leiden
The Netherlands

T: +31 71 8200 255
F: +31 71 8200 254
I: http://www.otrs.com

It's raining ... OTRS Feature Add-Ons:  Choose up to 10 OTRS Feature Add-Ons for free and get direct support from the creators of OTRS  –  
Become a Subscription customer now ! - http://j.mp/OBoPuj



On Thu, Dec 13, 2012 at 10:02 AM, Bruno Cardon <Bruno.cardon@ugent.be> wrote:
Hi
Is there any information available / example on how to create a faq item using the soap interface.
We are using otrs 3.1.10 and FAQ 2.1.3
We need to import a external database (csv-file with language- question - solution) into the otrs faq and want to this using php and soap.

I find this in faq.pm, but don't know / find where to put the language - question - solution of the faq item

=item new()

create a faq object

    use Kernel::Config;
    use Kernel::System::Encode;
    use Kernel::System::Log;
    use Kernel::System::Main;
    use Kernel::System::DB;
    use Kernel::System::Time;
    use Kernel::System::FAQ;

    my $ConfigObject = Kernel::Config->new();
    my $EncodeObject = Kernel::System::Encode->new(
        ConfigObject => $ConfigObject,
    );
    my $LogObject = Kernel::System::Log->new(
        ConfigObject => $ConfigObject,
        ConfigObject => $ConfigObject,
    );
    my $LogObject = Kernel::System::Log->new(
        ConfigObject => $ConfigObject,
        EncodeObject => $EncodeObject,
    );
    my $MainObject = Kernel::System::Main->new(
        ConfigObject => $ConfigObject,
        EncodeObject => $EncodeObject,
        LogObject    => $LogObject,
    );
    my $TimeObject = Kernel::System::Time->new(
        ConfigObject => $ConfigObject,
        LogObject    => $LogObject,
    );
    my $DBObject = Kernel::System::DB->new(
        ConfigObject => $ConfigObject,
        EncodeObject => $EncodeObject,
        LogObject    => $LogObject,
        MainObject   => $MainObject,
    );
    my $FAQObject = Kernel::System::FAQ->new(
        ConfigObject => $ConfigObject,
        EncodeObject => $EncodeObject,
        LogObject    => $LogObject,
        DBObject     => $DBObject,
        TimeObject   => $TimeObject,
        MainObject   => $MainObject,
    );

=cut
---------------------------------------------------------------------
OTRS mailing list: otrs - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/otrs
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs