来自oracle数据库的Web服务的JSON文件 [英] JSON file via Web Service from oracle database
问题描述
亲爱的所有人,
我是研究网络服务和json的先驱。所以我想使用c#和来自oracle数据库的数据从Web服务创建json文件。例如,我在oracle数据库中有一个Employee表,我想使用c#通过web服务创建json文件的Employee数据。而且我想用PHP显示网页上的数据,我可以从PHP读取json文件,但我无法使用oracle数据库中的c#web服务创建json文件。请帮我提供示例代码,例如来自oracle的Emp_ID,Emp_Name和创建包含Emp_ID的json,Emp_Name由使用c#.net的Web服务生成。谢谢大家。
Dear All,
I am a starter to study about web services and json. So I want to create json file from web service using c# and the data from oracle database. For example, I have a Employee table in oracle database, I want to create json file the data of Employee via web service using c#. And I want to show that data on web page with PHP, I can read json file from PHP but I can't create json file using c# web service from oracle database. Please, help me with sample code like as Emp_ID, Emp_Name from oracle and create json that include Emp_ID, Emp_Name are generated by web service using c# .net. Thanks you all.
推荐答案
尝试自己开始以下链接和代码
http://www.oracle.com/webfolder/technetwork/tutorials/obe/cloud/dbservice/restfulws/restfulws.html [ ^ ]
您将了解如何开始满足要求。如果你碰到某些地方,那么你可以提出与你的代码相关的问题。
Try to start with the following link and code yourself
http://www.oracle.com/webfolder/technetwork/tutorials/obe/cloud/dbservice/restfulws/restfulws.html[^]
you will get some idea how to start with the requirements. if you struck some where then you can ask the question related to your code.
这篇关于来自oracle数据库的Web服务的JSON文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!