rpc.pl vs nph-genericinterface.pl

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

http://wiki.otterhub.org/index.php?title=Create_a_ticket_in_OTRS_from_PHP_vi...
what is version of your OTRS,
hope this is you need.
-Never
2013/7/26 Cyrille Bollu
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

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
On Fri, Jul 26, 2013 at 8:25 AM, Cyrille Bollu
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/otrshttp://lists.otrs.org/pipermail/otrs To unsubscribe: http://lists.otrs.org/cgi-bin/**listinfo/otrshttp://lists.otrs.org/cgi-bin/listinfo/otrs
participants (3)
-
Cyrille Bollu
-
Michiel Beijen
-
Never Min