Questions and discussion about developing processes and programming in PHP, JavaScript, web services & REST API.

Moderator: ArturoRobles

Forum rules: Please search to see if a question has already asked before creating a new topic. Please don't post the same question in multiple forums.

I'm using Anonymous Authentication for Web Entry and build my own login page and system. But after all is passed good, I use wsdl2 to login user.
My first thought was that the problem is because I'm using wsdl2 for logging in users,
But after i used a separate php file to login, everything works fine.
So i think the problem is with Web Entry login and something to do with guest user that first create the Web Entry,
Every time i want to call a REST API i get this:
Code: Select all
{"error":{"code":400,"message":"Bad Request: This case is assigned to another user"}}
I can run processes assigned for the current logged in user, BUT I can't call any REST API methods.

Thanks in advance

I added
Code: Select all
$_SESSION = []; // clear session

before add new location in HTTP header and using new sid retrieved from wsdl2 login method.

Hope this help someone else :wink:

Any ideas in this regard? Thanks

Can anyone help me please??????

rabbidwombat, I have created a better code examp[…]

Processmaker 3.6.1 OpenSource?

Generally, they share the latest release source co[…]