error 500 calling rpc.pl

English! place to talk about development, programming and coding
Post Reply
leocertuche
Znuny newbie
Posts: 40
Joined: 12 Apr 2010, 22:50
Znuny Version: 2.4.7
Location: Medellin, Colombia
Contact:

error 500 calling rpc.pl

Post by leocertuche »

Hello there!

We're currently developing an extension to the OTRS API that will allow us to create/modify/link OTRS configuration items using calls made from third-party applications. In order to avoid starting from scratch we decided to first try to adopt the current API to our needs.

rpc.pl has some useful SOAP methods that we'd like to imitate in order to have available new methods related to the Kernel::System::GeneralCatalog class, but when we add the new line to instance that object:

$CommonObject{GeneralCatalogObject} = Kernel::System::GeneralCatalog->new(%CommonObject);

We get error 500.

We're currently consuming the services exposed by default on rpc.pl and they work flawlessly. It's only when the mentioned line is added that error 500 occurs.

What changes should we make to Kernel::System::GeneralCatalog in order to use it as a SOAP service?

Thanks in advance for your help,
Leonardo Certuche
www.itconsultores.com.co
Post Reply