CXF Web Service(前台:C#,后台:java)完整例子

上传者: yanming64 | 上传时间: 2009-05-03 00:00:00 | 文件大小: 1.08MB | 文件类型: rar
本程序通过CXF-Spring框架来发布一个Webservice(相当于后台,在这里访问数据库),然后由表示层C#来调用其方法。本例子所实现的是从数据库获得的数据通过webservice,显示在C#前台的DataGrid里面。CXF的jar包请本人自己下载。【注意:本人忘记把下面内容放入文档中】本人采用了JNDI来连接数据库。tomcat里面的配置:在%tomcat%\conf\下面有个context.xml文件。在之间添加 就ok了!!希望共同进步!!

文件下载

资源详情

[{"title":"( 66 个子文件 1.08MB ) CXF Web Service(前台:C#,后台:java)完整例子","children":[{"title":"java-C#","children":[{"title":"CXF-Spring操作.xls <span style='color:#111;'> 504.00KB </span>","children":null,"spread":false},{"title":"cxf-demo","children":[{"title":".springBeans <span style='color:#111;'> 273B </span>","children":null,"spread":false},{"title":"src","children":[{"title":"com","children":[{"title":"client","children":[{"title":"HelloWorldClient.java <span style='color:#111;'> 918B </span>","children":null,"spread":false}],"spread":true},{"title":"service","children":[{"title":"HelloWorld.java <span style='color:#111;'> 324B </span>","children":null,"spread":false},{"title":"HelloWorldImp.java <span style='color:#111;'> 1.77KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"app","children":[{"title":"WebServiceApp.java <span style='color:#111;'> 397B </span>","children":null,"spread":false}],"spread":true},{"title":"log4j.properties <span style='color:#111;'> 700B </span>","children":null,"spread":false}],"spread":true},{"title":".classpath <span style='color:#111;'> 5.26KB </span>","children":null,"spread":false},{"title":".mymetadata <span style='color:#111;'> 298B </span>","children":null,"spread":false},{"title":".settings","children":[{"title":"com.genuitec.eclipse.j2eedt.core.prefs <span style='color:#111;'> 1.02KB </span>","children":null,"spread":false}],"spread":true},{"title":".myeclipse","children":null,"spread":false},{"title":".project <span style='color:#111;'> 1.40KB </span>","children":null,"spread":false},{"title":"WebRoot","children":[{"title":"META-INF","children":[{"title":"MANIFEST.MF <span style='color:#111;'> 39B </span>","children":null,"spread":false}],"spread":true},{"title":"index.jsp <span style='color:#111;'> 834B </span>","children":null,"spread":false},{"title":"WEB-INF","children":[{"title":"classes","children":[{"title":"com","children":[{"title":"client","children":[{"title":"HelloWorldClient.class <span style='color:#111;'> 1.75KB </span>","children":null,"spread":false}],"spread":false},{"title":"service","children":[{"title":"HelloWorld.class <span style='color:#111;'> 583B </span>","children":null,"spread":false},{"title":"HelloWorldImp.class <span style='color:#111;'> 2.98KB </span>","children":null,"spread":false}],"spread":false}],"spread":false},{"title":"app","children":[{"title":"WebServiceApp.class <span style='color:#111;'> 895B </span>","children":null,"spread":false}],"spread":false},{"title":"log4j.properties <span style='color:#111;'> 700B </span>","children":null,"spread":false}],"spread":false},{"title":"spring.tld <span style='color:#111;'> 13.28KB </span>","children":null,"spread":false},{"title":"config","children":[{"title":"spring","children":[{"title":"applicationContext.xml <span style='color:#111;'> 1.14KB </span>","children":null,"spread":false},{"title":"system_catalog.xml <span style='color:#111;'> 516B </span>","children":null,"spread":false}],"spread":false}],"spread":false},{"title":"lib","children":[{"title":"mysql-connector-java-5.0.8-bin.jar <span style='color:#111;'> 528.18KB </span>","children":null,"spread":false}],"spread":false},{"title":"spring-form.tld <span style='color:#111;'> 50.09KB </span>","children":null,"spread":false},{"title":"web.xml <span style='color:#111;'> 1.17KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true},{"title":"c#","children":[{"title":"CxfApp","children":[{"title":"CxfApp.suo <span style='color:#111;'> 17.00KB </span>","children":null,"spread":false},{"title":"CxfApp.sln <span style='color:#111;'> 1.23KB </span>","children":null,"spread":false},{"title":"CxfApp","children":[{"title":"CxfApp.csproj.user <span style='color:#111;'> 718B </span>","children":null,"spread":false},{"title":"Form1.Designer.cs <span style='color:#111;'> 2.83KB </span>","children":null,"spread":false},{"title":"Program.cs <span style='color:#111;'> 465B </span>","children":null,"spread":false},{"title":"app.config <span style='color:#111;'> 850B </span>","children":null,"spread":false},{"title":"obj","children":[{"title":"Debug","children":[{"title":"CxfApp.csproj.GenerateResource.Cache <span style='color:#111;'> 900B </span>","children":null,"spread":false},{"title":"CxfApp.csproj.ResolveComReference.cache <span style='color:#111;'> 568B </span>","children":null,"spread":false},{"title":"TempPE","children":[{"title":"Web References.localhost.Reference.cs.dll <span style='color:#111;'> 10.50KB </span>","children":null,"spread":false}],"spread":false},{"title":"CxfApp.pdb <span style='color:#111;'> 37.50KB </span>","children":null,"spread":false},{"title":"CxfApp.exe <span style='color:#111;'> 28.00KB </span>","children":null,"spread":false},{"title":"CxfApp.Form1.resources <span style='color:#111;'> 180B </span>","children":null,"spread":false},{"title":"Interop.MSXML2.dll <span style='color:#111;'> 208.00KB </span>","children":null,"spread":false},{"title":"CxfApp.Properties.Resources.resources <span style='color:#111;'> 180B </span>","children":null,"spread":false}],"spread":true},{"title":"CxfApp.csproj.FileList.txt <span style='color:#111;'> 656B </span>","children":null,"spread":false},{"title":"x86","children":[{"title":"Debug","children":[{"title":"CxfApp.csproj.GenerateResource.Cache <span style='color:#111;'> 784B </span>","children":null,"spread":false},{"title":"TempPE","children":null,"spread":false},{"title":"CxfApp.pdb <span style='color:#111;'> 19.50KB </span>","children":null,"spread":false},{"title":"CxfApp.exe <span style='color:#111;'> 16.00KB </span>","children":null,"spread":false},{"title":"CxfApp.Properties.Resources.resources <span style='color:#111;'> 180B </span>","children":null,"spread":false}],"spread":false}],"spread":false}],"spread":true},{"title":"bin","children":[{"title":"Debug","children":[{"title":"CxfApp.vshost.exe <span style='color:#111;'> 5.50KB </span>","children":null,"spread":false},{"title":"CxfApp.exe.config <span style='color:#111;'> 850B </span>","children":null,"spread":false},{"title":"CxfApp.pdb <span style='color:#111;'> 37.50KB </span>","children":null,"spread":false},{"title":"CxfApp.exe <span style='color:#111;'> 28.00KB </span>","children":null,"spread":false},{"title":"Interop.MSXML2.dll <span style='color:#111;'> 208.00KB </span>","children":null,"spread":false}],"spread":false},{"title":"x86","children":[{"title":"Debug","children":[{"title":"CxfApp.vshost.exe <span style='color:#111;'> 5.50KB </span>","children":null,"spread":false},{"title":"CxfApp.pdb <span style='color:#111;'> 19.50KB </span>","children":null,"spread":false},{"title":"CxfApp.exe <span style='color:#111;'> 16.00KB </span>","children":null,"spread":false}],"spread":false}],"spread":false}],"spread":true},{"title":"myProxy.cs <span style='color:#111;'> 11.61KB </span>","children":null,"spread":false},{"title":"Form1.cs <span style='color:#111;'> 1.79KB </span>","children":null,"spread":false},{"title":"CxfApp.csproj <span style='color:#111;'> 5.62KB </span>","children":null,"spread":false},{"title":"Web References","children":[{"title":"localhost","children":[{"title":"stringArray.datasource <span style='color:#111;'> 626B </span>","children":null,"spread":false},{"title":"Reference.map <span style='color:#111;'> 606B </span>","children":null,"spread":false},{"title":"HelloWorld0.wsdl <span style='color:#111;'> 1.87KB </span>","children":null,"spread":false},{"title":"Reference.cs <span style='color:#111;'> 13.05KB </span>","children":null,"spread":false},{"title":"HelloWorld.wsdl <span style='color:#111;'> 4.12KB </span>","children":null,"spread":false}],"spread":false}],"spread":false},{"title":"Form1.resx <span style='color:#111;'> 5.68KB </span>","children":null,"spread":false},{"title":"Form1.cs.bak <span style='color:#111;'> 1.81KB </span>","children":null,"spread":false},{"title":"Properties","children":[{"title":"AssemblyInfo.cs <span style='color:#111;'> 1.13KB </span>","children":null,"spread":false},{"title":"Settings.Designer.cs <span style='color:#111;'> 1.63KB </span>","children":null,"spread":false},{"title":"Resources.resx <span style='color:#111;'> 5.48KB </span>","children":null,"spread":false},{"title":"Settings.settings <span style='color:#111;'> 489B </span>","children":null,"spread":false},{"title":"Resources.Designer.cs <span style='color:#111;'> 2.80KB </span>","children":null,"spread":false}],"spread":false}],"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true}]

评论信息

  • Why_n :
    这个没啥用啊 跟描述的不一样
    2017-09-20
  • cs3163077 :
    不是很完整
    2015-11-09
  • qq_27917647 :
    感觉一般……不过还是要感谢分享!!!
    2015-06-03
  • okboc :
    手头有个问题一直解决不了,本想参考一下,没解决问题还是感谢。
    2015-06-03
  • 疯狂阿张 :
    手头正干这个,很有参考价值
    2015-01-22

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明