JDeveloper使用Toplink DB Provider发布Webservice
发布时间:2020-12-16 22:03:01 所属栏目:安全 来源:网络整理
导读:With JDeveloper 11gR2 you can now create database based web services using? JAX -WS Provider. The key differences between this and the already existing PL/SQL Web Services support is: Based on? JAX -WS Provider Supports? SQL ?Queries for c
With JDeveloper 11gR2 you can now create database based web services using?
JAX
-WS Provider. The key differences between this and the already existing PL/SQL Web Services support is:
This is present as a new option in the New Gallery under 'Web Services' When you invoke the New Gallery option,it present you with three options to choose from: In this entry I will explain the options of creating service based on? SQL? queries and Table? CRUD? operations. SQL?Query based Service? When you select this option,on 'Next' page it asks you for the DB Conn details. You can also choose if you want SOAP ?1.1 or 1.2 format. For this example,I will proceed with? ?1.1,the default option. On the Next page,you can give the? query. The wizard support Bind Variables,so you can parametrize your queries. Give "?" as a input parameter you want to give at runtime,and the "Bind Variables" button will get enabled. Here you can specify the name and type of the variable. Finish the wizard. Now you can test your service in Analyzer: See that the bind variable specified comes as a input parameter in the Analyzer Input Form: CRUD?Operations For this,At Step 2 of Wizard,select the radio button "Generate Table? CRUD ?Service Provider" At the next step,select the DB Connection and the table for which you want to generate the default set of operations: Finish the Wizard. Now,run the service in Analyzer for a quick check. See that all the basic operations are exposed: (编辑:李大同) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |
相关内容
- angular – 无法调试模块myapp / public / app / app.modul
- scala – libraryDependencies中的revisionId如何成为SBT 0
- angularjs – 为什么{{}}不能在src属性中工作?为什么我需要
- 确定shell脚本的函数和文件依赖性?
- angular – 错误:模板解析错误:无法绑定到’myProperty’
- angularjs – ng-animate:模型更改时的动画
- scala – EssentialAction:如何在不解析请求的情况下获取请
- scala – 将迭代的两个和k转换为函数
- 利用Axis2开发WebService(3)---用Java实现调用WebService的
- shell日常脚本