录入界面的创建

录入界面的创建

ID:44474864

大小:165.18 KB

页数:5页

时间:2019-10-22

录入界面的创建_第1页
录入界面的创建_第2页
录入界面的创建_第3页
录入界面的创建_第4页
录入界面的创建_第5页
资源描述:

《录入界面的创建》由会员上传分享,免费在线阅读,更多相关内容在工程资料-天天文库

1、身份证15-18位转换服务系统一一录入界面一•问题陈述某一个公司提供Webservice给它的顾客,Webservice的主要内容是身份证15到18转换服务;某社会保障信息管理系统的子模块,要应用这项Webserviceo工作人员从Webservice客户端调用WebService,输入参保人员的15位身份证,计算岀18位身份证号;同时,显示该参保人的出生口期和性别-、任务单1创建工程2创建Web模块3确定WebService基于JavaBean向外提供服务4创建WebService服务器配置5导出JavaBean作为WebServic6运行WebService7测试WebSer

2、vice二、任务实施过程1.Tomcat5.0启动,Axis管理控制界面I'I

3、http://localhost:8080>1dCardConvertWeb>1ndex.htmlJBuilderApacheAxisAdminConsoleWelcometotheJBuilderApacheAxisAdminConsolebasedonAxis1.2First,configuretheprojectforwebservicesusingtheAxisWebServicesServerConfigurationwizard(File

4、New

5、WebServices).Buildand

6、runtheprojectwiththeWebServicesServerruntimeconfigurationtoautomaticallydeploythearchivestotheAxisserver.AfteryouVedeployedawebservice,youcanusetheAxisAdminConsoletoexecuteavarietyoftasks.Chooseoneofthefollowlnglinks:*Viewthelistofdeployedwebservices•Validatethelocalinstallation'sconfiguratio

7、n[Ifthisdoesnlwork,seeVQlidatinaAxis.l*AdministerAxis[DisabledbydefaultTorsecurityreasons.SeeEnabllnaAxisadmirHstratlcm.】♦SOAPtvlonitor[Disabledbydefaultforsecurityreasons.SeeE门ablinaSOAPmordtorincifeatures.】*VisittheApacheAxisHomePag©•VisittheApacheWiki1.查看Axis服务器上发布的Webservice;匾[http:/>1oca

8、lhost:8080/ldCardConvertWebXservletXAxisServletAndnow...SomeServices*AdminServicefws⑻oAdminService*VersionogetVerslon*IdCardConvertBeanfwsd}》ogetldCardogetBirthDayogetsex1、代码设计(伪代码)publicStringgetldCard(Strings){idcard=idcard・substring(0,6)+"19〃+idcard.substring(6,15);for(inti二0;i〈17;i++){int

9、N+=Tnteger.parse!nt(idcard.substring(i,i+1))*v_List[16-i];}intR=intN%ll;idcard=idcard+tailchars.substring(intR,intR+1);returnidcard;三、独立实践:要求:创建WebService客户端a)创建一个图形用户界而的Application;b)完成Application的界面设计;c)完成按钮单击事件响应程序;要求学员自己动手编码,在编码的过稈中解答学员提出的问题程序设计:以下是参考程序:•••idcardconvert.export,generated.I

10、dCardConvertBeanSoapBindingStubbinding;trytbinding=(idcardconvert・export.generated.IdCardConvertBeanSoapBindingStub)newidcardconvert.export,generated.IdCardConvertBeanServiceLocator().getTdCardConvertBean();}•••binding.setTimeout(60000);try{j

当前文档最多预览五页,下载文档查看全文

此文档下载收益归作者所有

当前文档最多预览五页,下载文档查看全文
温馨提示:
1. 部分包含数学公式或PPT动画的文件,查看预览时可能会显示错乱或异常,文件下载后无此问题,请放心下载。
2. 本文档由用户上传,版权归属用户,天天文库负责整理代发布。如果您对本文档版权有争议请及时联系客服。
3. 下载前请仔细阅读文档内容,确认文档内容符合您的需求后进行下载,若出现内容与标题不符可向本站投诉处理。
4. 下载文档时可能由于网络波动等原因无法下载或下载错误,付费完成后未能成功下载的用户请联系客服处理。