It's all about the answers!

Ask a question

Deploy webservice to support widget extension in Doors next 7.0.3


Joshua Baxter (512715) | asked Nov 12, 12:23 p.m.
edited Nov 12, 12:41 p.m.

I know you can deploy widget extensions to DOORS Next. These widget extensions are just JavaScript and HTML. Is it possible to deploy a backend webservice that is used by the widget extension in DOORS Next, or does the backend service have to be deployed in a separate external server? If backend webservices can be deployed in Doors Next, what languages does Doors Next support for backend webservices; is Python supported?

Accepted answer


permanent link
Davyd Norris (2.8k217) | answered Nov 12, 4:34 p.m.
The actual widget must be XML/HTML, which can call any front end or back end. The most common is Javascript, which then runs in the browser.

If you need a web service then that, by definition, is a back end service - it can be any language you like but it needs to run on a back end somewhere, in a server of some kind. You need to provide that server in some way - ELM won't do that for you.

The Python/Flask app is an app, running on a machine somewhere - it's not something that just magically starts running as a back end service as part of the gadget code
Joshua Baxter selected this answer as the correct answer

One other answer



permanent link
Daniel Moul (5.0k1318) | answered Nov 12, 1:44 p.m.
FORUM MODERATOR / JAZZ DEVELOPER

The OpenSocial gadget / web service can be written in any language. For example, I've recently seen one that's a Python flask app.


Comments
Joshua Baxter commented Nov 12, 2:10 p.m. | edited Nov 12, 2:54 p.m.

Do you know the URL for the Python flask app example? The reason I thought that only HTML/JavaScript could be deployed directly in Doors Next's open social container was due to this jazz.net documentation which detailed that backed web services would have to be deployed within an external server. And by deployed directly I mean that the webservice itself is deployed within DOORS Next's server.


Daniel Moul commented Nov 12, 4:33 p.m.
FORUM MODERATOR / JAZZ DEVELOPER

The Flask app is not public.


Yes you need to host your OpenSocial gadgets somewhere. As I recall, if they are static html or JavaScript, you can host them in a HTTP server, and you could use the Liberty server that DOORS Next is using. In any case, it doesn't run "in the DOORS Next server".

If your gadget is a Flask app (or other executable app), then you need a (non-HTTP) server where you can run it.

Your answer


Register or to post your answer.


Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.