Unable to execute Action in Orbeon form

24 views
Skip to first unread message

Isha Gupta

unread,
Jan 25, 2026, 2:56:03 PM (9 days ago) Jan 25
to Orbeon Forms
Hi 
I am attempting to create a simple form via yform hybris ( orbeon forms), where i have configured controls (form fields), Action (tied with a button control )and service (called by action).

But upon the button click, there is no visibility if my service was called or not and if the call was successful.

In Hybris, after publishing the form, all i can see is a xform-server call which gives no insights into what happed on  button click. 

Please suggest what should be my approach if :
i want to submit form data to a resource and also recieve the display the received html response.

Regards
Isha Gupta

Alessandro Vernet

unread,
Jan 25, 2026, 5:40:04 PM (9 days ago) Jan 25
to orb...@googlegroups.com
Hi Isha,

Start by testing the service in Form Builder. In the HTTP Service Editor, click the "Test" button to verify your service works correctly before integrating it into your form. You'll see the response status, headers, and body.

https://doc.orbeon.com/form-builder/http-services#testing-a-service

If this isn't enough to understand why the service call doesn't return the result you expect, try this: configure your `properties-local.xml` and `log4j2.xml` according to the Development configuration section of the XForms Logging page (link below). Then stop your server, remove the `orbeon.log`, and restart the server. Run a `tail -f orbeon.log` or something similar, and analyze the output while the service is running.

--
You received this message because you are subscribed to the Google Groups "Orbeon Forms" group.
To unsubscribe from this group and stop receiving emails from it, send an email to orbeon+un...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/orbeon/4444a210-a5ce-4338-94ca-0a30ab211300n%40googlegroups.com.

Isha Gupta

unread,
Jan 26, 2026, 12:34:46 PM (8 days ago) Jan 26
to orb...@googlegroups.com
Hi Alex, 

Thankyou for your reply.

I have tested my service in the builder itself. And the service works. Also the control (button) with which i have tied the action, also seems to be generating a call, which i can see in the networks tab.

My issue is, the request that gets made on button click, is always a generic xforms-server call, without a hint if the underlying service was called successfully or not.


image.png

Also i want to receive a response and want to display that instead of form body once recived.

So the queries are : 

1) Can i see the actual service request somewhere and know if was 200OK or get any error encountered ?
2) Can i receive and display html response for a requested service?
3) can i execute multiple actions.

is this possible after configurations from Yform Builder itself?

I have added debug properties as well, but i am unable to get any logs around submission along with my general logs for the hybris website on ccv2. 

Regards
Isha Gupta



--
Isha Gupta | MCA (Jamia Millia Islamia)
Department of Computer Science

Alessandro Vernet

unread,
Jan 26, 2026, 11:05:14 PM (8 days ago) Jan 26
to orb...@googlegroups.com
Hi Isha,

I have tested my service in the builder itself. And the service works. Also the control (button) with which i have tied the action, also seems to be generating a call, which i can see in the networks tab.

Just checking: when you test from Form Builder in the HTTP Service Editor dialog, do you see the expected result in the Test Results tab?
 
My issue is, the request that gets made on button click, is always a generic xforms-server call, without a hint if the underlying service was called successfully or not.

The Network tab doesn't provide much useful information here because the Orbeon Forms client code in the browser always sends requests to the Orbeon Forms server, which then forwards the request to your service.
 
1) Can i see the actual service request somewhere and know if was 200OK or get any error encountered ?
2) Can i receive and display html response for a requested service?
3) can i execute multiple actions.

1. You can check the `orbeon.log` for that, as I mentioned in my previous response.
2. No. Services you call from the HTTP Service Editor need to return XML or JSON. You then extract the data, for example, to populate fields.
3. Yes, you can run multiple actions, for example, when the form loads.

I have added debug properties as well, but i am unable to get any logs around submission along with my general logs for the hybris website on ccv2. 

I guess part of the challenge is that you can't access the `orbeon.log` on ccv2, right?

-Alex

Isha Gupta

unread,
Jan 27, 2026, 11:10:49 AM (7 days ago) Jan 27
to Orbeon Forms
Hey Alex,
Thank you for your response!


Just checking: when you test from Form Builder in the HTTP Service Editor dialog, do you see the expected result in the Test Results tab?

Yes The Response Satus code, and Headers are as expected, though i expect an html body as well, which i am unable to see in the Test Result Window.
I am guessing it is not possible to receive an html response with a service in yforms? 
Is customization needed to receive html response at orbeon server side and then return that as part of a json field?


I guess part of the challenge is that you can't access the `orbeon.log` on ccv2, right?
Correct, on ccv2, despite adding the properties and Log levels for diff classes, i am unable to get logs for Orbeon Form interactions, only log published is for the published form url call

Regards
Isha Gupta

Alessandro Vernet

unread,
Jan 28, 2026, 1:17:11 AM (7 days ago) Jan 28
to orb...@googlegroups.com
Hi Isha,

I am guessing it is not possible to receive an html response with a service in yforms? 
Is customization needed to receive html response at orbeon server side and then return that as part of a json field?

Correct. For you to call a service through Services and Actions defined in Form Builder, the service must return JSON or XML, which is pretty standard.

However, you are saying that you can call the service using the Test button in the HTTP Service Editor dialog and see the expected result in the Test Results tab. That should not work if the service is returning HTML. This makes me think there might be some confusion, or I might be missing something.

Could you please share a screenshot of what you have in the first tab of the HTTP Service Editor dialog, and another one showing the Test Results tab after you click the Test button?

I guess part of the challenge is that you can't access the `orbeon.log` on ccv2, right?
Correct, on ccv2, despite adding the properties and Log levels for diff classes, i am unable to get logs for Orbeon Form interactions, only log published is for the published form url call

Got it. Not being able to access the logs makes debugging a bit harder, but the first issue seems to be that you need a service that returns JSON or XML.

-Alex 
Reply all
Reply to author
Forward
0 new messages