OTRS 6 how to authenticate to webservice SOAP provider?

Moderator: crythias

Post Reply
ios
Znuny newbie
Posts: 4
Joined: 01 Aug 2025, 21:47
Znuny Version: 6.0.41
Real Name: Illarion Shulakewych

OTRS 6 how to authenticate to webservice SOAP provider?

Post by ios »

This seems like it should be easy but I've run into every wall imaginable (googled everything I could think of) and can use some help with SOAP web services..

I'm using SoapUI 5.9.0 to test a proof of concept. I've created the webservice and added the operations (TicketCreate, TicketGet...)

My issue is when I try to connect (use TicketGet and an example) I keep getting authorization failed.

I've grabbed the WSDL file from our production build that was version OTRS5. Would that be the reason the xml generated by SoapUI isn't allowing to authenticate? Is there an example of what the in SoapUI should look like?
I've attached the soap envelope of a basic request.

Or does it need to be in the header with encoding?

Any help would be greatly appreciated.
Screenshot 2025-08-03 201755.png
alexus
Znuny wizard
Posts: 383
Joined: 20 Sep 2010, 16:54
Znuny Version: OTRS 6 CE
Real Name: Alexey Yusov
Company: Radiant System Group s.r.o
Location: Prague
Contact:

Re: OTRS 6 how to authenticate to webservice SOAP provider?

Post by alexus »

Hi, please share screenshot with auth errors
Alexey Yusov

Production: OTRS CE ITSM 6.0.28 on CentOS 7 + Apache 2.4 + MariaDB 10.4.13 + Radiant Customer Portal

Radiant System OTRS Intergrator
RS4OTRS marketplace
Stay tuned on our Facebook
((OTRS)) Community Edition - what next?
ios
Znuny newbie
Posts: 4
Joined: 01 Aug 2025, 21:47
Znuny Version: 6.0.41
Real Name: Illarion Shulakewych

Re: OTRS 6 how to authenticate to webservice SOAP provider?

Post by ios »

I thought I attached. Will try again.

On the right side is the reply from the server. That's the error.
You do not have the required permissions to view the files attached to this post.
Johannes
Moderator
Posts: 435
Joined: 30 Jan 2008, 02:26
Znuny Version: All of them ^^
Real Name: Hannes
Company: Znuny|OTTERHUB

Re: OTRS 6 how to authenticate to webservice SOAP provider?

Post by Johannes »

Hi,

can you login on the "regular" frontend using the credentials?

Regards
Johannes
ios
Znuny newbie
Posts: 4
Joined: 01 Aug 2025, 21:47
Znuny Version: 6.0.41
Real Name: Illarion Shulakewych

Re: OTRS 6 how to authenticate to webservice SOAP provider?

Post by ios »

yes absolutely, no problem logging in with those credentials
ios
Znuny newbie
Posts: 4
Joined: 01 Aug 2025, 21:47
Znuny Version: 6.0.41
Real Name: Illarion Shulakewych

Re: OTRS 6 how to authenticate to webservice SOAP provider?

Post by ios »

Ok, I solved it. I finally got access. I believe I had not edit the wsdl file correctly. Something must have been pointing at the wrong server.

My apologies to everyone.
Post Reply