Problem with List method in servicebroker

  • 18 August 2015
  • 2 replies
  • 1 view

Badge +1

Hi everyone

 
I have a problem with a custom servicebroker. 
 
One of the methods returns a list of custom objects, but when I call the method from a form to show the data in a view, the form just hangs, showing the green spinner (not rotating).
If I call the method using the SmartObject Service Tester, it returns without any problems.
 
I can attach Visual Studio to the K2 process, and verify that the method is called correctly by the form.
 
All the Read methods work as intended.
 
Any ideas? Thanks
 
Oskar

2 replies

Badge +5

Hi Oskar, is your service broker local or does it need to run off another system or the internet? Do you need to connect to the internet or reach the service via proxy?

That might be the issue if it works in SMO Tester but "hangs" with SF.

Badge +1

Hi, thanks for your input.

 
Everything is running locally on the same machine.
 
I traced the error to a browser issue. 
When accessing the SF from a different machine, everything works fine. I then tried to add the servername to the list of trusted sites on the machine, and now the site also works when accessing locally.

Reply