I am new in oracle apex, and I need to create a webservice to be used from a store procedure
in a package, written in plsql for an oracle forms application, so I need to create a SOAP webservice because ,... is there a way to create a SOAP (xml) in oracle-apex?
thanks in advance
Related
I'm implementing Liferay 7 Service Builder which should not create database table and will call RESTful web services API. The web services to be invoked are custom and outside the Liferay; they have nothing to do with Liferay at all. The web services provide JSON format data to Service Builder. The Service Builder shall map it to its generated POJO class, and by using Jackson library would convert it back to JSON string. The portlet which would call the Service Builder (XxxServiceImpl) converts the JSON string to POJO object and render it on JSP.
I've search the world wide web to no avail. I hope anybody can help me.
Thank you.
By creating an empty entity, you'll get the services generated for you, though with no model classes - they'd be up to you to create yourself:
<service-builder package-path="com.example.foo">
<namespace>FOO</namespace>
<entity name="Foo" local-service="true" remote-service="true">
</entity>
</service-builder>
This will generate FooService, FooLocalService and the matching implementation classes, but no FooModel etc. - as this is something that you'd persist yourself anyways, you can (and should) build the model classes on your own. Liferay's ServiceBuilder would help you with the database persistence, but not with any other persistence.
Apologies as I am new to the webservice space. I would like to ask some guidance on how to create a webservice that will receive data from a mobile app (XML or JSON). It will just be a simple call and Inwould need the data to be inserted to our database. I can manage to deal with the DB and the actual flow and my issue is more on how to create the actual webservice from Mule. and thought examples and comment will be appreciated.
Thanks Again
Creating web-services in Mule is pretty easy to implement and start consuming.
You can go through these links to give you a good headstart:
https://docs.mulesoft.com/mule-user-guide/v/3.7/building-web-services-with-cxf
And you can play with this project:
https://github.com/marcotello/MuleESB/tree/master/simplecxfservice
However, as you mention you know something about the mule components and flows, you'll have to do transformation of your XML/JSON input received from the mobile App to be able to be saved in Database properly.
To accept requests from mobile applications - create light weight rest APIs that consume JSON payload over the http protocol.
There are various frameworks to create rest APIs. To develop rest APIs using mule follow:
https://docs.mulesoft.com/mule-user-guide/v/3.7/rest-api-examples
Once you create a rest API, use a JSON-Object transformer with a return type of java.util.map to access each of the fields in the JSON payload.
Check out the available transformers at the below mentioned link.
https://docs.mulesoft.com/mule-user-guide/v/3.7/transformers
I have developed an application in Oracle Application Express 4.0.
I now want to create a SOAP Web Service for my application. Are there any APEX 4.0 widgets or plugins that will help me with this ?
Has any one tried to create a web service out of their application in Apex. If so what would be the pros and cons in doing so.
I am fairly new to APEX . Appreciate your comments / suggestions !!
Mohan,
refer video https://apex.oracle.com/pls/apex/f?p=44785:24:3620318427055:::24:P24_CONTENT_ID,P24_PROD_SECTION_GRP_ID,P24_PREV_PAGE:5815,,24#prettyPhoto
which shows how to create SOAP web services
I have a working JSP page (with one parameter). Now somebody wants to use my JSP as a webservice.
How can I create a WSDL for my JSP, and how do I passthrough parameters
I'm able to to create a WSDL and test it, but I'm unable to read my parameter request.getParameter in the JSP.
I would suggest looking into some existing framework, like axis2 or jax-ws, for creating web services. Doing SOAP manually tend to get...messy.
I'm using Axis2 1.4.1 to expose RESTful web services. I need to return xml structure (or any other for example ATOM xml or RSS xml or JSON structure) of my choosing. Axis2 out of the box returns it's own default xml structure (which is SOAP like). The question is what is the right way to customize this.
Is it via Handlers? Is it via Data Binding? Is it via custom MessageFormatter? What is the way and how?
Thanks