Use web service to transform XML in Oxygen Author
Post here questions and problems related to editing and publishing DITA content.
-
- Posts: 32
- Joined: Wed Nov 28, 2018 8:13 pm
Use web service to transform XML in Oxygen Author
Post by akheiljain »
We would like to use a web service to HTTP POST the topic XML from Oxygen Author 20.1 and accept back via HTTP GET a pdf file attachment with MIME type of "application/pdf" and display it to user in Acrobat Reader DC.
I have looked through the forms and found a few suggestions to writing a java extension Plugin, figured I would ask, in case there is a suggested approach to accomplish this behavior.
Thanks in advance for any help.
I have looked through the forms and found a few suggestions to writing a java extension Plugin, figured I would ask, in case there is a suggested approach to accomplish this behavior.
Thanks in advance for any help.
-
- Posts: 9434
- Joined: Fri Jul 09, 2004 5:18 pm
Re: Use web service to transform XML in Oxygen Author
Hi,
Oxygen has Java APIs and you can create for it Java or Javascript-based plugins. The Javascript-based plugins use the Rhyno Javascript engine to interact with our Java API:
https://www.oxygenxml.com/doc/versions/ ... ugins.html
A plugin can add for example a toolbar, main menu or contextual menu action, it can also post via POST to a certain URL a certain content.
We have a bunch of Javascript-based sample plugins here:
https://github.com/oxygenxml/wsaccess-j ... le-plugins
for example we have a plugin which adds a contextual menu action in the Author visual editing mode:
https://github.com/oxygenxml/wsaccess-j ... AuthorPage
there is also a sample plugin which uses POST to send a zip file to a server:
https://github.com/oxygenxml/wsaccess-j ... ipToServer
The same thing can be done with a Java-based plugin, we have a sample Maven-based project here:
https://github.com/oxygenxml/sample-plu ... ace-access
Regards,
Radu
Oxygen has Java APIs and you can create for it Java or Javascript-based plugins. The Javascript-based plugins use the Rhyno Javascript engine to interact with our Java API:
https://www.oxygenxml.com/doc/versions/ ... ugins.html
A plugin can add for example a toolbar, main menu or contextual menu action, it can also post via POST to a certain URL a certain content.
We have a bunch of Javascript-based sample plugins here:
https://github.com/oxygenxml/wsaccess-j ... le-plugins
for example we have a plugin which adds a contextual menu action in the Author visual editing mode:
https://github.com/oxygenxml/wsaccess-j ... AuthorPage
there is also a sample plugin which uses POST to send a zip file to a server:
https://github.com/oxygenxml/wsaccess-j ... ipToServer
The same thing can be done with a Java-based plugin, we have a sample Maven-based project here:
https://github.com/oxygenxml/sample-plu ... ace-access
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
Return to “DITA (Editing and Publishing DITA Content)”
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service