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 [hidden email]. To post to this group, send email to [hidden email]. |
Administrator
|
What do you mean by "configure a POST request"? What specifically would you
like to configure? What are you trying to achieve? Alex ----- -- Follow Orbeon on Twitter: @orbeon Follow me on Twitter: @avernet -- Sent from: http://discuss.orbeon.com/ -- 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 [hidden email]. To post to this group, send email to [hidden email].
--
Follow Orbeon on Twitter: @orbeon Follow me on Twitter: @avernet |
Sorry for the vague description. I'm trying to set a POST HTTP request from
Orbeon to access my system resources. But while testing it, the login screen of my system is returned back. Obviously, as the request sent from Orbeon was not authenticated, this is the expected behavior. The question here is, how to make the POST HTTP service call similar so that my application server will allow it to access the resources. In effect, I want to set the session parameters in the POST HTTP service call sent from Orbeon, which will make it belong to an existing session. Thus I've posted the screenshot of one of my POST call from the system client to the system server resource. Kush -- Sent from: http://discuss.orbeon.com/ -- 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 [hidden email]. To post to this group, send email to [hidden email]. |
In reply to this post by Alessandro Vernet
Sorry for the vague description. I'm trying to set a POST HTTP request from Orbeon to access my system resources. But while testing it, the login screen of my system is returned back. Obviously, as the request sent from Orbeon was not authenticated, this is the expected behavior. The question here is, how to make the POST HTTP service call similar so that my application server will allow it to access the resources. In effect, I want to set the session parameters in the POST HTTP service call sent from Orbeon, which will make it belong to an existing session. Thus I've posted the screenshot of one of my POST call from the system client to the system server resource.
-- On Friday, February 9, 2018 at 10:39:01 PM UTC+5:30, Alessandro Vernet wrote: What do you mean by "configure a POST request"? What specifically would you 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 [hidden email]. To post to this group, send email to [hidden email]. |
In reply to this post by Alessandro Vernet
Also, I find no appropriate examples for the HTTP POST service in the documentation provided by Orbeon. There's one for GET call. Please provide apt examples for all serialization types of POST service.
-- On Friday, February 9, 2018 at 10:39:01 PM UTC+5:30, Alessandro Vernet wrote: What do you mean by "configure a POST request"? What specifically would you 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 [hidden email]. To post to this group, send email to [hidden email]. |
Administrator
|
Hi Kush,
It seems that you would like call to the service to forward the session id cookie (typically `JSESSIONID`) received from the browser. You can do so by setting the `oxf.http.forward-cookies` property. For more on this, see: https://doc.orbeon.com/configuration/properties/general.html#cookies-forwarding You'll let me know if this helps. Alex ----- -- Follow Orbeon on Twitter: @orbeon Follow me on Twitter: @avernet -- Sent from: http://discuss.orbeon.com/ -- 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 [hidden email]. To post to this group, send email to [hidden email].
--
Follow Orbeon on Twitter: @orbeon Follow me on Twitter: @avernet |
Administrator
|
Hi Kush,
Did forwarding the session cookie to your service with the `oxf.http.forward-cookies` property work for you? Alex ----- -- Follow Orbeon on Twitter: @orbeon Follow me on Twitter: @avernet -- Sent from: http://discuss.orbeon.com/ -- 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 [hidden email]. To post to this group, send email to [hidden email].
--
Follow Orbeon on Twitter: @orbeon Follow me on Twitter: @avernet |
Free forum by Nabble | Edit this page |