opensubscriber
   Find in this group all groups
 
Unknown more information…

d : dev@otrs.org 30 August 2010 • 12:29PM -0400

[dev] error 500 calling rpc.pl
by Leonardo Certuche

REPLY TO AUTHOR
 
REPLY TO GROUP



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, attached are the two
files involved:

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
MedellĂ­n, Colombia

Bookmark with:

Delicious   Digg   reddit   Facebook   StumbleUpon

opensubscriber is not affiliated with the authors of this message nor responsible for its content.