Error with WebService

Moderator: crythias

Locked
luisjf
Znuny newbie
Posts: 55
Joined: 06 Jul 2010, 19:32
Znuny Version: 3.1.2

Error with WebService

Post by luisjf »

Hi good morning,

I'm trying to do some testing with web services that are integrated in OTRS 3.1, for this I am following the official documentation, my problem starts when I try to make an application when configured as the otrs server, I am following the example of how to make a customer basics:

http://doc.otrs.org/3.1/en/html/generic ... ctors.html # id462948

when I run this. pl in my terminal the system answers:


Got no OperationType Server!


If anyone can guide me a bit, I have not much experience in web services but use a lot otrs.

regards
Production Environment: OTRS 3.1.12, ITSM-OTRS 3.1.2, Debian Squeeze, Postgresql 8.4, Apache 2
Development Environment: OTRS 3.1.12, ITSM-OTRS 3.1.2, Debian Squeeze, Postgresql 8.4, Apache 2
The Red
Znuny newbie
Posts: 2
Joined: 14 Mar 2012, 16:10
Znuny Version: 31111

Re: Error with WebService

Post by The Red »

Could you fix this problem? Because i got the same error
MarianTheBarbarian
Znuny newbie
Posts: 3
Joined: 04 Jun 2012, 14:10
Znuny Version: 3.1.5
Real Name: Piotr Małek

Re: Error with WebService

Post by MarianTheBarbarian »

I had same problem. The reason why it happened was wrong definition of $Operation variable.

At first I used just as in example:

my $Operation = 'TicketCreate';

After few tries I figured out that this is not name of operation in connector, but a name I defined, in my case createTicket. So after switching to:

my $Operation = 'createTicket';

everything worked just fine.
Locked