I am trying to create a POST API for a client so that they can send XML to my server, the problem is in Liferay I am unable to find how to create such API. As per my findings, Liferay only provides implementation/support for JSON and SOAP services.
Liferay 6.2 rest api with content type text/xml
453 views Asked by Abdul Ahad At
1
There are 1 answers
Related Questions in XML
- Postgres && statement Error in Mybatis Mapper?
- Sorting items after building an XML feed?
- C# XML ModelBinding - ASP.NET Core 8 Web API - required field not found
- How can I create an automatic table of contents in docx without the text being bold?
- Odoo 16 Make Fields Readonly Using XPath
- Using similar tags for different objects in XML
- Android Studio problem like gradle sync project failed and plugin error, version 2023.2.1 Iguana
- error: cannot find symbol View root = inflater.inflate(R.layout.toolbar, parent, false);
- Android camera application restriction to 12 mp
- Azure Data Factory Copy Activity Only Importing First Row of XML file
- I am not able to remove space below the navigation view icon in android studio. What;s wrong with code?
- Field can be converted to a local variable ,convert field to local variable in onCreate method
- Deserialize XML with optional different name
- Retrieve tags from xml using python
- Getting attribute from xml and printing it error
Related Questions in REST
- Query parameter works fine with fastapi application when tested locally but not working when the FastAPI application is deployed on AWS lambda
- Add an http GET/POST entry point to a Django with channels websocket
- Difficulty creating a data pipeline with Fabric Datafactory using REST
- Flutter connection to a local api
- Accessing REST API Status Codes using Azure Data Factory Copy Activity (or similar)?
- Mass Resource deletion in REST
- why when I check endpoint /tasks, an error always appears "error : invalid token" even though I have entered the appropriate token that I got
- How to prevent users from creating custom client apps?
- How to create a REST API with .NET Framework?
- Efficiently Handling Large Number of API Calls with Delphi 10.4 and OmniThreadLibrary
- Put Request throwing 401 [no body] Unauthorized
- Converting img src data to octet-stream
- Implementing Email Verification and Notification System in a Full-Stack Application with React Frontend and Node Backend
- Micronaut - Add Controller from external library
- Moving Template or OVA to Datastore using vCenter API
Related Questions in API
- Google Sheets API - Append Request not working
- Is there really no product for docs that has these?
- How to show suggested content in response using Azure Cognitive Search?
- error message when closing current position in binance futures, using ccxt library
- How to filter API data in React Native
- I have fetched an API with JS, but the output looks really bad and I don't know how to fix it
- Session is not storing in react and Asp Dot Core Web API
- Apex charts not rendering series value, showing cannot map values of NULL
- Configure IIS to accept API calls only from API Manager, Deny from direct calls
- Problems with API return using the Axios library in NextJS
- How to query by Iteration in pyral?
- Is there a way to have a user enter a url query and have a single function filter a database?
- Cant get value in Vue from data
- Read stories/posts using instagram API
- Need To Make Minor Change To REST API Response
Related Questions in LIFERAY
- Liferay DXP Service builder @BeanReference field is null
- How to customize mention notifications in liferay 7.3.5
- Could not find method compileOnly() for arguments
- "error: cannot find symbol import com.liferay.portal.kernel.uuid.PortalUUID;" in Liferay 7.4
- java:41: error: cannot find symbol import com.liferay.portal.kernel.uuid.PortalUUID; in liefray DXP
- liferay, how to add a new permission to liferay using admin panel portal
- Why jmeter/blazemeter is not recording web actions which are in angular?
- liferay-amd-loader - Missing react dependency error in Liferay react application
- Liferay 7.4 | How to Check File Entry Permissions in a Servlet?
- Liferay 7.4 GA107: Unresolved requirement: Import-Package: com.ironsoftware.ironpdf_ [Sanitized]
- Liferay 7.4 theme development with bootstrap/clay css variables in browser
- Liferay 7 Taglib issue with new module in Dev Studio
- Liferay 7.4 GA27+: DLURLHelperUtil.getPreviewURL returning old legacy URL format for Document and Media images
- Freemarker if statements inside html elements
- Uncaught TypeError: A.LiferayItemSelectorDialog is not a constructor - Liferay Portal 7.4 GA 105
Related Questions in LIFERAY-6.2
- Radio button is not clickable in a Liferay portlet after migration from 6.1 to 6.2
- sort of entries by the additional field "Date"
- Ext changes are not loading for liferay 6.2 with Maven build, ext-impl LoginUtil class
- Liferay 6.0 get WebForm-portlet data from db with java controller
- Put the flag secure and httponly in the cookies, in Liferay 6.2 (Localhost)
- Error when adding new table on service.xml - Liferay 6.2
- SSL Handshake Failure Alert for JDK7
- How to use Liferay Mobile SDK 6.2.18 to generate jar libraries now that http is deprecated by both Gradle and Maven?
- Problem when importing a large .lar file in liferay 6.2 Portal?
- How do you get a list of users for a Liferay 6.2 site
- How can i setup Liferay 6.2 tomcat8 server configuration in eclipse or liferay studio? Is it supportable?
- ClassNotFoundException: net.htmlparser.jericho.Source : Newsletters
- How to remove Public render parameter from jsp or render phase of portlet class
- i want to fetch country based on our local timing
- Liferay mail is sending hostname and user information with header
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
If your Service API is not directly related with your portlet, you could also host a plain Servlet using PortalDelegateServlet liferay-invoke-servlet-from-portlet.html so that clients can post raw XML to your server, that you can process. Your URL will look like: {HOST}/delegate/{Sub-ContextName}. But you need to take care of authentication/authorization by yourself using principal information.