Hello,
Would it be possible in any way to handle a web request through eBase and respond only with the word TRUE or FALSE in the source code?
There'd be a script to read some http GET parameters, these would be parsed and written to a database table. The response would essentially be an empty document, besides the TRUE or FALSE status code indicating success or failure to parse the input.
Thanks.
Ed
Sending a custom response document?
Moderators: Jon, Steve, Ian, Dave
-
- Ebase User
- Posts: 8
- Joined: Tue Jun 04, 2013 8:13 am
-
- Moderator
- Posts: 1342
- Joined: Wed Sep 12, 2007 12:49 pm
Ed,
No, you can't get Ebase to generate a response document like this, it will always contain more than you want. I suspect you might need a different approach: can you get your client to call a web service? Then you could create an Ebase Integration Service to handle this, which would give you complete control over what goes in the response document.
If you can't use a web service, you might be able to achieve what you want by using a servlet filter (Java programming). A filter can intercept the response object generated by Ebase and replace it with your own. Doesn't sound like a very elegant solution to me though.
Regards
Jon
No, you can't get Ebase to generate a response document like this, it will always contain more than you want. I suspect you might need a different approach: can you get your client to call a web service? Then you could create an Ebase Integration Service to handle this, which would give you complete control over what goes in the response document.
If you can't use a web service, you might be able to achieve what you want by using a servlet filter (Java programming). A filter can intercept the response object generated by Ebase and replace it with your own. Doesn't sound like a very elegant solution to me though.
Regards
Jon
0 x
-
- Ebase User
- Posts: 8
- Joined: Tue Jun 04, 2013 8:13 am
-
- Moderator
- Posts: 1342
- Joined: Wed Sep 12, 2007 12:49 pm
Who is online
Users browsing this forum: No registered users and 3 guests