[otrs] rpc.pl vs nph-genericinterface.pl

363 views
Skip to first unread message

Cyrille Bollu

unread,
Jul 26, 2013, 2:25:18 AM7/26/13
to ot...@otrs.org
Hi list,

When trying to access OTRS via SOAP, which one should I use? rpc.pl or
nph-genericinterface.pl?

The later is better documented but support fewer operations than the
former...

What's best?

Regards,

Cyrille
---------------------------------------------------------------------
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

Never Min

unread,
Jul 26, 2013, 2:30:57 AM7/26/13
to User questions and discussions about OTRS.
http://wiki.otterhub.org/index.php?title=Create_a_ticket_in_OTRS_from_PHP_via_RPC

what is version of your OTRS,
hope this is you need.


-Never

2013/7/26 Cyrille Bollu <cyrill...@belnet.be>:

Michiel Beijen

unread,
Jul 26, 2013, 2:49:53 AM7/26/13
to User questions and discussions about OTRS.
rpc.pl is the 'old' style XML over RPC interface. the nph-genericinterface.pl is the 'new' pure SOAP interface.

  • Using RPC you can integrate directly with a part of the backend OTRS APIs which are relatively low level, using the Generic Interface you can use a bit higher level operations.
  • While both interfaces are possible to use from different programming languages, especially .Net and Java coders will want to use the Generic Interface as it comes with WSDLs which much better match their tooling.
  • For the rpc.pl there is just one username/password combination for all of OTRS, which gives full power (and possibilities) to the API using it. WIth Generic Interface you can authenticate with Agent or Customer logins and permissions will be respected.
So long story short, you would probably want to use the Generic Interface. But as you said not all operations are provided - currently just operations for tickets and for FAQ - so depending on what you want to achieve you might need to extend the interface a bit.

--
Mike
Reply all
Reply to author
Forward
0 new messages